Hello, Configuration OS: RHEL 5.3 MTA: mail_version = 2.7.3
body_checks = regexp:/etc/postfix/body_checks cat /etc/postfix/body_checks /http:\/\/scananida.com.pl\/report.exe/ REJECT Context Postfix usually received and delivered emails by in a fews seconds. Recently I noticed an email having a high delay (945s). Here below its log lines. Oct 29 13:47:39 pf2 postfix/smtpd[22983]: D6D66864044: client=email.com[1.2.3.4] Oct 29 13:47:41 pf2 postfix/cleanup[9868]: D6D66864044: message-id=<0...@e.com> Oct 29 14:03:23 pf2 postfix/qmgr[16800]: D6D66864044: from=<h...@e.com>, size=1862193, nrcpt=1 (queue active) Oct 29 14:03:24 pf2 postfix/smtp[5708]: D6D66864044: to=<d...@o.fr>, relay=fe-data[192.168.1.1]:10025, delay=945, delays=944/0/0/1.2, dsn=2.0.0, status=sent (250 OK, sent 526FB21B_16141_2806_1 BD3C6ED81D5) Oct 29 14:03:25 pf2 postfix/qmgr[16800]: D6D66864044: removed a = time from message arrival to last active queue(http://www.postfix.org/QSHAPE_README.html#active_queue) entry = 944s I noticed in logs that both smtpd AND cleanup daemons stay busy until the qmgr managed this email (at 14:03:23) Question: does the smtpd daemon transmit the email to the cleanup daemon before receiving all the email data ? (which could explain that both the smtpd and cleanup daemons stay busy a long time in case for example the email is big and the network is slow ) Note1: The server was not particularly loaded when message delay occured Note2: I made a test on another server/network with the same configuration (a big email, body_checks on URL ) and I had no delay issue. Thanks for your help Alain