1

I'm using Postfix and Spamassassin, and Postfix is rejecting incoming mail that fall into spam rules. Mail are then forwarded to different relays based on many factors.

Is there a way to archive rejected mails somewhere for spam analysis/training, or (would be better) to make Postfix still deliver them in background with a specific header added?

1 Answers1

2

You cannot do this with Postfix. You'll need to run a different process between the content checker (in this case SpamAssassin) and the MTA. For example amavisd.

Wesley
  • 32,690
  • 9
  • 82
  • 117