I have worked almost all the day to update my mail server configuration to use Dovecot LDA and the Sieve mail filtering language instead of maildrop.

This was very easy thanks to Christoph’s ISP-style Email Server with Debian-Etch and Postfix 2.3 how-to.

I have adapted it to suit my needs, as I want the quotas to be set in the database on a per-user basis. Everything seems to run smoothly with dspam

Sieve is really powerful and simple. I just miss the “variables” features which would allow me to setup a unique rule for eg. all the Debian mailing-lists I am subscribed to. Anyway, my .dovecot.sieve file counts only 36 lines (including comments) compared to 150+ for my old .maildroprc file.

I also really appreciate the “imapflags” feature which allows me to mark the spam messages as read before dropping them to my junk folder:

if header :contains "X-DSPAM-Result" "Spam" {
  setflag "\\Seen";
  fileinto "Junk";
  stop;
}

I have also backported dovecot packages from sid to etch and applied the quota warning patch available from http://www.dovecot.org/patches/1.0/quota-warning.patch.

The packages for i386 will be available on my unofficial repository as soon as I will be able to understand why the ndiswrapper module silently crashes when I upload more than a few kB…

More information on how to set up quota warning are available from http://www.arschkrebs.de/postfix/dovecot_quota_warning.shtml.

The next step is to configure my virtual private server smtp to act as a relay for my whole network (to avoid my ISP smtp server), which means authentication etc.