Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th July 2006, 00:57
twinspop twinspop is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ubuntu + postfix + sasl trouble

I followed the instructions here:

http://www.howtoforge.com/perfect_setup_ubuntu_6.06

But I continue to get the error messages:

(date) mail postfix/smtpd[13388]: TLS connection established from unknown[12.34.56.66]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
(date) mail postfix/smtpd[13388]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
(date) mail postfix/smtpd[13388]: warning: SASL authentication failure: Password verification failed
(date) mail postfix/smtpd[13388]: warning: unknown[12.34.56.66]: SASL PLAIN authentication failed
(date) mail postfix/smtpd[13388]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
(date) mail postfix/smtpd[13388]: warning: unknown[12.34.56.66]: SASL LOGIN authentication failed

Any tips MUCH appreciated.

Thanks,
Jon
Reply With Quote
Sponsored Links
  #2  
Old 12th July 2006, 15:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please make sure your sasluthd configuration is exactly as in the tutorial.
What's the output of
Code:
ps aux | grep saslauthd
?
__________________
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
  #3  
Old 12th July 2006, 18:33
twinspop twinspop is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks!

Thanks for the help! Here's the output:

root 14357 0.0 0.0 6020 996 ? Ss Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
root 14358 0.0 0.0 6020 596 ? S Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
root 14359 0.0 0.0 6020 544 ? S Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
root 14360 0.0 0.0 6020 544 ? S Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
root 14361 0.0 0.0 6020 544 ? S Jul11 0:00 /usr/sbin/saslauthd -m /var/spool/postfix/var/run/saslauthd -r -a pam
Reply With Quote
  #4  
Old 13th July 2006, 16:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Did you do this:
Code:
mkdir -p /var/spool/postfix/var/run/saslauthd
and edit /etc/default/saslauthd and /etc/init.d/saslauthd as described here? http://www.howtoforge.com/perfect_setup_ubuntu_6.06_p5
__________________
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
  #5  
Old 13th July 2006, 17:28
twinspop twinspop is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

root@mail:~# ls -l /var/spool/postfix/var/run/saslauthd/
total 4
srwxrwxrwx 1 root root 0 2006-07-11 16:36 mux
-rw------- 1 root root 0 2006-07-11 16:36 mux.accept
-rw------- 1 root root 6 2006-07-11 16:36 saslauthd.pid

root@mail:~# cat /etc/default/saslauthd
# This needs to be uncommented before saslauthd will be run automatically
START=yes

PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"

# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"

MECHANISMS="pam"
Reply With Quote
  #6  
Old 13th July 2006, 17:30
twinspop twinspop is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

and the pidfile:

root@mail:~# grep PIDFILE /etc/init.d/saslauthd
PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
Reply With Quote
  #7  
Old 14th July 2006, 13:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Please reboot your system and try again.
__________________
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
SASL AUTH with postfix on Sarge keulu Server Operation 6 31st August 2006 23:49
Postfix cant receive (ubuntu) enriquecm Installation/Configuration 17 11th May 2006 00:40
postfix auth problem (sasl) lerra Installation/Configuration 40 11th May 2006 00:36
Postfix trouble ColdDoT Server Operation 2 5th March 2006 16:19
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 16:20


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


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