From owner-freebsd-questions@FreeBSD.ORG Mon Jan 3 22:49:27 2005 Return-Path: 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 EA02516A4D1 for ; Mon, 3 Jan 2005 22:49:27 +0000 (GMT) Received: from out009.verizon.net (out009pub.verizon.net [206.46.170.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3D0343D2D for ; Mon, 3 Jan 2005 22:49:26 +0000 (GMT) (envelope-from FreeBSD@keyslapper.org) Received: from keyslapper.org ([68.163.177.192]) by out009.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050103224925.BIMS24088.out009.verizon.net@keyslapper.org> for ; Mon, 3 Jan 2005 16:49:25 -0600 Received: by keyslapper.org (Postfix, from userid 1001) id 2D46511C21; Mon, 3 Jan 2005 17:49:25 -0500 (EST) Date: Mon, 3 Jan 2005 17:49:25 -0500 From: Louis LeBlanc To: freebsd-questions@freebsd.org Message-ID: <20050103224925.GD76250@keyslapper.org> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.6i X-Authentication-Info: Submitted using SMTP AUTH at out009.verizon.net from [68.163.177.192] at Mon, 3 Jan 2005 16:49:25 -0600 Subject: Re: Postfix + SASL issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 22:49:28 -0000 On 01/03/05 04:13 PM, artware sat at the `puter and typed: > Hello, > > I seem to be having some issue with saslauthd and postfix on 5.3-R... > When I try to send mail out, it fails, and puts this in > /var/log/maillog: > > Jan 4 05:56:17 n00330 postfix/smtpd[8103]: warning: SASL > authentication failure: cannot connect to saslauthd server: No such > file or directory > Jan 4 05:56:17 n00330 postfix/smtpd[8103]: warning: SASL > authentication failure: Password verification failed > > It's weird, because it was working before, and then I tweaked > something, and it broke. I've recompiled postfix and > cyrus-sasl2-saslauthd, to no avail. Make a make deinstall broke > something along the way? What did you tweak? I do this ALL THE TIME, and it almost always comes back to my tweak. Ok, not almost; always. > I don't even know what to suspect. I think it might be a permissions > issue, since saslauthd is running -- but I can't be sure. Does this > sound familiar to anyone? I'd probably start with the tweak you made. I could be wrong, but the errors you provided may also indicate that your saslauthd daemon wasn't even running, possibly because of an upgrade or config change that made it fail to (re)start. Silly mistake, I know, but I've done it more than once. Finally, check the following configs in main.cf: smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_tls_security_options = $var_smtp_sasl_opts smtp_sasl_tls_verified_security_options = $var_smtp_sasl_tls_opts smtpd_sasl_application_name = smtpd smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd BTW, the values there are what I have configured; these values may or may not be valid for your setup. HTH Lou -- Louis LeBlanc FreeBSD@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ QOTD: "I've just learned about his illness. Let's hope it's nothing trivial."