Hi All, I have spent an enormous amount of time on this so please help if you can. I am trying to setup my mail server with postfix, mysql and SMT-AUTH (TLS) as kindly described by Falko in http://www.howtoforge.com/virtual_postfix_mysql_quota_courier. I use kmail to send/receive. pop3 works great but on SMTP i get the below behaviour: 1) The correct one: When I set "no authentication" and threfore no encryption i can send emails to users in my domain (destinations) but not to outsiders and no relay is allowed which is great 2) But, when I try to authenticate in order to send to outsiders I always get Sending failed: Your SMTP server does not support PLAIN. Choose a different authentication method. The server responded: "Error: authentication failed" my /var/log/mail.log has the below: 3comnic postfix/smtpd[26532]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied Feb 11 17:40:04 3comnic postfix/smtpd[26532]: warning: SASL authentication failure: Password verification failed Feb 11 17:40:04 3comnic postfix/smtpd[26532]: warning: unknown[88.218.51.26]: SASL PLAIN authentication failed --- /etc/postfix/master.cf has smtp inet n - n - - smtpd -- /etc/init.d/postfix has /etc/sasld2 include in teh FILES directive -- /etc/postfix/sals2/smtp.conf has appropriate mech_list pwcheck_method: saslauthd mech_list: plain login allow_plaintext: true auxprop_plugin: mysql sql_hostnames: 127.0.0.1 sql_user: provider_admin sql_passwd: inevolprovider sql_database: provider sql_select: select password from users where email = '%u' ls -l /var/spool/postfix/var/run/saslauthd/ total 4 srwxrwxrwx 1 root root 0 2007-02-11 17:14 mux -rw------- 1 root root 0 2007-02-11 17:14 mux.accept -rw------- 1 root root 6 2007-02-11 17:14 saslauthd.pid Please help. Is it that i need to start the sasldb some way or do I have a permission problem? If it is permission then how do I connect to the sasl server? Thanks in advance
ok I did some steps and have not got this working but have a different problem. This is what I did: 1) adduser postfix sasl 2) chown -R root:sasl /var/spool/postfix/var/ 3) ln -s /var/spool/postfix/var/run/saslauthd /var/run/saslauthd 4) chmod 755 /var/spool/postfix/var/run/saslauthd So at the moment I get a new kind of problem in /var/log/syslog Feb 12 03:27:19 3comnic postfix/smtpd[27234]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory Feb 12 03:27:19 3comnic postfix/smtpd[27234]: warning: SASL authentication failure: Password verification failed Feb 12 03:27:19 3comnic postfix/smtpd[27234]: warning: dsl-88-218-84-62.customers.vivodi.gr[88.218.84.62]: SASL PLAIN authentication failed I found some sources about this aroun but none did the job for me. Anyone with extra ideas? thanks