#1  
Old 12th February 2007, 00:58
spyroslam spyroslam is offline
Junior Member
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default SMTP-auth problem

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_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
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
Reply With Quote
Sponsored Links
  #2  
Old 12th February 2007, 10:33
spyroslam spyroslam is offline
Junior Member
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default SMTP-auth problem

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
Reply With Quote
  #3  
Old 12th February 2007, 15:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Quote:
Originally Posted by spyroslam
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
Please reboot the system. Do you still have the same problem after reboot?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
postfix smtp sasl auth problem hammer Installation/Configuration 1 13th July 2006 18:19
SMTP Auth problem maxx General 12 1st February 2006 02:48
Suse Postfix + Dovecot + ISP Config + smtp Auth; recieving problem! fatum112 HOWTO-Related Questions 2 15th January 2006 19:03


All times are GMT +2. The time now is 20:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.