View Single Post
Old 7 Oct 2017, 06:09 PM   #17
BritTim
The "e" in e-mail
 
Join Date: May 2003
Location: mostly in Thailand
Posts: 3,084
Quote:
Originally Posted by FromLine View Post
This is by no means a solution. This will occur with every email address that I receive email at (and I have many) and will not be the same as a bounce.

I want one specific sender, or a specific domain, to get a bounce message, believing it's an INVALID Email address.

Is it not possible to do a bounce?
I think you are misunderstanding what I suggest. I am not recommending you give a vacation response to every sender. I am suggesting you use vacation response only under exactly the same conditions you are trying to use a reject:
Code:
if header :contains ["From", "X-Mail-from", "Return-Path"] "xxxx.da.gov" {
  vacation "Message rejected because Invalid Email Recipient";
  fileinto "INBOX.cdrom"; stop;
}
As I mentioned before, if you want the sender to receive the vacation response more frequently than once every three days (the FastMail default) refer to the documentation for the vacation extension.
BritTim is offline   Reply With Quote