MySQL issue after upgrading from Courier-Imap 3 to 4

Along with CentOS 4.2 came MySQL 4.1, great news ! BUT…

My old Courier-Imap version was only compatible with MySQL 3.x..

I had to upgrade to Courier-imap 4. My buddy kindly compiled the packages for me and published it on his repository : http://repo.securityteam.us/repository/

A few issue then came up with my imap configuration, I noticed a few changes had been made to Courier-Imap about MySQL connectivity..

As explained here http://blog.wains.be/?p=7, mysql configuration files of courier used to be under /usr/lib/courier-imap/etc..

The new version of courier requires the files to be located under /etc/authlib or courier will just complain about mysql.example.com not being reachable :

authdaemond: failed to connect to mysql server (server=mysql.example.com, userid=admin): Unknown MySQL serv)

You just need to move your configuration files into the new directory and you are done.. It took me 20 minutes to figure out the relocation of the files :)

More info : http://www.courier-mta.org/authlib/




Thanks for reading this post!


Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!