View Single Post
Old 7 Oct 2017, 09:05 AM   #11
The "e" in e-mail
Join Date: May 2003
Location: mostly in Thailand
Posts: 2,653
Try changing the order to
if header :contains ["From", "X-Mail-from", "Return-Path"] "" {
  fileinto "INBOX.cdrom";
  reject "Message rejected because Invalid Email Recipient";
Maybe, sieve processing terminates after the reject. This is especially true as the standard recommends that the reject occur at the SMTP stage (while sieve normally occurs later). FastMail may well have logic that attempts to conform with that standard.
BritTim is offline   Reply With Quote