|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
sasl2 help!
From: Administrador de Servidor (sisdin
sistemasdinamicos.com.ar)
Date: Sun Mar 07 2004 - 00:33:44 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have postfix+sasl+mysql working just fine.
I recently decided to have a separate mysql server at port 3398 to handle system things, like (among others) smtpd sasl authentication.
The problem is: sasl only seems to work if you specify localhost, or 127.0.0.1 in mysql_hostnames. If you try to specify a port 127.0.0.1:3398 it just dont work and logs says "no secret in db..". If you dont give it a port it defaults to the 3306 port, wich is the "other" db. I tried with mysql_port:3398, but nothing. Any help please?
/usr/lib/sasl2/smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: mysql
mysql_user:root2
mysql_passwd:12345
mysql_hostnames:127.0.0.1:3398
mysql_database:cpanel
mysql_statement:select vusers.pis_clear from vusers,dominios where (vusers.username='%u@%r' AND vusers.activo_pis='1' AND dominios.activo_pis='1' AND dominios.dominio='%r');
mysql_verbose:true
mech_list: login CRAM-MD5 DIGEST-MD5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]