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)
-   -   Fedora 5 yum update breaks courier auth (http://www.howtoforge.com/forums/showthread.php?t=10121)

unclecameron 26th January 2007 08:12

Fedora 5 yum update breaks courier auth
 
Hi all,

I followed the How-To for Virtual Users and Domains with Postfix, Courier and MySQL and got it working great, then did a yum update after a few months and the update broke courier authentication on my production server and users couldn't send/receive any e-mail, the maillog had errors like:

warning: SASL authentication failure: cannot connect to Courier authdaemond: Permission denied

when attempting to send from Outlook, and:

pop3d: LOGIN FAILED, user=xxx@example.com, ip=[::ffff:63.199.243.209]
Jan 25 11:41:22 mail2 pop3d: authentication error: Input/output error
Jan 25 11:41:22 mail2 pop3d: Connection, ip=[::ffff:63.199.243.209]
Jan 25 11:41:23 mail2 authdaemond: failed to connect to mysql server (server=mysql.example.com, userid=admin): Unknown MySQL server host 'mysql.e
xample.com' (1)

when trying to use imap webmail.

It turns out that yum updates courier authentication, but when it does it takes your authmysqlrc file and backs it up then makes a new one with what it thinks your settings are, but they are all wrong. So you have to restore the /etc/authlib/authmysqlrc.bak to authmyqlrc and then it works.

Also, it screws up the permissions on authdaemon, so you have to run this to fix it:

chmod o+x /var/spool/authdaemon

Hope this helps the next person not spend hours like I did, and keep your e-mail users happy :)

Cameron
San Diego


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

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