Postfix SMTP AUTH Problem

Chong Yu Meng chongym at cymulacrum.net
Tue Aug 22 16:17:57 UTC 2006


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 at aeonflux log]# sasldblistusers2
> >> admin at aeonflux.localdomain: userPassword
> >> tom at cymulacrum.cym: userPassword
> >> dick at cymulacrum.cym: userPassword
> >> harry at virago.cym: userPassword
> >> jill at virago.cym: userPassword
> >> admin at virago.cym: userPassword
> >> admin at cymulacrum.cym: userPassword
> >> jack at virago.cym: userPassword
> >>
> >> Now, I have already configured Postfix for SMTP AUTH and I am able to
> >> successfully authenticate with admin at aeonflux.localdomain, by using:
> >> username: admin
> >> password: admin
> >>
> >> But when I try to authenticate using:
> >> username: tom at cymulacrum.cym
> >> 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 at aeonflux.localdomain".


-- 
Pascal Chong 
email:  chongym at cymulacrum.net 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060823/1032ac4b/attachment-0001.sig>


More information about the fedora-list mailing list