Set up per user sieve rules

Aki Tuomi aki.tuomi at open-xchange.com
Sun Apr 10 17:47:05 UTC 2022


> On 10/04/2022 06:36 Shawn Heisey <elyograg at elyograg.org> wrote:
> 
>  
> On 4/9/2022 9:29 PM, Austin Witmer wrote:
> > I am curious Shawn, what the contents of your 
> > /etc/dovecot/conf.d/90-sieve.conf file is?
> 
> It's almost all comments.  A LOT of detailed comments.  Stripping those out:
> 
> 
> ---
> root at bilbo:~# cat /etc/dovecot/conf.d/90-sieve.conf | egrep -v "^#|^\s+#|^$"
> plugin {
>    sieve = 
> file:/var/vmail/sieve/%d/%u/sieve;active=/var/vmail/sieve/%d/%u/.dovecot.sieve
>    sieve_default = file:/var/vmail/global.sieve
> 
> 
> 
> 
> }
> ---
> 
> I stole this from a website a long time ago about setting up a 
> phpmyadmin/postfix/dovecot system.
> 
> Thanks,
> Shawn

And to simplify this a lot:

sieve = ~/sieve;active=~/.dovecot.sieve

~/ expands to mail_home / home.

Aki


More information about the dovecot mailing list