OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
smtp auth without clear text passwords

From: Petre Bandac (petrekgb.ro)
Date: Thu Sep 21 2006 - 11:16:08 CDT


hallo

I have an older postfix server on which I want to enable smtp auth

all went fine, plain login works, even cram-md5, but only when
passwords are stored in clear text

current backend is mysql with passwords encrypted via postfixadmin's
"internal md5 function"

how can I make it work ?

thanks,

petre

####smtpd.conf###

log_level: 7
pwcheck_method: auxprop
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
auxprop_plugin: sql
sql_engine: mysql
sql_hostnames: localhost
sql_database: postfix
sql_user: **********
sql_passwd: ************
sql_select: SELECT password FROM mailbox WHERE username =
'%u%r' AND active = '1'
sql_usessl: no

--

Petre Bandac

Network Scientist

-
petrekgb.ro