Invalid postfix queue files (UNCLASSIFIED)

Kash, Howard (Civ, ARL/CISD) hmkash at
Tue Jun 12 13:49:33 IST 2007

Classification:  UNCLASSIFIED 
Caveats: NONE

On 09/06/07, Glenn Steen <glenn.steen at> wrote:
> On 08/06/07, Kash, Howard (Civ, ARL/CISD) <hmkash at> wrote:
> >
> > After upgrading to MS 4.60.8, MailScanner has started reporting "New
> > Found invalid queue files: <list of queue names>".  Each of the
queue files
> > appears to have a truncated message contents section and 90% of them
> > with "To: undisclosed-recipients:;".  There's a total of about 30 of
> > since I upgraded on June 4.  Anyone else seeing this?  I also
> > postfix from 2.3.9 to 2.3.11 at the same time, but figured I'd start
> > first since the postfix group will blame MailScanner anyway...
> >
> >
> > Thanks,
> > Howard
> Hi Howard,
> Do you employ any milter(s)?
> If not, the only changes that could possibly affect PF in that version
> of MS would be the spin-through of the body.... and any error in that
> would be.... more fatal:-)
> As is, I drop any mails hitting the end of the queue file from the
> batch, in that code segment. That way, it'll be picked up by the next
> one running through hold, hopefully more completely written than
> before. The only other way to break out of the loop is by finding the
> X record after the body... So any error should have rather disastrous
> (in a more prominent way:-) effects.
> None of the p record changes actually change how things are stored
> into the message object... apart from handling the p records (jumping
> to where they point) and w records (just ignoring them, they signify
> deleted records) I just let Jules code copy everything as before.
> Hm, one would want to get a look at both the queue files _before_ and
> _after_ MS. Probably a tad too much to wish for:-).
> Could you send us one of them? Or at least the postcat'd result?
> Cheers

No, don't use milters.  No errors in logs regarding p records.  The only
error is:

Jun 11 09:40:41 mailserver MailScanner[6069]: New Batch: Found invalid
queue files:0B06F50582D E1AB5505840 42F50505842 248EB505887 2EAC7505897
1575450589E 818BB5058AC C8D135058BB 0FC8C5058E1 09C92505914

Here's a postcat of one of the invalid queue files:

*** ENVELOPE RECORDS 09C92505914 ***
message_size:             495             623               1
message_arrival_time: Mon Jun 11 06:21:56 2007
create_time: Mon Jun 11 06:22:02 2007
named_attribute: rewrite_context=remote
sender: wemihopzxds at
named_attribute: log_client_address=
named_attribute: log_protocol_name=SMTP
named_attribute: client_address=
named_attribute: client_address_type=2
named_attribute: dsn_orig_rcpt=rfc822;user at
original_recipient: user at
recipient: user at
*** MESSAGE CONTENTS 09C92505914 ***
Received: from
( [])
         by (Postfix) with SMTP id 09C92505914
         for <user at>; Mon, 11 Jun 2007 06:21:56 -0400 (EDT)
Received: from (localhost.localdomain [])
         by (Postfix) with ESMTP id 1[6
Message-Id: <20070611102202.09C92505914 at>
Date: Mon, 11 Jun 2007 06:21:56 -0400 (EDT)
From: wemihopzxds at
To: undisclosed-recipients:;
*** HEADER EXTRACTED 09C92505914 ***
*** MESSAGE FILE END 09C92505914 ***

All logs pertaining to this message:

Jun 11 06:22:02 mailserver postfix/smtpd[17535]: 09C92505914:[]
Jun 11 06:22:03 mailserver postfix/cleanup[18172]: 09C92505914: hold:
header Received: from
( [])??by (Postfix) with SMTP id 09C92505914??for
<user at>; Mon, 11 Jun 2007 06:21:56 - from[];
from=<wemihopzxds at> to=<user at> proto=SMTP
Jun 11 06:22:03 mailserver postfix/cleanup[18172]: 09C92505914:
message-id=<20070611102202.09C92505914 at>

Classification:  UNCLASSIFIED 
Caveats: NONE

More information about the MailScanner mailing list