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_po..._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
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: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 11 17:40:04 3comnic postfix/smtpd: warning: SASL authentication failure: Password verification failed
Feb 11 17:40:04 3comnic postfix/smtpd: warning: unknown[18.104.22.168]: 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
mech_list: plain login
sql_select: select password from users where email = '%u'
ls -l /var/spool/postfix/var/run/saslauthd/
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