I'm still troubleshooting a faulty email server, and got the following results when I tried doveadm:
kwright@grace:/etc/dovecot/conf.d$ doveadm auth lookup me@mydomain.com Error: auth-master: passdb lookup(me@mydomain.com): Auth PASS lookup failed Error: passdb lookup failed for me@mydomain.com kwright@grace:/etc/dovecot/conf.d$ doveadm auth test me@mydomain.com Password: Error: auth-client: conn unix:/var/run/dovecot/auth-client: connect(/var/run/dovecot/auth-client) failed: Permission denied (euid=1000(kwright) egid=1000(kwright) missing +r perm: /var/run/dovecot/auth-client, dir owned by 0:0 mode=0755) kwright@grace:/etc/dovecot/conf.d$ ls -la /var/run/dovecot/auth-client srw------- 1 dovecot root 0 Jan 4 19:09 /var/run/dovecot/auth-client
I see /var/run/dovecot/auth-client only has read and write permissions for the owner and nothing for anyone else. Is this part of my problem?
Ken
kwright@grace:/etc/dovecot/conf.d$ ls -la /var/run/dovecot/auth-client srw------- 1 dovecot root 0 Jan 4 19:09 /var/run/dovecot/auth-client
I see /var/run/dovecot/auth-client only has read and write permissions for the owner and nothing for anyone else. Is this part of my problem?
That is same for me [root@host /]# ll /var/run/dovecot/auth-client srw------- 1 dovecot root 0 Jan 4 15:31 /var/run/dovecot/auth-client
Error: auth-client: conn unix:/var/run/dovecot/auth-client: connect(/var/run/dovecot/auth-client) failed: Permission denied (euid=1000(kwright) egid=1000(kwright) missing +r perm:
It might be failing you at the prompt because you are running doveadm as kwright. Try running the command as root.
On Tue, 2022-01-04 at 23:16 -0500, dovecot@ptld.com wrote:
Error: auth-client: conn unix:/var/run/dovecot/auth-client: connect(/var/run/dovecot/auth-client) failed: Permission denied (euid=1000(kwright) egid=1000(kwright) missing +r perm:
It might be failing you at the prompt because you are running doveadm as kwright. Try running the command as root.
That helped! Here's the result:
kwright@grace:/etc/dovecot/conf.d$ sudo doveadm auth lookup
me@mydomain.com
passdb: me@mydomain.com
user : me@mydomain.com
kwright@grace:/etc/dovecot/conf.d$ sudo doveadm auth test
me@mydomain.com
Password:
passdb: me@mydomain.com auth failed
extra fields:
user=me@mydomain.com
Are we making progress?
Ken
participants (2)
-
dovecot@ptld.com
-
Ken Wright