From owner-freebsd-questions@FreeBSD.ORG Tue Aug 8 16:28:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 65B1716A4DF for ; Tue, 8 Aug 2006 16:28:11 +0000 (UTC) (envelope-from ggroth@gregs-garage.com) Received: from mail.gregs-garage.com (h-64-105-8-34.chcgilgm.covad.net [64.105.8.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5FEF43D64 for ; Tue, 8 Aug 2006 16:27:57 +0000 (GMT) (envelope-from ggroth@gregs-garage.com) Received: from [10.10.10.124] (localhost.gregs-garage.com [127.0.0.1]) by mail.gregs-garage.com (Postfix) with ESMTP id 943F6114035 for ; Tue, 8 Aug 2006 11:28:03 -0500 (CDT) Message-ID: <44D8BC5B.2020405@gregs-garage.com> Date: Tue, 08 Aug 2006 11:31:23 -0500 From: Greg Groth User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060808101410.6387.GERARD@seibercom.net> <44D8A5F8.40509@gregs-garage.com> <20060808121302.F5B2.GERARD@seibercom.net> In-Reply-To: <20060808121302.F5B2.GERARD@seibercom.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Postfix & SASL Authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 16:28:11 -0000 > This is the contents of the smtpd.conf file: > > ## Global Values > pwcheck_method: auxprop > auxprop_plugin: sasldb > log_level: 7 > mech_list: PLAIN LOGIN From postfix.org: "This will use the Cyrus SASL password file (default: /etc/sasldb in version 1.5.5, or /etc/sasldb2 in version 2.1.1), which is maintained with the saslpasswd or saslpasswd2 command (part of the Cyrus SASL software). On some poorly-supported systems the saslpasswd command needs to be run multiple times before it stops complaining. The Postfix SMTP server needs read access to the sasldb file - you may have to play games with group access permissions. With the OTP authentication mechanism, the SMTP server also needs WRITE access to /etc/sasldb2 or /etc/sasldb (or the back end SQL database, if used). " Have you set up the SASL password file? If not, that's why you're getting the error. If you have, what happens when you test saslauthd on it's own? # /usr/local/sbin/testsaslauthd -u username -p password It should return: status 0: OK "Success." If you'd rather authenticate against the exisiting system usernames & passwords, change your smtpd.conf file to the following: pwcheck_method: saslauthd and delete the rest. You might have to restart both services if you update the smtpd.conf file: # /usr/local/etc/rc.d/saslauthd restart # postfix reload Best regards, Greg Groth