Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: missing edit-log entry for this revision

Mail is being filtered for users listed in 'all_spam_to'.

The "all_spam_to" setting allows SpamAssassin to pass through all messages that match certain address patterns.

...

We can pick up data from some MTAs, but some of them do not tag this data in a usable way for us to pick up. Here's the current list of headers examined: (copied from the code)

No Format

  Resent-To                # std, rfc822

...


  Resent-Cc                # std, rfc822

...



  To 
  Apparently-To            # sendmail, from envelope

...


  Delivered-To             # Postfix, I think

...


  Envelope-Recipients      # qmail: new-inject(1)

...


  Apparently-Resent-To     # procmailrc manpage

...


  X-Envelope-To            # procmailrc

...

 manpage
  X-Delivered-To           # fastmail.fm, Cyrus (thx Matthew Elvey)
  Cc

If anyone can suggest others added by other MTAs, it'd be much appreciated.

(update: Matthew Elvey notes that Cyrus (or fastmail.fm at least) also uses X-Delivered-To for this. thanks to Matt Kettler for large portions of this answer)