From owner-freebsd-questions Mon Feb 11 11: 7:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from linuxmail.touchtunes.com (operator.touchtunes.com [216.94.139.201]) by hub.freebsd.org (Postfix) with ESMTP id 99FBB37B400 for ; Mon, 11 Feb 2002 11:06:59 -0800 (PST) Received: from sunder.touchtunes.com (sunder.touchtunes.com [192.168.0.26]) by linuxmail.touchtunes.com (8.9.3/8.8.7) with ESMTP id OAA13808; Mon, 11 Feb 2002 14:06:51 -0500 Received: (from dinjo@localhost) by sunder.touchtunes.com (8.11.6/8.11.6) id g1BJ6o901718; Mon, 11 Feb 2002 14:06:50 -0500 (EST) (envelope-from dinjo) Date: Mon, 11 Feb 2002 14:06:50 -0500 From: Joel Dinel To: "[ 0ver ]" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problems with POSTFIX and SASL Message-ID: <20020211140650.A1670@sunder.touchtunes.com> Mail-Followup-To: Joel Dinel , "[ 0ver ]" , freebsd-questions@FreeBSD.ORG References: <019401c1b326$05c91d40$ba00a8c0@0ver> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <019401c1b326$05c91d40$ba00a8c0@0ver>; from joanpau.desola@es.tiscali.com on Mon, Feb 11, 2002 at 07:00:42PM +0100 X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD 4.5-STABLE i386 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 Edit /etc/group, and add the 'postfix' user to the 'cyrus' group like so : cyrus:*:60:daemon,postfix I had the *exact* same problem 2 weeks ago. This solved it. If you look at the default permissions for /var/pwcheck : drwxrwx--- 2 cyrus cyrus 512 Feb 9 07:59 pwcheck/ Postfix can't access this folder, thus cannot authenticate with SASL. I considered emailing the Curys-SASL port maintainer about this, but I'm just too lazy :) Hope this solves your problem. On Mon, Feb 11, 2002 at 07:00:42PM +0100, [ 0ver ] wrote: > From: "[ 0ver ]" > To: > Subject: problems with POSTFIX and SASL > Date: Mon, 11 Feb 2002 19:00:42 +0100 > X-Mailer: Microsoft Outlook Express 5.00.2919.6700 > > > 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 = yes > > smtpd_sasl_auth_enable = 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 : > > 250-PIPELINING > 250-SIZE 10240000 > 250-ETRN > 250-AUTH LOGIN PLAIN KERBEROS_V4 DIGEST-MD5 CRAM-MD5 > 250-AUTH=LOGIN 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=1 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 ---end quoted text--- -- Joel Dinel System Administrator TouchTunes Digital Jukebox, Inc. GnuPG key : http://darkhost.mine.nu:81/~joel/misc/mykey.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message