#1  
Old 7th May 2008, 14:14
iverson0881 iverson0881 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default Email Clients cannot send mail

I just upgraded from 7.10 to 8.04 per the falko guide but I can't seem to send mail from any client, regardless if the password is correct or not. I suspect it's a saslauthd issue but I tried rerunning the steps from the 8.04 perfect server guide but I still have this problem.

Also saslauthd daemon doesn't seem to start correctly. I'm not 100% sure what's going on.

Any help would be great. Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 7th May 2008, 14:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,176
Thanks: 829
Thanked 5,414 Times in 4,257 Posts
Default

Which error messages do you get in the mail.log when you start saslauthd and when you try to send a email?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th May 2008, 14:23
iverson0881 iverson0881 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

here is what I get in auth.log

Code:
May  7 04:49:28 server sshd[7552]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
May  7 04:49:28 server sshd[7554]: pam_unix(sshd:session): session opened for user root by root(uid=0)
May  7 04:49:28 server sshd[7554]: pam_env(sshd:setcred): Unable to open env file: /etc/default/locale: No such file or directory
May  7 04:50:49 server saslauthd[5166]: server_exit     : master exited: 5166
May  7 04:50:57 server saslauthd[7597]: detach_tty      : master pid is: 7597
May  7 04:50:57 server saslauthd[7597]: ipc_init        : listening on socket: /var/run/saslauthd/mux
May  7 04:54:27 server saslauthd[7736]: detach_tty      : could not lock pid file /var/run/saslauthd/saslauthd.pid: Resource temporarily unavailable
May  7 04:54:27 server saslauthd[7735]: detach_tty      : Cannot start saslauthd
May  7 04:54:27 server saslauthd[7735]: detach_tty      : Another instance of saslauthd is currently running
May  7 04:54:31 server saslauthd[7746]: detach_tty      : could not lock pid file /var/run/saslauthd/saslauthd.pid: Resource temporarily unavailable
May  7 04:54:31 server saslauthd[7745]: detach_tty      : Cannot start saslauthd
May  7 04:54:31 server saslauthd[7745]: detach_tty      : Another instance of saslauthd is currently running
May  7 05:00:01 server CRON[8092]: pam_unix(cron:session): session opened for user root by (uid=0)
May  7 05:00:01 server CRON[8092]: pam_unix(cron:session): session closed for user root
May  7 05:03:32 server saslauthd[8242]: detach_tty      : could not lock pid file /var/run/saslauthd/saslauthd.pid: Resource temporarily unavailable
May  7 05:03:32 server saslauthd[8241]: detach_tty      : Cannot start saslauthd
May  7 05:03:32 server saslauthd[8241]: detach_tty      : Another instance of saslauthd is currently running
May  7 05:03:40 server saslauthd[7597]: server_exit     : master exited: 7597
May  7 05:03:45 server saslauthd[8253]: detach_tty      : master pid is: 8253
May  7 05:03:45 server saslauthd[8253]: ipc_init        : listening on socket: /var/run/saslauthd/mux
May  7 05:09:01 server CRON[8444]: pam_unix(cron:session): session opened for user root by (uid=0)
May  7 05:09:01 server CRON[8451]: pam_unix(cron:session): session opened for user root by (uid=0)
May  7 05:09:01 server CRON[8444]: pam_unix(cron:session): session closed for user root
May  7 05:09:01 server CRON[8451]: pam_unix(cron:session): session closed for user root
and in mail.log

Code:
May  7 05:06:24 server postfix/smtpd[8360]: warning: myip.net[000.000.000.000]: SASL PLAIN authentication failed: generic failure
May  7 05:06:23 server postfix/smtpd[8360]: warning: myip.net[000.000.000.000]: SASL PLAIN authentication failed: generic failure
May  7 05:06:24 server postfix/smtpd[8360]: warning: myip.net[000.000.000.000]: SASL PLAIN authentication failed: generic failure
May  7 05:06:23 server postfix/smtpd[8360]: warning: myip.net[000.000.000.000]: SASL PLAIN authentication failed: generic failure
May  7 05:06:20 server postfix/smtpd[8360]: warning: myip.net[000.000.000.000]: SASL PLAIN authentication failed: generic failure
May  7 05:06:20 server postfix/smtpd[8360]: warning: myip.net[000.000.000.000]: SASL PLAIN authentication failed: generic failure
May  7 05:06:16 server postfix/smtpd[8360]: warning: myip.net[000.000.000.000]: SASL PLAIN authentication failed: generic failure

Last edited by iverson0881; 7th May 2008 at 14:30.
Reply With Quote
  #4  
Old 8th May 2008, 08:34
iverson0881 iverson0881 is offline
Junior Member
 
Join Date: Jan 2007
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Okay I figured it out.

Basically my problem was that i was using a very old /etc/init.d/saslauthd script and it doesn't really listen to /etc/default/saslauthd. so basically switched out for the saslauthd.dpkg-dist file and everything now works.

This post seemed to guide me through what was going on: http://www.howtoforge.com/forums/arc...hp/t-2199.html

Since it wasn't obeying /etc/default/saslauthd it wasn't chrooted inside of postfix so it couldn't authenticate anyone since it can't read who to authenticate.

Last edited by iverson0881; 8th May 2008 at 08:37.
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
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
procmail can't write Hellbound General 27 8th June 2009 21:51
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


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


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