Email questions: Can't send or receive

Discussion in 'Installation/Configuration' started by stevegjacobs, Jun 10, 2010.

  1. stevegjacobs

    stevegjacobs New Member

    Hi
    I am setting up a ispconfig3 on Debian. One thing I noticed is that while there is little activity on the mail server I get this repeated over and over in /var/log/mail.log:

    Code:
    Jun 10 10:37:32 webserver2 authdaemond: stopping authdaemond children
    Jun 10 10:37:32 webserver2 authdaemond: modules="authmysql", daemons=5
    Jun 10 10:37:32 webserver2 authdaemond: Installing libauthmysql
    Jun 10 10:37:32 webserver2 authdaemond: Installation complete: authmysql
    Jun 10 10:37:50 webserver2 authdaemond: stopping authdaemond children
    Jun 10 10:37:53 webserver2 authdaemond: modules="authmysql", daemons=5
    Jun 10 10:37:53 webserver2 authdaemond: Installing libauthmysql
    Jun 10 10:37:53 webserver2 authdaemond: Installation complete: authmysql
    Jun 10 10:38:11 webserver2 authdaemond: stopping authdaemond children
    Jun 10 10:38:12 webserver2 authdaemond: modules="authmysql", daemons=5
    Jun 10 10:38:12 webserver2 authdaemond: Installing libauthmysql
    Jun 10 10:38:12 webserver2 authdaemond: Installation complete: authmysql
    Jun 10 10:38:31 webserver2 authdaemond: stopping authdaemond children
    Jun 10 10:38:33 webserver2 authdaemond: modules="authmysql", daemons=5
    Jun 10 10:38:33 webserver2 authdaemond: Installing libauthmysql
    Jun 10 10:38:33 webserver2 authdaemond: Installation complete: authmysql
    Is this normal?

    Sending mail from Squirrelmail gets this result:

    Code:
    Jun 10 10:47:49 webserver2 postfix/smtpd[16439]: connect from localhost[127.0.0.1]
    Jun 10 10:47:49 webserver2 postfix/smtpd[16439]: CB1F7D7860A: client=localhost[127.0.0.1]
    Jun 10 10:47:49 webserver2 postfix/cleanup[16442]: CB1F7D7860A: message-id=<2b8cd220a0a2aa7235e6fd298b589eb3.squirrel@webserver.mydomain.com>
    Jun 10 10:47:49 webserver2 postfix/qmgr[16232]: CB1F7D7860A: from=<steve@mydomain.com>, size=802, nrcpt=1 (queue active)
    Jun 10 10:47:49 webserver2 postfix/smtpd[16439]: disconnect from localhost[127.0.0.1]
    Jun 10 10:47:49 webserver2 imapd: Connection, ip=[::ffff:127.0.0.1]
    Jun 10 10:47:49 webserver2 imapd: LOGIN, user=steve@mydomain.com, ip=[::ffff:127.0.0.1], port=[60111], protocol=IMAP
    Jun 10 10:47:49 webserver2 amavis[7971]: (07971-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=dbispconfig;host=127.0.0.1;port=3306': Access denied for user 'ispconfig'@'localhost' (using password: YES)
    Jun 10 10:47:49 webserver2 amavis[7971]: (07971-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 86) line 241, <GEN28> line 5.
    Jun 10 10:47:49 webserver2 amavis[7971]: (07971-01) (!)Requesting process rundown after fatal error
    Jun 10 10:47:49 webserver2 postfix/smtp[15693]: CB1F7D7860A: to=<stevegjacobs@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.08, delays=0.06/0/0/0.02, dsn=4.3.2, status=deferred (host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing channel (in reply to RCPT TO command))
    Jun 10 10:47:49 webserver2 imapd: LOGOUT, user=steve@mydomain.com, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=682, sent=203, time=0
    What is causing that?

    Thanks

    Steve Jacobs
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Looks as if the password of the ispconfig mysql user has been changed. Please download the latests ispconfig 3 tar.gz file and run the update.php script. Select to reconfigure services during update.
     
  3. stevegjacobs

    stevegjacobs New Member

    Hi Til
    Thanks, that worked. What I I've got now is a complete high available cluster using drbd and heartbeat, with ispconfig, mail, mysql and websites all failing over from one server to the other in the event of failure. I wish I could do this setup all over again so that I could document the steps we went through to get to this point, but there was a lot of trial and error. It is working well now though, and seems very stable.
     

Share This Page