From owner-freebsd-questions Mon Feb 11 9:58: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from torrente.es.tiscali.com (torrente.es.tiscali.com [212.166.64.114]) by hub.freebsd.org (Postfix) with ESMTP id 8770737B421 for ; Mon, 11 Feb 2002 09:57:42 -0800 (PST) Received: from 0ver (212.166.64.44) by torrente.es.tiscali.com (5.5.021) id 3BB9CE1A0010B33C for freebsd-questions@freebsd.org; Mon, 11 Feb 2002 18:57:42 +0100 Message-ID: <019401c1b326$05c91d40$ba00a8c0@0ver> From: "[ 0ver ]" To: Subject: problems with POSTFIX and SASL Date: Mon, 11 Feb 2002 19:00:42 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0191_01C1B32E.67815040" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0191_01C1B32E.67815040 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I need heeeelp! I'm having problems configuring an authenticated smtp using = postfix+sasl. I'm trying it on a FreeBSD 4.5 box and that's what I've done till now: - I've installed cyrus-sasl port using DB3 option. - I've installed postfix with SASL and DB3 options. Then I've executed = make replace on /usr/ports/mail/postfix to replace sendmail. - I've created the file /usr/local/lib/sasl/smtpd with the following = line --> pwcheck: sasldb - I've added this in /usr/local/etc/postfix/main.cf : broken_sasl_auth_clients =3D yes smtpd_sasl_auth_enable =3D yes I've created a test user using "saslpasswd -c -a smtpd test" and that's = what I get when I list users using sasldblistusers: user: test realm: test.int mech: PLAIN user: test realm: test.int mech: CRAM-MD5 user: test realm: test.int mech: PLAIN-APOP user: test realm: test.int mech: DIGEST-MD5 The smtp response to an ehlo is :=20 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-AUTH LOGIN PLAIN KERBEROS_V4 DIGEST-MD5 CRAM-MD5 250-AUTH=3DLOGIN PLAIN KERBEROS_V4 DIGEST-MD5 CRAM-MD5 250 8BITMIME The result is that smtp isn't authenticating and generates de following = errors in /var/log/maillog: warning: unknown [192.168.0.222]: SASL LOGIN authentication failed. Using debug_peer_level=3D1 in main.cf, I've checked that the login and = pass passed in PLAIN format arrives ok but generates an SASL auth error. I've done the same things on a FreeBSD 4.4 and all works ok, why not in = a 4.5? I expect someone could help me. Thanks! 0ver ------=_NextPart_000_0191_01C1B32E.67815040 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi, I need heeeelp!
 
I'm having problems configuring an = authenticated=20 smtp using postfix+sasl.
I'm trying it on a FreeBSD 4.5 box = and that's=20 what I've done till now:
 
- I've installed cyrus-sasl port=20 using DB3 option.
- I've installed postfix with = SASL and=20 DB3 options. Then I've executed = make=20 replace on /usr/ports/mail/postfix to replace = sendmail.
- I've created the file=20 /usr/local/lib/sasl/smtpd with the following line --> pwcheck:=20 sasldb
- I've added this in=20 /usr/local/etc/postfix/main.cf :
       =20 broken_sasl_auth_clients =3D yes
       =20 smtpd_sasl_auth_enable =3D yes
 
I've created a test user using =  "saslpasswd -c=20 -a smtpd test" and that's what I get when I list users using=20 sasldblistusers:
 
user: test realm: test.int = mech:=20 PLAIN
user: test realm: test.int mech: = CRAM-MD5
user: test=20 realm: test.int mech: PLAIN-APOP
user: test realm: test.int = mech:=20 DIGEST-MD5
 
The smtp response to an ehlo = <hostname>=20 is : 
250-PIPELINING
250-SIZE=20 10240000
250-ETRN
250-AUTH LOGIN PLAIN KERBEROS_V4 DIGEST-MD5=20 CRAM-MD5
250-AUTH=3DLOGIN PLAIN KERBEROS_V4 DIGEST-MD5 = CRAM-MD5
250=20 8BITMIME
 
 
The result is that smtp isn't = authenticating and generates de following errors in=20 /var/log/maillog:
warning: unknown [192.168.0.222]: SASL = LOGIN=20 authentication failed.
 
Using debug_peer_level=3D1 in = main.cf,=20  I've checked that the login and pass passed in PLAIN format = arrives ok but=20 generates an SASL auth error.
 
I've done the same things on a FreeBSD = 4.4 and all=20 works ok, why not in a 4.5?
 
I expect someone could help = me.
 
Thanks!
 
0ver
 
 
 
 
------=_NextPart_000_0191_01C1B32E.67815040-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message