From owner-freebsd-questions Mon Nov 4 23:50:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA65437B404 for ; Mon, 4 Nov 2002 23:50:15 -0800 (PST) Received: from 156.Red-80-35-166.pooles.rima-tde.net (156.Red-80-35-166.pooles.rima-tde.net [80.35.166.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A87C43E6E for ; Mon, 4 Nov 2002 23:50:15 -0800 (PST) (envelope-from sjmudd@pobox.com) Received: by unicorn.wl0.org (Postfix, from userid 1001) id E7E1D3192; Tue, 5 Nov 2002 08:50:11 +0100 (CET) To: freebsd-questions@freebsd.org Subject: Re: Postfix auth problems on one system, not the other References: <20021104170553.E48178-100000@bunning.skiltech.com> From: Simon J Mudd Date: 05 Nov 2002 08:50:11 +0100 In-Reply-To: <20021104170553.E48178-100000@bunning.skiltech.com> Message-ID: <86lm48jw0c.fsf@unicorn.wl0.org> Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 minter@lunenburg.org ("H. Wade Minter") writes: > This is a tale of two postfix installs. > > Install one was on a clean 4.7 system, and works like a charm. Using > pwcheck_pam, everything's peachy. > > On the other system, also a 4.7 install, currently running sendmail, I'm > attempting to migrate to postfix. Everything seems to be working fine, > except I cannot get SMTP AUTH to work properly. > > I've got pwcheck_pam running, just like on System 1. > /usr/local/lib/sasl/smtpd.conf contains: > pwcheck_method: pwcheck > > just like on System 1. > > However, when I connect to System 2, and do an AUTH PLAIN > (base64-encoded-string), it hangs for 5 seconds or so and spits back > "Authentication failed", whereas on System 1, it immediately returns with > authentication accepted. > > One clue - when I truss pwcheck_pam on System 1, it shows lots of > activity. When I truss it on System 2, there's no activity at all. > > So it looks like System 2 isn't even contacting the pwcheck daemon to try > to auth the password. > > I'm at my wit's end, so hopefully someone will be able to point me toward > something to try to get this working. Any help will be appreciated. > > Package info, System 1: > cyrus-sasl-1.5.27_7 > postfix-1.1.11,1 > > Package info, System 2: > cyrus-sasl-1.5.27_7 > postfix-1.1.11,1 With any postfix question always provide the following: 1. output of postconf -n (non default configurations) 2. output of /var/log/maillog In your case it may also be useful to enable debugging in smtpd by modifying master.cf and adding a -v line, and then restarting postfix with postfix reload. Hope this helps track down the problem. Simon -- Simon J Mudd, Postfix RPM Packager, Amsterdam, The Netherlands. email: sjmudd@pobox.com, Tel: +31-627-592 627 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message