Postfix, MySQL, DoveCot, Spamassassin, Sieve: YES!

This is more venting my frustration over installing Postfix on a new (xen)box (old 1U VALinux finally crashed, blablah..).

I have been putting days, if not weeks into trying to figure out how to make Postfix with virtual users work together with Amavis and Spamassassin so it filters out to the Spam maildir of users.

Now, some will say: oh, that’s peanuts. You take Courier’s Maildrop and off you go.. Maybe I’m stupid with this, maybe, but it took me far less headaches and an hour (+ burger + pint in the bar) to get Dovecot ‘deliver’ figured out with Sieve.. and it actually works!

What I have now working on my Ubuntu Feisty server is

  • Postfix with virtual users using MySQL 5.1 (duh)
  • Amavisd going through new email using Spamassassin (still have to figure out how to add the X-Spam header
  • Using Dovecot’s deliver tool instead of this .. #!@$#$.. maildrop thing.. (no offense)
  • Sieve plugin for Dovecot to filter and put the Spam into the virtual users junk maildir.

I think Dovecot is just great! If you need a simple mailserver solution, just go with Dovecot for IMAP/POP3 and local delivery agent for Postfix and others. I’m scrapping Courier stuff for good.

A How-I-did-it will come probably later.. just having some ‘olut’ now.. and lots of other things on my mind to get my domains back up.