Connecting to MySQL/Postfix

Discussion in 'Server Operation' started by kevinfc, Dec 18, 2006.

  1. kevinfc

    kevinfc New Member

    So here is my latest situation:

    I have everything all installed and running (Postfix, MySQL, Courier, etc..). My latest problem is that what I start authdaemond for Courier-Authlib, I get the following error in the logs:

    authdaemond: stopping authdaemond children
    authdaemond: modules="authmysql", daemons=5
    authdaemond: Installing libauthmysql
    authdaemond: cannot open shared object file: No such file or directory

    I am using MySQL to store the user info and when I tried to connect via POP3 or IMAP, the login would always come back and when I check the postfix logs it says LOGIN FAILED. I am assuming that it is not connecting to MySQL to check the database for the user.

    I compiled Courier-Authlib with the following:

    ./configure \
    --with-mysql-includes=/usr/local/mysql/include/mysql/ \

    and got no errors. So my question is how to I tell authdaemond where to find the module, and/or how do I install the needed module?

    Thanks all. Much appreciated.

  2. kevinfc

    kevinfc New Member

    Sorry all, these lines should actually read

    --with-mysql-includes=/usr/local/mysql/include \


  3. falko

    falko Super Moderator ISPConfig Developer

    Which distribution do you use?
    What's the output of

Share This Page