Courier , Postfix, ISP Config with mysql

Below is the mail server isses when we configer with Courier , Postfix, ISP Config with mysql,

This was the POP3 problem Apr 5 07:21:26 localhost pop3d: Connection, ip=[::ffff:114.143.96.188] Apr 5 07:21:26 localhost pop3d: authdaemon: s_connect() failed: Connection refused Apr 5 07:21:26 localhost pop3d: [Hint: perhaps authdaemond is not running?] Apr 5 07:21:26 localhost pop3d: LOGIN FAILED, user=user@instincttechnique.com, ip=[::ffff:114.143.96.188] Apr 5 07:21:26 localhost pop3d: authentication error: Connection refused

This is the - imap problem Apr 5 07:31:47 localhost imapd: authentication error: Connection refused Apr 5 07:31:52 localhost imapd: Connection, ip=[::ffff:114.143.96.188] Apr 5 07:31:53 localhost imapd: authdaemon: s_connect() failed: Connection refused Apr 5 07:31:53 localhost imapd: [Hint: perhaps authdaemond is not running?] Apr 5 07:31:53 localhost imapd: LOGIN FAILED, method=PLAIN, ip=[::ffff:114.143.96.188] Apr 5 07:31:53 localhost imapd: authentication error: Connection refused

This is the smtp sending problem

Apr 5 07:03:47 localhost authdaemond: Installation complete: authmysql Apr 5 07:04:15 localhost postfix/smtpd[18999]: connect from unknown[114.143.96.188] Apr 5 07:04:16 localhost postfix/smtpd[18999]: warning: SASL authentication failure: cannot connect to Courier authdaemond: Permission denied Apr 5 07:04:16 localhost postfix/smtpd[18999]: warning: SASL authentication failure: Password verification failed Apr 5 07:04:16 localhost postfix/smtpd[18999]: warning: unknown[114.143.96.188]: SASL PLAIN authentication failed: generic failure Apr 5 07:04:16 localhost postfix/smtpd[18999]: warning: SASL authentication failure: cannot connect to Courier authdaemond: Permission denied

Status: 
Active

Comments

Howdy -- it sounds like you're seeing a configuration issue with Courier -- it doesn't appear to be accepting connections to the authdaemond daemon.

You may want to verify that it is indeed running.

If it is, there's a similar configuration issue described here at ServerFault:

http://serverfault.com/questions/243309/courier-authdaemon-not-attemptin...

You mentioned that you're using ISPConfig... there's a thread in the ISPConfig forums that discusses an issue that sounds similar to yours -- there's some troubleshooting steps listed in this thread:

http://www.howtoforge.com/forums/showthread.php?t=25418&page=3

If that doesn't help -- what we'd suggest is opening a new forum thread in the Virtualmin forums, and seeing if anyone has experience setting up Courier and MySQL. You can do that by clicking the Forums link at the top of the page.

A typical system running Virtualmin and Usermin uses the Dovecot POP/IMAP server with usernames stored in /etc/passwd, we're not too familiar with setting up Courier with MySQL.

yes it the problem with the Courier with MySQL. We edited the mysql setting for Courier. But it donot work.

Apr 5 12:57:19 localhost authdaemond: modules="authmysql", daemons=5 Apr 5 12:57:19 localhost authdaemond: Uninstalling authmysql Apr 5 12:57:19 localhost authdaemond: Installing libauthmysql Apr 5 12:57:19 localhost authdaemond: Installation complete: authmysql Apr 5 12:57:49 localhost authdaemond: stopping authdaemond children Apr 5 12:57:49 localhost authdaemond: modules="authmysql", daemons=5 Apr 5 12:57:49 localhost authdaemond: Installing libauthmysql Apr 5 12:57:49 localhost authdaemond: Installation complete: authmysql Apr 5 12:58:49 localhost imapd: Connection, ip=[::ffff:127.0.0.1] Apr 5 12:58:49 localhost imapd: authdaemon: s_connect() failed: Connection refused Apr 5 12:58:49 localhost imapd: [Hint: perhaps authdaemond is not running?] Apr 5 12:58:49 localhost imapd: LOGIN FAILED, user=test@instincttechnique.com, ip=[::ffff:127.0.0.1] Apr 5 12:58:49 localhost imapd: authentication error: Connection refused

These links are no more use. Thanks. Need to find some other. What more changes we need to do.

The errors you're describing are general Courier errors, and aren't specific to Usermin.

It sounds like you have a Courier configuration issue.

However, configuring Courier and MySQL is unfortunately something we're not familiar with.

My suggestion would be to either post a question in the forums here at virtualmin.com to see if anyone has any experience setting up Courier and MySQL -- or to post a question at the ISPConfig forums.

ISPConfig appears to use Courier and MySQL by default, so they likely have a lot of experience trying to resolve the problem you're seeing.