leblanc
3rd December 2007, 08:17
Problem:
By enabling sasl by default it uses local accounts.
I want to test using hash:/etc/postfix/postgresql/smtp_sasl_passwd.cf
once that is working i want to move to pgsql:/....samepath
I've created the smtp_sasl_passwd.cf.db file already.
I disabled sasl in main.cf and successfully relayed anonymously.
When i enable sasl in main.cf it correctly denies users attempting to relay anonymously.
Dec 2 22:39:49 linux-server postfix/smtpd[1442]: disconnect from unknown[192.168.1.1]
Dec 2 22:39:49 linux-server postfix/smtp[1503]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
I specified the following in main.cf
smtp_sasl_password_maps = hash:/etc/postfix/postgresql/smtp_sasl_passwd.cf
but it doesn't seem to be using that to authenticate users... instead it uses local accounts. so where else do i need to specify to use my hash password table?
smtp.conf
pwcheck_method: saslauthd
mech_list: plain login
what are these other sasl* binaries?
linux-server:/home/vmailuser/mailboxes/mixhacks.com/leblanc.meneses/new # ls /usr/sbin/ | grep sasl
saslauthd
sasldblistusers2
saslpasswd2
testsaslauthd
#currently running sasl binary
linux-server:/home/vmailuser/mailboxes/mixhacks.com/leblanc.meneses/new # ps -ax | grep sasl
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
2979 ? Ss 0:00 /usr/sbin/saslauthd -a pam -n 5
2980 ? S 0:00 /usr/sbin/saslauthd -a pam -n 5
2981 ? S 0:00 /usr/sbin/saslauthd -a pam -n 5
2982 ? S 0:00 /usr/sbin/saslauthd -a pam -n 5
2983 ? S 0:00 /usr/sbin/saslauthd -a pam -n 5
3846 pts/7 R+ 0:00 grep sasl
By enabling sasl by default it uses local accounts.
I want to test using hash:/etc/postfix/postgresql/smtp_sasl_passwd.cf
once that is working i want to move to pgsql:/....samepath
I've created the smtp_sasl_passwd.cf.db file already.
I disabled sasl in main.cf and successfully relayed anonymously.
When i enable sasl in main.cf it correctly denies users attempting to relay anonymously.
Dec 2 22:39:49 linux-server postfix/smtpd[1442]: disconnect from unknown[192.168.1.1]
Dec 2 22:39:49 linux-server postfix/smtp[1503]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
I specified the following in main.cf
smtp_sasl_password_maps = hash:/etc/postfix/postgresql/smtp_sasl_passwd.cf
but it doesn't seem to be using that to authenticate users... instead it uses local accounts. so where else do i need to specify to use my hash password table?
smtp.conf
pwcheck_method: saslauthd
mech_list: plain login
what are these other sasl* binaries?
linux-server:/home/vmailuser/mailboxes/mixhacks.com/leblanc.meneses/new # ls /usr/sbin/ | grep sasl
saslauthd
sasldblistusers2
saslpasswd2
testsaslauthd
#currently running sasl binary
linux-server:/home/vmailuser/mailboxes/mixhacks.com/leblanc.meneses/new # ps -ax | grep sasl
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
2979 ? Ss 0:00 /usr/sbin/saslauthd -a pam -n 5
2980 ? S 0:00 /usr/sbin/saslauthd -a pam -n 5
2981 ? S 0:00 /usr/sbin/saslauthd -a pam -n 5
2982 ? S 0:00 /usr/sbin/saslauthd -a pam -n 5
2983 ? S 0:00 /usr/sbin/saslauthd -a pam -n 5
3846 pts/7 R+ 0:00 grep sasl