Date: Tue, 08 Aug 2006 11:31:23 -0500 From: Greg Groth <ggroth@gregs-garage.com> To: freebsd-questions@freebsd.org Subject: Re: Postfix & SASL Authentication Message-ID: <44D8BC5B.2020405@gregs-garage.com> In-Reply-To: <20060808121302.F5B2.GERARD@seibercom.net> References: <20060808101410.6387.GERARD@seibercom.net> <44D8A5F8.40509@gregs-garage.com> <20060808121302.F5B2.GERARD@seibercom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D8BC5B.2020405>