HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix/STMP abruptly stopped working (http://www.howtoforge.com/forums/showthread.php?t=12847)

XMG-Eric 21st May 2007 19:14

Postfix/STMP abruptly stopped working
 
Hey All,

After hours of searching and troubleshooting with no luck, I hope someone could give me some insight to my problem.

I have a CentOS server in which I used the "Virtual Users With Postfix, PostfixAdmin, Courier, Mailscanner..." tutorial a few months back in order to get mail working. The tutorial worked great and mail has been working flawlessly for months now. However, just a few days ago, it seems to have stopped.

All the services are started (postfix, courier, etc...) and no configurations have been changed for months. The only actual errors I see in my maillog that I haven't seen before are the following:

Code:

postfix/smtpd[8348]: fatal: unsupported dictionary type: mysql
postfix/master[8304]: warning: process /usr/libexec/postfix/smtpd pid 8348 exit status 1
postfix/master[8304]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
postfix/cleanup[8355]: fatal: unsupported dictionary type: mysql
postfix/qmgr[8356]: fatal: unsupported dictionary type: mysql
postfix/master[8304]: warning: process /usr/libexec/postfix/cleanup pid 8355 exit status 1
postfix/master[8304]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
postfix/master[8304]: warning: process /usr/libexec/postfix/qmgr pid 8356 exit status 1

Any help would be much appreciated.

Thanks!

falko 22nd May 2007 18:42

Quote:

postfix/smtpd[8348]: fatal: unsupported dictionary type: mysql
means that there's no MySQL support in your Postfix. You must compile it in.

XMG-Eric 25th May 2007 19:16

Quote:

Originally Posted by falko
means that there's no MySQL support in your Postfix. You must compile it in.

Thanks fo the reply. I've re-compiled it with mysql support and since, the previous error is gone, however, I can now recieve mail fine, but SMTP authentication is not working, with the following error:

Code:

warning: SASL PLAIN authentication failed
warning: SASL LOGIN authentication failed

My email client just keeps asking for the password, in which, it fails to authenticate everytime.

Any Ideas?

Thanks again.

falko 26th May 2007 20:47

What's in /usr/lib/sasl2/smtpd.conf?

XMG-Eric 27th May 2007 03:35

Quote:

Originally Posted by falko
What's in /usr/lib/sasl2/smtpd.conf?

Code:

# smtpd.conf
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/usr/local/var/spool/authdaemon/socket

Thanks

falko 27th May 2007 17:55

Looks ok. Are you absolutely sure you provided the correct username and password?

XMG-Eric 27th May 2007 19:56

Quote:

Originally Posted by falko
Looks ok. Are you absolutely sure you provided the correct username and password?

Alright, when I attempted to check it again this morning mysql support has disappeared again! How could this be happening? It seems as though yum installed it's version of postfix (which does not have mysql support) over my version, which I compiled from source. No one has logged in the server to do this nor does any irregular activity show up in any logs. In the mail log mail is being received fine then this error comes back:

Code:

fatal: unsupported dictionary type: mysql
I've really never seen anything like this before? Is yum doing some kind of automatic updates?

Thanks

falko 28th May 2007 17:57

I guess you have automatic updates turned on. Can you check your cron jobs?

XMG-Eric 28th May 2007 18:08

Quote:

Originally Posted by falko
I guess you have automatic updates turned on. Can you check your cron jobs?

Yeah, found and disabled it, didn't think to check there. Thanks!

However, still can't get postfix going, with the same "login failed" errors.

falko 29th May 2007 15:21

Have you recompiled Postfix with MySQL support after you've turned off the automatic updates?


All times are GMT +2. The time now is 14:15.

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