Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st November 2010, 12:47
Mannekino Mannekino is offline
Junior Member
 
Join Date: Nov 2010
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default Sending mail using SMTP does not work (SASL error)

I'm trying to send e-mail from my server. I followed this tutorial and everything seems to be working fine except for sending e-mail.

My ISP doesn't allow traffic over port 25 so I put the following line in the master.cf file. I'm running the latest version of Ubuntu with ISPConfig 3.0.3.

Code:
2525      inet  n       -       n       -       -       smtpd
This is the error message I get:

Code:
Nov 21 12:36:44 vm1 postfix/smtpd[2202]: connect from xxx.direct-adsl.nl[xxx]
Nov 21 12:36:44 vm1 postfix/smtpd[2202]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Nov 21 12:36:44 vm1 postfix/smtpd[2202]: warning: SASL authentication failure: Password verification failed
Nov 21 12:36:44 vm1 postfix/smtpd[2202]: warning: xxx.direct-adsl.nl[xxx]: SASL PLAIN authentication failed: generic failure
Nov 21 12:36:44 vm1 postfix/smtpd[2202]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Nov 21 12:36:44 vm1 postfix/smtpd[2202]: warning: xxx.direct-adsl.nl[xxx]: SASL LOGIN authentication failed: generic failure
Now I found this topic in where the same problem is addressed. This person said that he uncomment the following line in the master.cf file. I tried the same but it did not work for me, like this.

Code:
submission inet n       -       -       -       -       smtpd
I also tried removing the -c flag in the saslauthd file. Like somebody suggested in that topic. But that also did not work.

Output of ps aux | grep sasl

Code:
root      1510  0.0  0.0  53692   876 ?        Ss   12:03   0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r -n 5
root      1512  0.0  0.0  53692   520 ?        S    12:03   0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r -n 5
root      1513  0.0  0.0  53692   520 ?        S    12:03   0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r -n 5
root      1514  0.0  0.0  53692   520 ?        S    12:03   0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r -n 5
root      1515  0.0  0.0  53692   520 ?        S    12:03   0:00 /usr/sbin/saslauthd -a pam -m /var/spool/postfix/var/run/saslauthd -r -n 5
Anybody got a solution for my problem?

Thank you for your help.

Last edited by Mannekino; 21st November 2010 at 13:04.
Reply With Quote
Sponsored Links
  #2  
Old 21st November 2010, 14:31
Mannekino Mannekino is offline
Junior Member
 
Join Date: Nov 2010
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I fixed the problem by changing:

Code:
2525      inet  n       -       n       -       -       smtpd
to

Code:
2525      inet  n       -       -       -       -       smtpd
It must run in chroot. I found the following article:

http://www.informedemail.com/blog/20...-resolved.html
Reply With Quote
Reply

Bookmarks

Tags
postfix, sasl, smtp

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
RoundCube Sends but will not receive. happz Installation/Configuration 33 17th April 2010 21:55
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 20:43
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07


All times are GMT +2. The time now is 11:13.


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