View Single Post
Old 7 Oct 2017, 03:40 AM   #6
FromLine
The "e" in e-mail
 
Join Date: Jan 2002
Posts: 2,619
Quote:
Originally Posted by Terry View Post
The bounce option has gone, this should work but its not a silent bounce.

if header :contains ["From", "X-Mail-from", "Return-Path"] "_____@_____" {
reject "Message rejected because ___________!";
stop;
}
Here's the code I'm using:

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

* Emails are going into the Inbox, not the "cdrom" folder

* Sender at the xxxx.yy.tld email address is receiving nothing

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