managesieve user

André Rodier andre at rodier.me
Sat Mar 28 17:14:14 EET 2020


Hello,

I am updating dovecot, from Debian Stretch to Buster, and I have an
issue with the managesieve service:

> Mar 28 15:05:06 mail dovecot[2637]: managesieve-login: Error: auth:
> connect(login) in directory / failed: Permission denied
> (euid=120(<getpwuid() error>) egid=128(<getgrgid() error>) missing +x
> perm: /, we're not in group 127, dir owned by 0:127 mode=0770)
> Mar 28 15:05:06 mail dovecot[2637]: managesieve-login: Error: auth:
> connect(login) in directory / failed: Permission denied
> (euid=120(<unknown>) egid=128(<unknown>) missing +x perm: /, we're
> not in group 127, dir owned by 0:127 mode=0770)

The two folders I found with these permissions are /run/dovecot/login
and /run/dovecot/token-login.
Both folders belongs to root:dovecot

If I change the permissions of the following folders, like this:

chmod 0775 /run/dovecot/login
chmod 0775 /run/dovecot/token-login

Then, dovecot managesieve is working, but this is just a test, I
suppose the service should run with a specific user?

Do you have any idea on what is wrong here?

If I restart dovecot, I have an error message that states the
permissions are wrong, and they are set again to 0770

Thanks,
André Rodier



More information about the dovecot mailing list