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@xecu.net mailbox Trash DELETED
I get:
doveadm(andytest@xecu.net): Error: user andytest@xecu.net: Auth PASS lookup failed doveadm(andytest@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.