View Single Post
Old 7 Oct 2017, 02:40 AM   #6
The "e" in e-mail
Join Date: Jan 2002
Posts: 2,612
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 ___________!";
Here's the code I'm using:

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 05:30 PM.
FromLine is offline   Reply With Quote