[Dovecot] Problem with dovecot and PAM
Hi,
I keep having errors when I try to authenticate to my imap acount, and I can't get my email like this.
Here are the logs when i try to authenticate using PLAIN or CRAM-MD5 :
PLAIN
Dec 24 22:06:25 domain dovecot: auth(default2): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Isecured^Ilip=1.2.3.4^Irip=1.2.3.4^Iresp=<hidden> Dec 24 22:06:27 domain dovecot: auth(default2): pam(email@domain.com,1.2.3.4): pam_authenticate() failed: User not known to the underlying authentication module Dec 24 22:06:27 domain dovecot: auth(default2): client out: FAIL^I1^Iuser=email@domain.com Dec 24 22:06:27 domain dovecot: imap-login: Disconnected: user=email@domain.com, method=PLAIN, rip=1.2.3.4, lip=1.2.3.4, TLS
CRAM-MD5
Dec 24 22:13:17 domain dovecot: auth(default): client in: AUTH^I1^ICRAM-MD5^Iservice=IMAP^Isecured^Ilip=1.2.3.4^Irip=1.2.3.4 Dec 24 22:13:17 domain dovecot: auth(default): client out: CONT^I1^IPDAxNDgyOTE1OTk5OTE0NTEuMTI2MTY4OTE5N0BzZC0xMjE5Mj4= Dec 24 22:13:17 domain dovecot: auth(default): client in: CONT<hidden> Dec 24 22:13:17 domain dovecot: auth-worker(default): sql(email@domain.com,1.2.3.4): query: SELECT email as user, password FROM view_users WHERE email='email@domain.com'; Dec 24 22:13:17 domain dovecot: auth-worker(default): password(email@domain.com,1.2.3.4): Requested HMAC-MD5 scheme, but we have only PLAIN-MD5 Dec 24 22:13:18 domain dovecot: auth(default): client out: FAIL^I1^Iuser=email@domain.com Dec 24 22:13:18 domain dovecot: imap-login: Disconnected: user=email@domain.com, method=CRAM-MD5, rip=1.2.3.4, lip=1.2.3.4, TLS
Please Help me :)
On Fri, 2009-12-25 at 12:09 +0100, Joss Red wrote:
I keep having errors when I try to authenticate to my imap acount, and I can't get my email like this. .. pam(email@domain.com,1.2.3.4): pam_authenticate() failed: User not known to the underlying authentication module .. sql(email@domain.com,1.2.3.4): query: SELECT email as user, password FROM view_users WHERE email='email@domain.com';
You're probably doing something wrong. Why do you use PAM for PLAIN and SQL for DIGEST-MD5? Where are your users, really? Show your dovecot -n output.
participants (2)
-
Joss Red
-
Timo Sirainen