View Single Post
  #8  
Old 1st June 2009, 19:23
Enrikoala Enrikoala is offline
Junior Member
 
Join Date: Feb 2009
Location: Genova
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

/etc/default/saslaut:

Quote:
START=yes
DESC="SASL Authentication Daemon"
NAME="saslauthd"
MECHANISMS="pam"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
/etc/postfix/sasl/smtpd.conf:

Quote:
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: xxxxxxx (removed for obvious reasons but certainly correct!)
sql_passwd: xxxxxxxx (removed for obvious reasons but certainly correct!)
sql_database: postfix
sql_select: select password from users where email = '%u'
Reply With Quote