[Dovecot] Permission error

Koenraad Lelong
2013-09-16T09:48:28Z

Op 16-09-13 11:28, Koenraad Lelong schreef:
> Hi,
>
> I'm migrating an existing dovecot (1. series) to new hardware. The new
> dovecot is a 2. series.
> I copied the old config and did a
> doveconf -n -c /etc/dovecot/dovecot.conf > dovecot-2.conf
> Then I moved the dovecot-2.conf to dovecot.conf and restarted dovecot.
> When Postfix tries to deliver a message I get this error :
>
> 2013-09-16 11:00:10 auth: Fatal: net_connect_unix(auth-worker) in
> directory /run/dovecot failed: Permission denied (euid=65534(nobody)
> egid=65534(nogroup) missing +r perm: /run/dovecot/auth-worker, dir owned
> by 0:0 mode=0755)
> 2013-09-16 11:00:10 master: Error: service(auth): command startup
> failed, throttling
>
> I tried different things with /run/dovecot/auth-worker, but the error
> remains. I tried to chmod 777 the socket, I chown-ed to dovecot:dovecot,
> vmail:vmail.
>
> What am I missing ? AFAIK the sql-tables are OK.
>

Hi,

I just tried with chown nobody:nogroup auth-worker
Now the error is gone.
The question remains : what does create auth-worker ? The installer ?
then I think ubuntu does it wrong.

Any comments ?

Regards,
Koenraad.