[Dovecot] master user auth problem
Hi,
I tried to setup a master auth authentication. I also use auth_pop3wrapper to authenticate from qmail-ldap. But I could not login with master user.
Here is the config. auth_master_user_separator = * passdb { driver = passwd-file args = /usr/local/etc/dovecot/passwd.masterusers master = yes pass = yes }
passdb { # Path for checkpassword binary driver = checkpassword args = /var/qmail/bin/auth_popwrapper } userdb { driver = prefetch }
cat /opt/surmail/etc/dovecot/passwd.masterusers user:{SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
The log:
#telnet localhost 143
Trying 0.0.0.0... Connected to 0. Escape character is '^]'.
- OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN] SurGATE Messaging Suite POP3/IMAP ready. o login user@domain.com*user password o NO [AUTHORIZATIONFAILED] Authorization failed
Aug 09 16:17:44 auth: Debug:
auth(user,127.0.0.1,master,
participants (1)
-
Ibrahim Harrani