Am Samstag, 19. Juli 2025, 05:01:00 CEST schrieb Helmut K. C. Tessarek via dovecot:
I've been reading the docs and the migration docs for hours, but the sieve config is a mess.
In 2.3.x I am using:
plugin { sieve = ~/.sieve sieve_dir = ~/.sieve_storage }
and this is how it looks in my home dir:
$ ls -la .sie*
lrwxrwxrwx 32 a b c d .sieve -> .sieve_storage/MailFilters.sieve .rw------- 0 a b c d .sieve.log .rw------- 17,414 a b c d 2025-07-08 03:00 .sieve.svbin
So How do I do the same in 2.4.x?
I am not an expert here, as i only recently switched from cyrus to dovecot-2.4, but i have following structure
$ ls -ln .dovecot.s* lrwxrwxrwx 1 1000 100 17 Mai 19 17:25 .dovecot.sieve -> .sieve/USER.sieve -rw------- 1 1000 100 5116 Mai 21 10:56 .dovecot.sieve.log -rw------- 1 1000 100 1779 Jul 1 13:46 .dovecot.svbin $ ls -ln .sieve/ total 8 -rw------- 1 1000 100 1738 Jul 1 13:07 mysieve.sieve drwx------ 2 1000 100 6 Jul 11 14:30 tmp -rw------- 1 1000 100 266 Mai 19 17:25 USER.sieve
I never created "USER.sieve" or the link ".dovecot.sieve", this was done automatically when i activated my sieve script "mysieve.sieve" via an sieve editor.
and following config
sieve_script personal { path = ~/.sieve active_path = ~/.dovecot.sieve }
So i think it does translate to
old -> new
sieve -> active_path sieve_dir -> path
hope this is of any help.
regards, Paul