OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Authentication failed sasl & mysql

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Sat May 29 2004 - 11:36:58 CDT


Am Samstag, 29. Mai 2004 18:22 schrieb erri:

> Ok.
> Now i have changed auxprop_plugin: mysql instead of sql and now i get
> following error:
> May 29 18:17:13 aixsrv2 postfix/smtpd[286904]: mysql plugin couldnt connect
> to any host

> > > mysql_hostnames: localhost
> > > mysql_user: mail
> > > mysql_password: clave
> > > mysql_database: mail
> > > mysql_statement: select clear from users where id='%u' and domain='%r'
> > > mysql_verbose: yes

If you write "localhost" the lib connects through a unix-socket to the
mysql-server. Check if smtpd runs chroot'ed. Best to turn it off, write a "n"
in the column.

And verify the Password. The Account with which the lib connects to the
mysql-server is "clavelocalhost". Check if it exists and if the Password is
ok.

--
        Andreas