Results 1 to 1 of 1
Hi, I posted this in the Ubuntu section because that's what I'm running, but I don't think I'm going to get too much help there. I've got a problem with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-05-2007 #1
SASL through MySQL with Postfix problem
mech_list: plain login cram-md5 digest-md5
sql_passwd: <password omitted>
sql_select: select clear from users where id='%u@%r' and enabled = 1
Here are the contents of my /etc/pam.d/smtp:
auth reuired pam_permit.so
auth required pam_mysql.so user=mail passwd=<password omitted> db=maildb table=users usercolumn=name passwdcolumn=clear crypt$
And here are the important bits of my /etc/postfix/main.cf:
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_sasl_security_options = noanonymous
Whenever I try to telnet in and "auth login" with my base64 username and password, I get this error:
May 4 20:49:47 luminesce postfix/smtpd: warning: localhost[127.0.0.1]: SASL login authentication failed: authentication failure
May 4 20:50:35 luminesce postfix/smtpd: lost connection after AUTH from localhost[127.0.0.1]
The error isn't very informative, and I don't know where the problem is. Any help given would be greatly appreciated.