Amavisd-new(2.6.4-3) failing to do "lookup_sql_dsn" when large number of emails are need to be accessed

Posted by sandip on Server Fault See other posts from Server Fault or by sandip
Published on 2012-03-29T06:29:16Z Indexed on 2012/03/30 11:31 UTC
Read the original article Hit count: 238

Filed under:
|
|

Amavis is failing to do sql lookup when large number of emails are sent to amavis. Its throwing out error after scanning 40 to 50 email. It shows error like.

 (!!)TROUBLE in process_request: sql exec: err=7, 57P01,DBD::Pg::st bind_param failed:FATAL:  terminating connection due to administrator command\nSSL connection has been closed unexpectedly at (eval 103) line 164, <GEN50> line 5. at (eval 104) line 280, <GEN50> line 5.

As soon as this error appears in the logs, Amavis stops and port 10024 is closed. Thinking it to an error due to ssl connection in the database(postgresql-8.4), i had stopped ssl in postgres, but it was of no use. I have tried to configure amavis on another server, but i got the same error again.

This happening on a production server, So i am not being able to scan emails as per user settings. Anybody have any idea, what may be the source of this error ??

Please help. Thanks in advance

© Server Fault or respective owner

Related posts about ssl

Related posts about postgresql