Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2005 11:51:22 +0200
From:      "cell" <bettan@nerim.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Problem with SASL2 and postfix on freebsd
Message-ID:  <00d001c599a3$3ca03b20$0301a8c0@danielle>

next in thread | raw e-mail | index | archive | help
Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , =
cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem =
with sasl2.When i do "telnet localhost 25" , i have that :

Trying 127.0.0.1...
Connected to localhost.linux-win.org.
Escape character is '^]'.
220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD)
ehlo example.pl
250-gw-bsd.linux-win.org
250-PIPELINING
250-SIZE 10000000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME


and i don't see "AUTH DIGEST-MD5 PLAIN CRAM-MD5" and "AUTH PLAIN".In my =
main.cf , i have that :

smtpd_recipient_restrictions =3D =
permit_mynetworks,permit_sasl_authenticated, =
reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostnam=
e,reject_unknown_recipient_domain
smtpd_sender_restrictions =3D permit_sasl_authenticated , =
hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, =
reject_invalid_hostname
smtpd_sasl_auth_enable =3D yes
smtpd_sasl_security_options =3D noanonymous
smtpd_sasl_local_domain =3D
broken_sasl_auth_clients =3D no

In /usr/local/lib/sasl2 i have that :

pwcheck_method: saslauthd
auxprop_plugin: sql
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: maildb
sql_passwd: *****
sql_database: maildb
sql_select: select clear from users where id=3D'%u@%r'


and in /etc/pam.d/smtp i have that :

auth            optional        pam_mysql.so host=3D127.0.0.1 =
db=3Dmaildb user=3Dmaildb \
      passwd=3D***** sql table=3Dusers usercolumn=3Did =
passwdcolumn=3Dclear crypt=3Dy
account         required        pam_mysql.so host=3D127.0.0.1 =
db=3Dmaildb user=3Dmaildb \
      passwd=3D***** sql table=3Dusers usercolumn=3Did =
passwdcolumn=3Dclear crypt=3Dy

I don't understand why postfix doesn't use sasl.Anyone knows this =
problem ?







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00d001c599a3$3ca03b20$0301a8c0>