Benny Pedersen me@junc.eu schrieb am 14.09.17 um 19:36:34 Uhr:
Andreas Meyer skrev den 2017-09-14 18:43:
plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/.sieve }
plugin { sieve = /home/vmail/%d/%u/.dovecot.sieve sieve_dir = /home/vmail/%d/%u/.sieve }
have you set HOME correct ?
note i do not use home here in my config, but direct path
maildir is in /home/vmail/%d/%u/.maildir
I now tried with
plugin { #sieve = ~/.dovecot.sieve sieve = /home/%u/.dovecot.sieve sieve_dir = /home/%u/.sieve }
but no success.
In the debug.log I see entries since this afternoon while I'm trying to get the thing work like this:
Sep 14 21:07:05 managesieve-login: Info: Login: user=<andreas>, method=PLAIN, rip=62.227.79.208, lip=195.62.121.239, mpid=29836, session=<gyRu+ypZZAA+40/Q> Sep 14 21:07:44 managesieve(andreas): Warning: sieve-storage: Active sieve script symlink /home/andreas/.dovecot.sieve is broken: invalid/unknown path to storage (points to /home/andreas/. sieve/managesieve.sieve).
# ls -al /home/andreas insgesamt 887 drwx------. 5 andreas andreas 4096 14. Sep 18:51 . drwxr-xr-x. 5 root root 44 14. Sep 15:48 .. -rw-------. 1 andreas andreas 87 12. Sep 22:25 .bash_history -rw-r--r--. 1 andreas andreas 18 7. Dez 2016 .bash_logout -rw-r--r--. 1 andreas andreas 193 7. Dez 2016 .bash_profile -rw-r--r--. 1 andreas andreas 231 7. Dez 2016 .bashrc lrwxrwxrwx 1 root root 38 14. Sep 18:51 .dovecot.sieve -> /home/andreas/.sieve/managesieve.sieve drwx------ 9 andreas andreas 4096 14. Sep 20:58 Maildir drwx------ 3 andreas andreas 40 14. Sep 18:51 .sieve drwx------ 2 andreas andreas 6 12. Sep 22:24 .ssh
# ls -al /home/andreas/.sieve insgesamt 8 drwx------ 3 andreas andreas 40 14. Sep 18:51 . drwx------. 5 andreas andreas 4096 14. Sep 18:51 .. -rw------- 1 andreas andreas 483 14. Sep 13:27 managesieve.sieve drwx------ 2 andreas andreas 6 14. Sep 18:38 tmp
Why does dovecot say the symlink is broken?
# doveconf -n |grep -i home sieve = /home/%u/.dovecot.sieve sieve_dir = /home/%u/.sieve
# doveconf mail_home mail_home =
# doveconf -n mail_home has no output
Andreas