View Single Post
Old 7 Oct 2017, 02:53 PM   #15
FromLine
The "e" in e-mail
 
Join Date: Jan 2002
Posts: 2,619
I was wondering if my work's server wasn't receiving the bounce, so I've tried this with an @gmail.com address.

The following does not work:

Code:
if header :contains ["From", "X-Mail-from", "Return-Path"] "thing2295@gmail.com" {
  reject "Message rejected because Invalid Email Recipient";
  fileinto "INBOX.cdrom"; stop;
}
It not only doesn't work, but it doesn't even go into the INBOX.cdrom folder, and no bouncat gmail.

However, this still does work:

Code:
if header :contains ["From", "X-Mail-from", "Return-Path"] "thing2295@gmail.com" {
  fileinto "INBOX.cdrom"; stop;
}
and files the incoming message into the INBOX.cdrom folder.

The reject code does not work -- period.

I sent a support message to FM, pointing to this thread, as well.

I am displeased that I am unable to bounce a message from a specific sender. It used to be simple command.
FromLine is offline   Reply With Quote