On Tue, 2006-08-22 at 08:02 -0600, Phil Meyer wrote: > >> > >> My Postfix is configured to host virtual domains (cymulacrum.cym and > >> virago.cym) and delivers mail via lmtp to Cyrus IMAP. The authentication > >> system I am using is not PAM but sasldb2. I have created the following > >> accounts inside sasldb2: > >> > >> [root@aeonflux log]# sasldblistusers2 > >> admin@xxxxxxxxxxxxxxxxxxxx: userPassword > >> tom@xxxxxxxxxxxxxx: userPassword > >> dick@xxxxxxxxxxxxxx: userPassword > >> harry@xxxxxxxxxx: userPassword > >> jill@xxxxxxxxxx: userPassword > >> admin@xxxxxxxxxx: userPassword > >> admin@xxxxxxxxxxxxxx: userPassword > >> jack@xxxxxxxxxx: userPassword > >> > >> Now, I have already configured Postfix for SMTP AUTH and I am able to > >> successfully authenticate with admin@xxxxxxxxxxxxxxxxxxxx, by using: > >> username: admin > >> password: admin > >> > >> But when I try to authenticate using: > >> username: tom@xxxxxxxxxxxxxx > >> password: tom (yes, the password is correct -- I'm using weak passwords > >> because this is for a tutorial I am conducting) > >> > >> I get an authentication error. I get errors for all the other accounts > >> except the one above. I suspect that I have to define the realm > >> somewhere instead of just using the "@domain", but I really don't know > >> where to begin looking. > >> > Also, you can watch /var/log/secure for other clues. > Thanks Phil ! There's nothing in /var/log/secure about the authentication errors. The errors I do get are in /var/log/maillog: Aug 22 18:46:12 aeonflux postfix/smtpd[1988]: warning: SASL authentication failure: Password verification failed Aug 22 18:46:12 aeonflux postfix/smtpd[1988]: warning: unknown[10.20.0.3]: SASL PLAIN authentication failed Aug 22 18:46:51 aeonflux postfix/smtpd[1988]: warning: SASL authentication failure: Password verification failed Aug 22 18:46:51 aeonflux postfix/smtpd[1988]: warning: unknown[10.20.0.3]: SASL PLAIN authentication failed Aug 22 18:48:17 aeonflux postfix/smtpd[1988]: warning: SASL authentication failure: Password verification failed Aug 22 18:48:17 aeonflux postfix/smtpd[1988]: warning: unknown[10.20.0.3]: SASL PLAIN authentication failed Seems to indicate a problem with the password, but I did do a base64 encoding of username\0username\0password to get the string to authenticate during a telnet session and it did not work -- except for that one account "admin@xxxxxxxxxxxxxxxxxxxx". -- Pascal Chong email: chongym@xxxxxxxxxxxxxx web: http://cymulacrum.net pgp: http://cymulacrum.net/pgp/cymulacrum.asc "La science ne connaît pas de frontière parce que la connaissance appartient à l’humanité. et que c’est la flamme qui illumine le monde." -- Louis Pasteur
Attachment:
signature.asc
Description: This is a digitally signed message part