Postfix SMTP Auth

Jason Wellman nimh at netmagi.net
Wed Jan 14 01:19:43 UTC 2004


Hey all,

I have searched the mail archives and Google trying to solve my Postfix 
SMTP AUTH issue.

I have read the document:

/usr/share/doc/postfix-2.0.11/README-Postfix-SASL-RedHat.txt

And performed all the tasks it outlines but I am getting the errors 
(hostnames edited of course):

Jan 13 17:36:37 XXX postfix/smtpd[13820]: connect from XXX.net[1.1.1.1]
Jan 13 17:36:37 XXX postfix/smtpd[13820]: warning: SASL authentication 
problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Jan 13 17:36:37 XXX postfix/smtpd[13820]: warning: SASL authentication 
problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
Jan 13 17:36:37 XXX postfix/smtpd[13820]: warning: SASL authentication 
failure: no secret in database
Jan 13 17:36:37 XXX postfix/smtpd[13820]: warning: XXX.net[1.1.1.1]: 
SASL CRAM-MD5 authentication failed
Jan 13 17:37:31 XXX postfix/smtpd[13820]: lost connection after AUTH 
from XXX.net[1.1.1.1]
Jan 13 17:37:31 XXX postfix/smtpd[13820]: disconnect from XXX.net[1.1.1.1]

Here are my configs:

/etc/sysconfig/saslauthd

# To read about how postfix uses saslauthd read this:
# /usr/share/doc/postfix-*/README-Postfix-SASL-RedHat.txt
#
# To see a list of authentication mechanisms supported by saslauthd 
execute this command
# /usr/sbin/saslauthd -v
#
# Default to pam
MECH=pam

/etc/postfix/main.conf (partial file)

# AUTH SMTP

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes

smtpd_recipient_restrictions = permit_sasl_authenticated,
                                permit_mynetworks,
                                check_relay_domains

Any ideas?  I am at my wits end here.  It looks like for some reason it 
is still acting as if the MECH isn't set to pam???





More information about the fedora-list mailing list