View Single Post
Old 26th December 2010, 18:16
stargazerdood stargazerdood is offline
Junior Member
Join Date: Dec 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedo

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=<mike@mydomain.dom>, 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 by stargazerdood; 26th December 2010 at 18:18.
Reply With Quote
Sponsored Links