View Single Post
  #9  
Old 7th April 2008, 22:06
wmkconn wmkconn is offline
Junior Member
 
Join Date: Apr 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Configuration is to HOW-To Instructions

I have verified that everything is correct. I have included files below:

/etc/default/saslauthd

Code:
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/pam.d/smtp

Code:
auth    required   pam_mysql.so user=mail_admin passwd=xxx host=127.0.0.1 db=mail table=users usercolumn=email passwdcolumn=password crypt=1
account sufficient pam_mysql.so user=mail_admin passwd=xxx host=127.0.0.1 db=mail table=users usercolumn=email passwdcolumn=password crypt=1
/etc/postfix/sasl/smtpd.conf

Code:
pwcheck_method: saslauthd
mech_list: plain login
allow_plaintext: true
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_user: mail_admin
sql_passwd: xxx
sql_database: mail
sql_select: select password from users where email = '%u'
ls -la on /var/spool/postfix/var/run/saslauthd
Code:
drwxrwxrwx 2 root sasl   4096 2008-04-06 23:24 .
drwxr-xr-x 3 root root   4096 2008-04-05 13:57 ..
-rw------- 1 root root      0 2008-04-06 23:24 cache.flock
-rw------- 1 root root 945152 2008-04-06 23:26 cache.mmap
srwxrwxrwx 1 root root      0 2008-04-06 23:24 mux
-rw------- 1 root root      0 2008-04-06 23:24 mux.accept
-rw------- 1 root root      5 2008-04-06 23:24 saslauthd.pid
The contents of the saslauthd.pid is 5738.

Here is ls -la on /var/spool/postfix/var/run/ after chmod 777
Code:
drwxr-xr-x 3 root root 4096 2008-04-05 13:57 .
drwxr-xr-x 3 root root 4096 2008-04-05 13:57 ..
drwxrwxrwx 2 root sasl 4096 2008-04-06 23:24 saslauthd
Keith
Reply With Quote