[Dovecot] Server side Sieve with virtual users

Adrian Minta adrian.minta at gmail.com
Thu Aug 9 20:25:17 EEST 2012


On 08/09/12 20:10, Luigi Rosa wrote:
> Adrian Minta said the following on 09/08/2012 18:33:
>
>>> Is there a way to implement server-side filters with Dovecot 
>>> configured with
>>> virtual users (userbase in mysql, a single *NIX user account that owns
>>> /var/spool/mail and its content)?
>
>> Yes !
>
> :)
>
> And the webpage/wikipage with documentation about this is....  ?
>
>
> Ciao,
> luigi
>

First step is to have a mail system that works without sieve. This is 
the hard part. Depending on your preferred distro here are two nice 
webpages for this:
http://wiki.mediatemple.net/w/(ve):Install_Postfix_with_Dovecot_on_CentOS
http://workaround.org/ispmail

Second step is to enable sieve, for witch you only need to uncomment the 
specific lines from dovecot.conf. For dovecot 1.2, you will have 
something like:

protocols = pop3 pop3s imap imaps managesieve
protocol lda  {
   ...
   mail_plugins: quota sieve
}
protocol managesieve {
}
plugin {
   ...
     sieve=~/.dovecot.sieve
     sieve_dir=~/sieve
}


-- 
Best regards,
Adrian Minta





More information about the dovecot mailing list