Queue file corruption with MS + postfix +debian

Bento Loewenstein listas at TKS.COM.BR
Sat Dec 18 13:40:27 GMT 2004


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

i have this problem with some debian boxes showing a few corrupted queue
files.

the full scoop is this:

most of them were running dibian stable (woody) with postfix 1.1 and
amavis. then we decided to move them to postfix 2.1 + mailscanner to use
some of mailscanner's capabilities such as rules.

so instead of doing a full dist-upgrade to debian testing we took
diferent paths for each of them to see what would happen.

so we have some boxes with:

- postfix from backports.org and mailscanner 4.30 and perl 5.6.1 from
woody (lets call them "type 1")
- postfix from debian testing, mailscanner 4.36 and perl 5.8.1 partially
upgraded used apt-get's "pinning". most packages are still from woody,
with a bunch of depencies from "sarge" to run MS + postfix 2.1 (lets
call this kind "type 2" boxes)
- an ancient redhat 7.2 with postfix 2.1.4 + mailscanner 4.35 with perl
5.6.1 (call them "type 3")

In "type 3" and "type 1" machines i only have corrupt queue files
ocasionally, 2 or 3 a month maybe, but in "type 2" boxes (the ones
"pinned" with sarge packages) i consistently have 3 or 4 corrupt files
every day. postfix always claims the same: "rcpt count mismatch"

I assume this is something specific to my "pinned" debian, since it
doesn't happend at all with red hat and very litle with boxes using
backports.org's postfix. Bellow there's a list of packages from the
"pinned" machines and some logs.

strange as it is, if i return the corrrupt messages to postfix's "hold"
queue, so MS scans them again, they end up delivered normally.

i even mailed Julian this week but he couldn't reproduce the error, so
does anyone have any idea of what's wrong ?

BTW. i have a workaround to this problem (a script to return corrupt
messages to the hold queue) but what i really want is to _understand_
what's going on.

TKS,

BEnto Loewenstein


Packages:

postfix             2.1.4-5
mailscanner         4.35.11-1
libarchive-tar-perl   0.22-2
libarchive-zip-perl   1.14-1
libcompress-zlib-perl   1.33-3
libconfhelper-perl   0.12
libconvert-binhex-perl   1.119-2
libconvert-tnef-perl   0.16-2
libconvert-uulib-perl   1.0.3-1
libcurses-perl   1.06-11
libcurses-ui-perl   0.94-1lire1
libdbd-mysql-perl   2.9003-3
libdbi-perl   1.45-1
libhtml-parser-perl   3.36-1
libhtml-tagset-perl   3.03-1
libhtml-tree-perl   3.11-2
libintl-perl   1.11-1
libio-stringy-perl   2.108-1
liblocale-gettext-perl   1.01-17
liblogfile-rotate-perl   1.04-1
libmailtools-perl   1.44-1woody2
libmime-perl   5.415-1
libnet-cidr-perl   0.10-1
libnet-daemon-perl   0.38-1
libnet-pcap-perl   0.04-3
libnet-snpp-perl   1.17-1
libnet-telnet-perl   3.02-1
libperl5.6   5.6.1-8.7
libplrpc-perl   0.2017-1
libsnmp-session-perl   0.90-1
libterm-readkey-perl   2.21-1.3
libtext-charwidth-perl   0.04-1
libtext-iconv-perl   1.2-3
libtext-wrapi18n-perl   0.06-1
libtime-modules-perl   100.010301-1
libtimedate-perl   1.11-1
libunix-syslog-perl   0.100-4
liburi-perl   1.18-1
libwww-perl   5.800-2
libxml-parser-perl   2.34-3
perl   5.8.4-3
perl-base   5.8.4-3
perl-modules   5.8.4-3


Some logs:

Dec 17 19:32:59 chris postfix/smtpd[3706]: 22D2D4C1BB:
client=unknown[131.1.1.8]
Dec 17 19:32:59 chris postfix/cleanup[3802]: 22D2D4C1BB: hold: header
Received: from prxexc.taterka.com.br (unknown [131.1.1.8])??by
chris.taterka.com.br (Postfix) with ESMTP id 22D2D4C1BB??for
<srt at uol.com.br>; Fri, 17 Dec 2004 19:32:59 -0200 (BRST) from
unknown[131.1.1.8]; from=<sara.taylor at taterka.com.br>
to=<srt at uol.com.br> proto=ESMTP helo=<prxexc.taterka.com.br>
Dec 17 19:32:59 chris postfix/cleanup[3802]: 22D2D4C1BB: hold: header
Received: by PRXEXC with Internet Mail Service (5.5.2653.19)??id
<YYDSZVDV>; Fri, 17 Dec 2004 19:40:01 -0300 from unknown[131.1.1.8];
from=<sara.taylor at taterka.com.br> to=<srt at uol.com.br> proto=ESMTP
helo=<prxexc.taterka.com.br>
Dec 17 19:32:59 chris postfix/cleanup[3802]: 22D2D4C1BB:
message-id=<219641918B72D3119FC3005004AC8A6A020C0E3E at PRXEXC>
Dec 17 19:33:30 chris MailScanner[31078]: Requeue: 22D2D4C1BB to BE1804C211
Dec 17 19:33:30 chris postfix/qmgr[3540]: BE1804C211:
from=<sara.taylor at taterka.com.br>, size=7604152, nrcpt=2 (queue active)
Dec 17 19:33:30 chris postfix/qmgr[3540]: warning: BE1804C211: rcpt
count mismatch (1)
Dec 17 19:33:35 chris postfix/smtp[3688]: warning: corrupted queue file:
active/B/BE1804C211
Dec 17 19:33:36 chris postfix/qmgr[3540]: warning: saving corrupt file
"BE1804C211" from queue "active" to queue "corrupt"

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list