13 Oct, 2007
Switched to Dovecot LDA and Sieve
Posted by: Julien @ 6:25 pm
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.
You will find here some information about me and my different projects. I am involved in several open source projects, and try to promote Free software. This site is thus mainly dedicated to Free Software use on GNU/Linux systems. Please do not hesitate to