Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th January 2007, 21:48
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default Problem with saslauthd

i followed the perfect_setup_debian_sarge_p4 to set up saslauthd.
the test with telnet shows the result needed.

but when i try to send a mail i got the following lines in my log-file:

Jan 25 20:07:52 www postfix/smtpd[19508]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Jan 25 20:07:52 www postfix/smtpd[19508]: warning: SASL authentication failure: Password verification failed
Jan 25 20:07:52 www postfix/smtpd[19508]: warning: dslb-084-057-147-027.pools.arcor-ip.net[84.57.147.27]: SASL PLAIN authentication failed: generic failure
Jan 25 20:07:53 www postfix/smtpd[19508]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory

can anybody help me?
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
Sponsored Links
  #2  
Old 25th January 2007, 23:41
martinfst martinfst is offline
Senior Member
 
Join Date: Dec 2006
Location: Hilversum, The Netherlands
Posts: 880
Thanks: 1
Thanked 18 Times in 17 Posts
Send a message via MSN to martinfst Send a message via Skype™ to martinfst
Default

The telnet test will only show if Postfix is configured correctly. It will not test the authentication itself.

To test that, you will need to do extra steps to a) generate a MD5 hashed / crypted uid/password and execute extra commands. Try Google and you'll find some examples.

But the message appears to be clear. the saslauthd configuration has a directive that points to a non-existing file. Perhaps a typo?
I'd start with the config files in /etc/postfix.
Reply With Quote
  #3  
Old 26th January 2007, 18:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Please compare your /etc/default/saslauthd and /etc/init.d/saslauthd with the ones from the tutorial. Then make sure saslauthd is started.
__________________
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
  #4  
Old 26th January 2007, 21:26
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Smile Got It!

YEAH!
i got it.

the config files are all like the perfect debian sarge page 4 says.
BUT i am using etch!
in etch (maybe in sarge - don't know) there is something different!
i created the dir with:

Code:
mkdir -p /var/spool/postfix/var/run/saslauthd
and then i have to edit /etc/default/saslauthd. i have to remove # in front od start=yes to start the daemon.
BUT THEN i DON'T have to add
Code:
PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
instead i have to change the line
Code:
OPTIONS="-c"
to
Code:
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
editing of the file /etc/init.d/saslauthd is also not neccessary! i don't have to change the PIDFILE!

the following steps are like the tutorial says.

tip:
after starting the saslauthd have a look at /var/spool/postfix/var/run/saslauthd
if everything is ok, there must be some files in it (created by the deamon while starting). If you can't find these files there is something wrong with your rundir (with the OPTIONS=...)

hope, this helps other!
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
  #5  
Old 26th January 2007, 21:30
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default hint for falko

@falko
if the rundir is not set correct (to the chrooted dir) the daemon is still running! (ps aux |grep saslauthd finds some) and so everything seems to be ok. But then the error occours, because the chrooted postfix can't find the needed files. So checking for the daemon to run is not enought. you also have to search for the files in the run-dir. (maybe you like to change the howto ;-)
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
  #6  
Old 27th January 2007, 15:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by vogelor
BUT i am using etch!
The tutorial was written for Sarge. A few things are different on Etch.
__________________
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
  #7  
Old 27th January 2007, 16:02
vogelor vogelor is offline
ISPConfig Developer
 
Join Date: Jan 2007
Location: Wernau, Germany
Posts: 219
Thanks: 42
Thanked 34 Times in 24 Posts
Default

Quote:
Originally Posted by falko
The tutorial was written for Sarge. A few things are different on Etch.
i know - that's why i wrote it ;-)
__________________
Der neue Luxus heißt Zeit, nicht Geld!

Firma : http://www.muv.com, http://www.computerandservice.de
Privat : http://www.vogelor.de
Reply With Quote
  #8  
Old 28th January 2007, 17:37
provell provell is offline
Member
 
Join Date: Apr 2006
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Default info

Yes, thanks for the info.

As you can see in this tread:
http://www.howtoforge.com/forums/sho...highlight=etch

I have had about the same problem while setting this up.

In the meas while I have done some testing with installing it on sarge and then upgrading to etch.
Unfortunately the webserver had big problems with ISPconfig afterwards.

As etch will be stable soon I rather try installing it on etch right away.

Rgds Edo
Reply With Quote
  #9  
Old 28th January 2007, 19:02
provell provell is offline
Member
 
Join Date: Apr 2006
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Default working

@vogelor: Do you now have a perfect working system?
I do not have SASL error enymore but I can not send a mail to myself.
This is bacause of the address resolution.

I also don't have webmail working yet.
Dit you?

Rgds Edo
Reply With Quote
  #10  
Old 28th January 2007, 21:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Quote:
Originally Posted by provell
@vogelor: Do you now have a perfect working system?
I do not have SASL error enymore but I can not send a mail to myself.
This is bacause of the address resolution.

I also don't have webmail working yet.
Dit you?

Rgds Edo
Any errors in your mail log?
__________________
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 13:20
Virtual Users And Domains HowTo saslauthd problem laser144 HOWTO-Related Questions 23 17th May 2006 16:40
postfix and saslauthd problem mrks Installation/Configuration 5 21st April 2006 22:28
Perfect Setup - Fedora Core 3 - saslauthd problem Median Installation/Configuration 28 29th January 2006 19:51
saslauthd problem ... tmwtp Server Operation 11 16th October 2005 17:50


All times are GMT +2. The time now is 00:19.


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