View Single Post
Old 7 Oct 2017, 02:58 AM   #8
FromLine
The "e" in e-mail
 
Join Date: Jan 2002
Posts: 2,612
Quote:
Originally Posted by BritTim View Post
Is the "xxx.da.gov" in quotes in the actual sieve code. If not, it needs to be. I would expect a syntax error if the quotes are missing, but perhaps not.
Tried everything -- Still going directly to the inbox -- Not getting a syntax error at all.

Current code:

Code:
if header :contains ["From", "X-Mail-from", "Return-Path"] "xxxx.yy.tld" {
  reject "Message rejected because Invalid Email Recipient";
  fileinto "INBOX.cdrom"; stop;
}
Not working at all.

How do I set it so that the sender receives a bounce?

The emails aren't even going into the designated folder.

Last edited by FromLine : 8 Oct 2017 at 05:30 PM.
FromLine is offline   Reply With Quote