From: Luc Brouard (mailing-lists at slortar dot net)
Date: Thu Jun 17 2004 - 16:25:40 EDT
On Thu, Jun 17, 2004 at 10:02:03PM +0200, Andreas Winkelmann wrote:
> Am Donnerstag, 17. Juni 2004 21:14 schrieb michael:
> > Not fixed, but we're getting somewhere. It's not fixed, but at least
> > its only using the PLAIN mechanism so it errors out ncie & quick.
> > Here's precisely what I did:
> > Edited /etc/postfix/sasl/smtpd.conf to look like this:
> > pwcheck_method: auxprop
> > mech_list: PLAIN
> > auxprop_plugin: sql
> > sql_verbose: yes
> > sql_engine: mysql
> > sql_hostnames: localhost
> Does mysql listens on a unix-socket or an inet-socket?
> If you choose "localhost" sasl will try a unix-socket. And another thing, does
> Postfix's smtpd runs chroot'ed? Look in master.cf, the column should contain
> a "n".
First for Simon, on debian postfix looks for
/etc/postfix/sasl/smtpd.conf first and then the path you said ...
yes that's just a pain when all doc on the web mention your path.
To answer here ...
yes on debian postfix is chrooted ...
I guess it will be better for him to force socket .. maybe using
internal ip address (don't know if it will work)
For my use (saslauth) .. I change the "mux" path to be in postfix chroot
as only postfix use sasl on my server, maybe he can change where mysql