Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: reporting spam by forwarding to a spam alias (postfix)

...

It works on the server side, taking input from the maildirs that provide the back-end for the IMAP server. It reads mail in designated maildir folders (spam on the one hand, ham on the other) and feeds them to spamassassin for bayesian learning and submission to various spam detection schemes while reducing training-related admin workload to nearly zero. Fits any setup storing mail as maildir, but could trivially be modified to work with mbox based systems. It depends on archivemail and formail, both packages being available from Debian.

Setup of special aliases in Postfix to forward spams and hams

I very convenient way of reporting spam is to forward spam into a special alias. The following page shows how to configure such alias and perl script for mail attachment extraction : http://gtmp.org/pub/sa-postfix.en.html

Contributors