On Wed, 2011-04-06 at 19:37 +0200, fakessh @ wrote:

> doveadm(fakessh): Error: userdb lookup:
> connect(/var/run/dovecot//auth-userdb) failed: Permission denied
> (euid=514(fakessh) egid=100(users) missing +r
> perm: /var/run/dovecot//auth-userdb, euid is not dir owner)
..
> [root@r13151 ~]# chmod og+w  /var/run/dovecot/auth-userdb

For a more permanent solution you can set:

service auth {
  unix_listener auth-userdb {
    mode = 0666
  }
}

> [fakessh@r13151 ~]$ doveadm expunge -A mailbox Trash savedbefore 30d
> doveadm(dkimproxy): Fatal: seteuid(0) failed: Operation not permitted
> [fakessh@r13151 ~]$ 

You have multiple users with different UIDs, right? You need to run
doveadm as root then, so that it can change the UID when needed (and
then you don't also need to change the permissions above).


Reply via email to