On 21.06.2013 21:54, wrote Ben Johnson:


write(2, "\1\00429770 user sa-training@exampl"..., 139^A^D29770 user
sa-train...@example.com: Error reading configuration:
net_connect_unix(/var/run/dovecot/config) failed: Permission denied

It seems the issue here is that "root" is the only user who is allowed
to read Dovecot's configuration file. Presumably, Dovecot, like most
services, is started as "root" and then drops its permissions to
least-required once started.


You can change owner and mode for /var/run/dovecot/config with the following entry in 10-master.conf:

service config {
  unix_listener config {
    mode = 0600
    user = vmail
  }
}

More details can be found here: http://wiki2.dovecot.org/Services

/e-frog

Reply via email to