[Users] managesieve plug in problem

Jerry jerry at seibercom.net
Mon Feb 4 17:10:41 CET 2019

dovecot 2.3.4
FreeBSD 12.0-RELEASE-p2
Claws Mail version 3.17.3 for Windows

I have been experimenting with the "managesieve" plug in. The plug in
can find and open the existing "default" sieve file just fine.
Unfortunately, it cannot write to it, at least not unless I give
everything "0777" permissions. Everything in the directory is under
"vmail" owner and group.
/usr/local/etc/dovecot/sieve directory
drwxr-xr-x  3 root   wheel     7B 2019-02-02 05:39:03 EST ./
drwxr-xr-x  7 root   wheel    10B 2019-01-20 19:54:38 EST ../
-rw-r--r--  1 root   wheel   205B 2018-09-09 12:13:04 EDT Makefile
-rw-r--r--  1 vmail  vmail    27K 2019-02-02 05:37:47 EST default.sieve
-rw-r--r--  1 vmail  vmail    27K 2019-02-02 05:37:47 EST default.sieve-bak
-rw-r--r--  1 vmail  vmail    25K 2019-02-02 05:38:14 EST default.svbin
drwxr-xr-x  2 vmail  vmail     2B 2019-02-04 10:51:04 EST tmp/

The error message from the dovecot log:

Feb 04 10:51:04
managesieve(gerard at seibercom.net)<33610><+Lj+ahOBtROubeH6>: Erro r:
sieve: file storage: save: Failed to save Sieve script:
rename(/usr/local/etc /dovecot/sieve/default.sieve) failed: Permission
denied (euid=1002(vmail) egid=1 002(vmail) UNIX perms appear ok
(ACL/MAC wrong?), dir owned by 0:0 mode=0755)

Dovecot is in the vmail group:
pw showgroup vmail

I am not sure if this is a claws-mail problem or a dovecot one;
however, I thought I would start here.



More information about the Users mailing list