Set up per user sieve rules
Austin Witmer
austin96 at emypeople.net
Sun Apr 10 03:29:55 UTC 2022
This is the contents of /etc/dovecot/conf.d/90-sieve.conf
plugin {
sieve = ~/.dovecot.sieve
sieve_global_path = /var/lib/dovecot/sieve/default.sieve
sieve_dir = ~/sieve
sieve_global_dir = /var/lib/dovecot/sieve/
}
Does that give any further insights? The contents of that file make me think that would work if I was using unix users in my mail server instead of virtual users. Is there something that I need change to make this work with virtual users?
I am curious Shawn, what the contents of your /etc/dovecot/conf.d/90-sieve.conf file is?
Thanks,
Austin Witmer
> On Apr 9, 2022, at 8:16 PM, Shawn Heisey <elyograg at elyograg.org> wrote:
>
> On 4/9/2022 6:00 PM, Austin Witmer wrote:
>> I am struggling to wrap my mind around how to set up sieve rules for my individual users on my mail server.
>>
>> I set up a global sieve script file at "/var/lib/dovecot/sieve/default.sieve” and that works great.
>>
>> My users maildirs are located at /mnt/volume1/mailserver/maildir/user. Do I need to create a sieve script file inside of that folder for sieve scripts to work on an individual basis? If so, what permissions will that script file need?
>>
>> Thanks in advance for your help!
>
> I've got the user database for dovecot in a MySQL database managed by phpmyadmin.
>
> This is what can be found as far as files and permissions for my email user's sieve setup:
>
> https://paste.elyograg.org/view/8442b4d0
>
> I use the managesieve plugin for roundcube to handle changes to my sieve script. At least I think that's what the plugin is called. I set it up a LONG time ago. Most of the time I access mail with Thunderbird. This is my doveconf -n output:
>
> https://paste.elyograg.org/view/08536e83
>
> If somebody sees something I should change in my config, please tell me. I am not an expert.
>
> Thanks,
> Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20220409/4651f082/attachment.htm>
More information about the dovecot
mailing list