Hi, I want to setup amavisd 2.71 with Postfix 2.11 on Ubuntu 14.04 LTS but I get often such errors on the amavisd server:
Feb 1 12:39:29 filter amavis[2564]: (02564-02) (!!)Error on socket: SSL connect attempt failed error:14092110:SSL routines:SSL3_GET_SERVER_HELLO:attempt to reuse session in different context\n Example log: Feb 1 13:11:26 filter amavis[2649]: (02649-02) smtp session reuse (smtp:[5.45.104.114]:10025), 1 transactions so far Feb 1 13:11:26 filter amavis[2649]: (02649-02) smtp cmd> NOOP Feb 1 13:11:26 filter amavis[2649]: (02649-02) smtp resp to NOOP (idle 1531.0 s): 421 4.4.2 smtp.mymailserver.de Error: timeout exceeded Feb 1 13:11:26 filter amavis[2649]: (02649-02) Amavis::Out::SMTP::Session close, disconnecting Feb 1 13:11:26 filter amavis[2649]: (02649-02) new socket using IO::Socket::INET6 to [5.45.104.114]:10025, timeout 35 Feb 1 13:11:26 filter amavis[2649]: (02649-02) smtp greeting: 220 smtp.mymailserver.de ESMTP Postfix, dt: 13.7 ms Feb 1 13:11:26 filter amavis[2649]: (02649-02) smtp cmd> EHLO localhost Feb 1 13:11:26 filter amavis[2649]: (02649-02) smtp resp to EHLO: 250 smtp.mymailserver.de\nPIPELINING\nSIZE 52428800\nETRN\nSTARTTLS\nENHANCEDSTATUSCODES\n8BITMIME Feb 1 13:11:26 filter amavis[2649]: (02649-02) smtp cmd> STARTTLS Feb 1 13:11:26 filter amavis[2649]: (02649-02) smtp resp to STARTTLS: 220 2.0.0 Ready to start TLS Feb 1 13:11:26 filter amavis[2649]: (02649-02) (!!)Error on socket: SSL connect attempt failed error:14092110:SSL routines:SSL3_GET_SERVER_HELLO:attempt to reuse session in different context\n Feb 1 13:11:26 filter amavis[2649]: (02649-02) mail_via_smtp: session failed: Error upgrading socket to SSL: SSL connect attempt failed error:14092110:SSL routines:SSL3_GET_SERVER_HELLO:attempt to reuse session in different context at ./amavisd line 8392. Feb 1 13:11:26 filter amavis[2649]: (02649-02) (!)xkK1LHEcgGRQ FWD from < [email protected]> -> <[email protected]>, 451 4.5.0 From MTA() during fwd-connect (Error upgrading socket to SSL: SSL connect attempt failed error:14092110:SSL routines:SSL3_GET_SERVER_HELLO:attempt to reuse session in different context at ./amavisd line 8392.): id=02649-02 I've tried amavisd-new version 2.71 (Ubuntu) and the current 2.10.1 but with both versions I get the same error. The problem happens sometimes so mails stucks in the Postfix queue. How can I solve this problem? Is this more related to postfix or amavisd? Thanks. Seba
