Sluggers,

I've got an issue trying to get SMTP auth working on a 6.10 ubuntu server.
 I've got it working on 6.06, but I'm banging my head against a wall
trying it in 6.10.

Basically, I get "535 5.7.0 Error: authentication failed: authentication
failure" when I try to authenticate using SMTP AUTH

My initial feeling is that SASL isn't reading the
/etc/postfix/sasl/smtpd.conf.  I've set that file to:
pwcheck_method: saslauthd
mech_list: plain login

However, when I check through telnet, I see:
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5, where as on the working
(6.06 ) server I see only PLAIN and LOGIN.

I've double checked all settings that I can think of, I've copied
smtpd.conf into /usr/lib/sasl2 (strings on /usr/lib/libsasl.so.2).  I've
verified the locations specified in main.cf.

A manual check of sasl (testsaslauthd) works fine with the same user


# /etc/default/saslauthd
# This needs to be uncommented before saslauthd will be run automatically
START=yes

# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"

MECHANISMS="pam"




# main.cf
egrep "sasl|tls" /etc/postfix/main.cf
smtpd_sasl_auth_enable = yes
#smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, check_relay_domains
#smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_path = /etc/postfix/sasl
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/privkey.pem
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
tls_daemon_random_source = dev:/dev/urandom


Cluesticks welcome, I know now why I love sendmail so much :-)
-- 
Tony Green <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to