Postfix/Mailscanner truncated messages

Kash, Howard (Civ,ARL/CISD) hmkash at ARL.ARMY.MIL
Thu Aug 28 20:14:08 IST 2003


Wietse refuses to help on the postfix side, maybe someone from the
MailScanner side has an idea...


I have a two-instance Postfix/MailScanner configuration which is working
great, except that every once in a while a message is delivered without
the body (only headers).  Whenever this occurs, there seems to always be
a "skipped, still being delivered" message in the logs (see below).  It
appears that the message is being temporarily moved to the deferred
queue before the full message has been received.  For the brief instant
that the incomplete message is in the deferred queue prior to being
"skipped", MailScanner picks it up for scanning and delivery.
Eventually, the full message is received, moved to the deferred queue
(again) and delivered normally.  Does this sound reasonable?  Is there a
race condition or a file locking problem here?  Any ideas for a fix?


Thanks,
Howard



Aug 26 16:28:39 mail1 postfix/smtpd[22741]: E1936DEB06:
client=mail.xyz.com[x.x.x.x]
Aug 26 16:28:40 mail1 postfix/cleanup[22604]: E1936DEB06:
message-id=<FA554FFA9882694588EE958C97A266A905A6D0 at host.xyz.com>

[Truncated instance - notice how size changes to 1000]
Aug 26 16:28:40 mail1 postfix/nqmgr[3442]: E1936DEB06:
from=<user at xyz.com>, size=7275, nrcpt=1 (queue active)
Aug 26 16:28:40 mail1 postfix/nqmgr[3442]: E1936DEB06:
to=<hmkash at arl.army.mil>, relay=none, delay=1, status=deferred (deferred
transport)
Aug 26 16:29:04 mail1 postfix/nqmgr[3442]: E1936DEB06: skipped, still
being delivered
Aug 26 16:29:23 mail1 postfix/nqmgr[3529]: AEA4C636C3:
from=<user at xyz.com>, size=1000, nrcpt=1 (queue active)
Aug 26 16:29:23 mail1 postfix/cleanup[21814]: BDA97636C9:
message-id=<FA554FFA9882694588EE958C97A266A905A6D0 at host.xyz.com>
Aug 26 16:29:23 mail1 postfix/nqmgr[3529]: BDA97636C9:
from=<user at xyz.com>, size=1134, nrcpt=3 (queue active)
Aug 26 16:29:23 mail1 postfix/local[24092]: AEA4C636C3:
to=<hmkash at arl.army.mil>, relay=local, delay=44, status=sent (forwarded
as BDA97636C9)
Aug 26 16:29:23 mail1 postfix/smtp[22169]: BDA97636C9:
to=<hmkash at exchange.arl.army.mil>, orig_to=<hmkash at arl.army.mil>,
relay=exchange.arl.army.mil[y.y.y.y], delay=0, status=sent (250 2.6.0
<FA554FFA9882694588EE958C97A266A905A6D0 at host.xyz.com> Queued mail for
delivery)
Aug 26 16:29:24 mail1 postfix/smtp[22453]: BDA97636C9:
to=<hmkash at unixhost.arl.army.mil>, orig_to=<hmkash at arl.army.mil>,
relay=unixhost.arl.army.mil[z.z.z.z], delay=1, status=sent (250
Submitted & immediates started (msg.aa625864))

[Complete instance - size is correct]
Aug 26 16:30:06 mail1 postfix/nqmgr[3442]: E1936DEB06:
from=<user at xyz.com>, size=7275, nrcpt=1 (queue active)
Aug 26 16:30:06 mail1 postfix/nqmgr[3442]: E1936DEB06:
to=<hmkash at arl.army.mil>, relay=none, delay=87, status=deferred
(deferred transport)
Aug 26 16:32:38 mail1 postfix/nqmgr[3529]: 6C492636C3:
from=<user at xyz.com>, size=7470, nrcpt=1 (queue active)
Aug 26 16:32:38 mail1 postfix/cleanup[21820]: D4258636E1:
message-id=<FA554FFA9882694588EE958C97A266A905A6D0 at host.xyz.com>
Aug 26 16:32:39 mail1 postfix/nqmgr[3529]: D4258636E1:
from=<user at xyz.com>, size=7604, nrcpt=3 (queue active)
Aug 26 16:32:39 mail1 postfix/local[24092]: 6C492636C3:
to=<hmkash at arl.army.mil>, relay=local, delay=240, status=sent (forwarded
as D4258636E1)
Aug 26 16:32:39 mail1 postfix/smtp[24532]: D4258636E1:
to=<hmkash at exchange.arl.army.mil>, orig_to=<hmkash at arl.army.mil>,
relay=exchange.arl.army.mil[y.y.y.y], delay=1, status=sent (250 2.6.0
<FA554FFA9882694588EE958C97A266A905A6D0 at host.xyz.com> Queued mail for
delivery)
Aug 26 16:32:39 mail1 postfix/smtp[24532]: D4258636E1:
to=<hmkash at unixhost.arl.army.mil>, orig_to=<hmkash at arl.army.mil>,
relay=unixhost.arl.army.mil[z.z.z.z], delay=1, status=sent (250
Submitted & immediates started (msg.aa626118))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4704 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20030828/ac79694a/smime.bin


More information about the MailScanner mailing list