Networking Forums

Networking Forums > Computer Networking > Linux Networking > Postfix + Sasl. Anyone succesful?

Reply
Thread Tools Display Modes

Postfix + Sasl. Anyone succesful?

 
 
Piotr Strycharz
Guest
Posts: n/a

 
      05-20-2005, 07:38 AM
Hi

I have very big trouble setting up SMTP AUTH with postfix. Here goes
summary:
- system is Mandrake 10.1
- postfix-2.1.4, cyrus-sasl-2.1.19, libsasl2, libsasl2-plug-login-2.1.19,
libsasl2-plug-plain-2.1.19
- ldd smtpd - OK (linked to libsasl2.so.2)
- options in main.cf: smtpd_sasl_auth_enable = yes;
smtpd_sasl_security_options = noanonymous; smtpd_sasl_application_name =
smtpd; smtpd_sasl_local_domain = $myhostname; smtpd_sasl_path =
/etc/postfix/sasl; smtpd_recipient_rectrictions = permit_sasl_authenticated,
permit_mynetworks, check_relay_domains
- lines in /etc/postfix/sasl/smtpd.conf: pwcheck_method: saslauthd;
mech_list: plain login
- saslauthd demon is running
- SASL_AUTHMECH=pam in /etc/sysconfig/saslauthd file
- smtpd in /etc/pam.d
- testsaslauthd -u ... -p ... -r smtpd ends with OK "Succcess"
- when starts, saslauthd creates hardlink /var/lib/sasl2/mux to
/var/spool/postfix/var/lib/sasl2/

So, it is supposed to work. But it does not. Telnet to port 25 almost
immediately closes connection (no 220 invitation from postfix). Connection
makes also error in mail logs: "fatal: no SASL authentication mechanism".
Commenting out just the smtpd_sasl_auth_enable line makes the postfix run
..... (without AUTH of course)

I'm stuck. Any help?

Regards.

Piotr.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rejecting SASL LDAP Lee Jefferies Windows Networking 1 09-25-2008 03:42 AM
MTA - postfix Rage Linux Networking 2 10-20-2005 12:25 AM
Postfix + SASL [repost] Piotr Strycharz Linux Networking 2 05-24-2005 04:46 PM
Okay, I've got Postfix, SASL, Mysql and Courier-imap all installed Mark Adams Linux Networking 0 03-04-2004 12:57 AM
Problems with Heimdal, OpenLDAP, Cyrus SASL, GSSAPI, and Active Directory Mike Hilty Linux Networking 0 03-03-2004 11:15 AM



1 2 3 4 5 6 7 8 9 10 11