Networking Forums

Networking Forums > Computer Networking > Linux Networking > Postfix + SASL [repost]

Reply
Thread Tools Display Modes

Postfix + SASL [repost]

 
 
Piotr Strycharz
Guest
Posts: n/a

 
      05-24-2005, 03:02 PM
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
 
 
 
 
Dan
Guest
Posts: n/a

 
      05-24-2005, 03:46 PM
On Tue, 24 May 2005 17:02:38 +0200, "Piotr Strycharz"
<(E-Mail Removed)> wrote:

I'm not sure on this one, but I think smtp auth has to be selected
when postfix is compiled. If you've installed it from binaries, then
you may not have it, even though you've think you've configured it.


Dan


>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
 
Michael Heiming
Guest
Posts: n/a

 
      05-24-2005, 04:46 PM
In comp.os.linux.networking Dan <(E-Mail Removed)>:
> On Tue, 24 May 2005 17:02:38 +0200, "Piotr Strycharz"
> <(E-Mail Removed)> wrote:


>>I have very big trouble setting up SMTP AUTH with postfix. Here goes
>>summary:

[..]

> I'm not sure on this one, but I think smtp auth has to be selected
> when postfix is compiled. If you've installed it from binaries, then
> you may not have it, even though you've think you've configured it.


In addition, the OP might like to check the postfix FAQ and if
this doesn't help try the postfix mailing list, more likely to
get specific help, then here.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 372: Forced to support NT servers; sysadmins quit.
 
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
not enough storage repost Ted Moes Windows Networking 4 01-10-2006 12:30 PM
Postfix + Sasl. Anyone succesful? Piotr Strycharz Linux Networking 0 05-20-2005 07:38 AM
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