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.
Thread Tools Display Modes
Old 26th January 2007, 09:12
unclecameron unclecameron is offline
Senior Member
Join Date: Apr 2006
Posts: 115
Thanks: 2
Thanked 8 Times in 7 Posts
Default 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:]
Jan 25 11:41:22 mail2 pop3d: authentication error: Input/output error
Jan 25 11:41:22 mail2 pop3d: Connection, ip=[::ffff:]
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

San Diego
Reply With Quote
Sponsored Links


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
Stuck on Centos Yum update fgaughan Installation/Configuration 6 20th September 2013 15:40
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 20:38
Replacing Dovecot with Courier on Fedora Core 5 james@thereidsonline.com Installation/Configuration 1 15th December 2006 14:40
Replacing Dovecot with Courier on Fedora Core 5 james@thereidsonline.com General 1 15th December 2006 14:17
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 06:19

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

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