We have a checkpassword authentication with mysql pre-fetch for the userdb lookups. When trying to do: doveadm search -u andytest at xecu.net mailbox Trash DELETED I get: doveadm(andytest at xecu.net): Error: user andytest at xecu.net: Auth PASS lookup failed doveadm(andytest at xecu.net): Fatal: /var/run/dovecot/auth-userdb: passdb lookup failed (to see if user is proxied, because doveadm_proxy_port is set) And I see this in the logs: Feb 4 12:02:04 mail-out01 dovecot: auth: Error: userdb-checkpassword(andytest at xecu.net): Child 12591 exited with status 1 I'm not surprised the checkpassword lookup is failing; the password isn't being supplied. Shouldn't it just be doing the prefetch lookup instead, like the lmtp service? Andy --- Andy Dills Xecunet, Inc. www.xecu.net 301-682-9972 ---
Timo Sirainen
2013-Feb-05 01:56 UTC
[Dovecot] Errors with doveadm when using checkpassword
On Mon, 2013-02-04 at 12:08 -0500, Andy Dills wrote:> We have a checkpassword authentication with mysql pre-fetch for the > userdb lookups. > > When trying to do: > > doveadm search -u andytest at xecu.net mailbox Trash DELETED > > I get: > > doveadm(andytest at xecu.net): Error: user andytest at xecu.net: Auth PASS > lookup failed > doveadm(andytest at xecu.net): Fatal: /var/run/dovecot/auth-userdb: passdb > lookup failed (to see if user is proxied, because doveadm_proxy_port is > set)Do you have proxying enabled? If not, remove doveadm_proxy_port and this solves itself.> I'm not surprised the checkpassword lookup is failing; the password > isn't being supplied. Shouldn't it just be doing the prefetch lookup > instead, like the lmtp service?doveadm doesn't care about the password. It cares about the proxy destination host so that it can automatically connect to the correct host to run the command.
Seemingly Similar Threads
- strange sieve situation
- Strange checkpassword issue
- Panic: file mail-index-transaction-export.c: line 203 (log_append_ext_hdr_update): assertion failed: (u32.offset + u32.size <= ext_hdr_size)
- Director pop-login and imap-login processes exiting on signal 11
- LDA randomly failing to write email to disk