I don't seem to have the authmysql file any more, but maybe it's supposed to be in this authlib directory instead of /etc/courier-imap. I know that, back when I did that courier upgrade, it left the old authdaemon config stuff in /etc/courier-imap, which confused me for a while.
Hope this helps.
Ben
Devraj Mukherjee wrote:
Hi everyone,
I am following the Gentoo mail hosting guide to setup Postfix and Courier IMAP, except that I am using the directory structure and password encryption mechanism from the howto available at http://high5.net/howto for ease of migration of the data from my earlier setup.
I have a couple of issues to do with courier-imap authentication accounts.
1. I can't seem to find an init.d script for authdeamond? Which package creates this?
2. I have made the apporporate changes in pam.d configuration files and authmysqlrc in /etc/courier-imap and I get the following when I tail the log and try and log in as a pop3 user.
courier-imap/authdaemond is looking for a server called mysql.example.com, what configuration defines that? Thanks for any pointers.
Log extract:
Mar 7 00:20:56 [authdaemond] Installation complete: authcustom Mar 7 00:21:15 [authdaemond] failed to connect to mysql server (server=mysql.example.com, userid=admin): Unknown MySQL Server Host 'mysql.example.com' (1) Mar 7 00:21:15 [pop3d] LOGIN FAILED, [EMAIL PROTECTED], ip=[::ffff:127.0.0.1] Mar 7 00:21:15 [pop3d] authentication error: Input/output error
Kind regards, Devraj
