Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: POSTFIX MAIL (mail.postfixadmin.gmessaging.net)
Date: Tue Dec 03 2013 - 03:50:45 CST
OS: RHEL 5.3
MTA: mail_version = 2.7.3
body_checks = regexp:/etc/postfix/body_checks
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: D6D66864044: client=email.com[18.104.22.168]
Oct 29 13:47:41 pf2 postfix/cleanup: D6D66864044: message-id=<01e.com>
Oct 29 14:03:23 pf2 postfix/qmgr: D6D66864044: from=<he.com>, size=1862193, nrcpt=1 (queue active)
Oct 29 14:03:24 pf2 postfix/smtp: D6D66864044: to=<do.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: 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