Problem Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedo

Discussion in 'HOWTO-Related Questions' started by stargazerdood, Dec 26, 2010.

  1. stargazerdood

    stargazerdood New Member

    OS: Fedora 14 (i686)
    Issue: Postfix deferring mail delivery with the following log entry:
    Dec 26 09:50:43 server1 postfix/error[2191]: C023232006B: to=<[email protected]>, relay=none, delay=24641, delays=24640/0.32/0/0.01, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with[] while sending DATA command)

    Where I think the error is actually occuring:
    Dec 26 09:50:43 server1 amavis[2190]: (02190-01) (!)connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=;port=3306': Can't connect to MySQL server on '' (13)
    Dec 26 09:50:43 server1 amavis[2190]: (02190-01) (!!)TROUBLE in process_request: connect_to_sql: unable to connect to any dataset at (eval 100) line 241, <GEN13> line 5.
    Dec 26 09:50:43 server1 amavis[2190]: (02190-01) (!)Requesting process rundown after fatal error

    Steps I have taken to this point:
    Checked /etc/amavis/amavis.conf to make sure the sql password and user is correct. I used the same user as the how-to and added my password. The password is correct.

    Logged into my sql on host using amavis db (mail_admin) user and password, the connection was successful and a mysql prompt was provided.

    I checked /var/log/secure for entries that demonstrated failed logon and there are none.

    Any ideas what my problem may be?
    Great how-to thanks for posting it.
    Last edited: Dec 26, 2010
  2. stargazerdood

    stargazerdood New Member

    Problem solved. I noticed an error when amavisd started that /var/dcc/map was unreadable. I double checked my selinux configuration and that was the problem.

Share This Page