procmail
[Top] [All Lists]

Procmail corrupting User mailfile

2003-06-10 17:33:09
It appears that procmail is corrupting the mail file for users when the user receives a message with Content-length mismatch

Spam-D (spam assassin catches this and passes the message back and the maillog shown delivery. After the message is received, pop then gives the error that the mailbox is in a invalid format.

There is no messages in the mailbox.

If the user received a normal message then the mailbox begins to function again.

Log follows

Jun 3 10:32:12 hmail ipop3d[13934]: Login user=******* host=[192.*.***.***] nmsgs=0/0 Jun 3 10:32:12 hmail ipop3d[13934]: Logout user=******* host=[192.*.***.***] nmsgs=0 ndele=0 Jun 3 10:32:16 hmail sendmail[13935]: h53HWFEY013935: from=<bounce-divc-1504865(_at_)mail(_dot_)asmusa(_dot_)org>, size=4646, class=0, nrcpts=1, msgid=<LISTMANAGERSQL-1504865-32015-2003(_dot_)06(_dot_)03-13(_dot_)26(_dot_)10--*******#****************(_dot_)***(_at_)mail(_dot_)asmusa(_dot_)org>, proto=SMTP, daemon=MTA, relay=[206.64.120.5] Jun 3 10:32:18 hmail spamd[824]: connection from localhost [127.0.0.1] at port 33212
Jun  3 10:32:18 hmail spamd[13940]: info: setuid to hsiunga succeeded
Jun 3 10:32:18 hmail spamd[13940]: processing message <LISTMANAGERSQL-1504865-32015-2003(_dot_)06(_dot_)03-13(_dot_)26(_dot_)10--*******#****************(_dot_)com(_at_)mail(_dot_)asmusa(_dot_)org> for *******:562, expecting 4929 bytes. Jun 3 10:32:18 hmail spamd[13940]: bad protocol: header error: (Content-length mismatch: 4929 vs. 4923) Jun 3 10:32:18 hmail sendmail[13936]: h53HWFEY013935: to=<*******(_at_)****************(_dot_)***>, delay=00:00:02, xdelay=00:00:01, mailer=local, pri=34833, dsn=2.0.0, stat=Sent
Jun  3 10:33:12 hmail ipop3d[13953]: pop3 service init from 192.*.***.***
Jun 3 10:33:12 hmail ipop3d[13953]: Can't open INBOX (file /var/spool/mail/*******): not in valid mailbox format Jun 3 10:33:12 hmail ipop3d[13953]: Error opening or locking INBOX user=******* host=[192.*.***.***] Jun 3 10:33:12 hmail ipop3d[13953]: Login user=******* host=[192.*.***.***] no mailbox
Jun  3 10:33:12 hmail ipop3d[13953]: Logout user=******* host=[192.*.***.***]

System Information
RH9
procmail 3.22-9
spamassassin-2.44-11.8.x
sendmail-8.12.8-5.90
xinetd-2.3.10-6

is there a recipe that i can use so that procmail will bounce these messages.



----------
This mail is a natural product. The slight variations in spelling and
grammar enhance its individual character and beauty and in no
way are to be considered flaws or defects.

Christopher L. Sherman
IS Hardy Diagnostics
shermanc(_at_)hardydiagnostics(_dot_)com
805-346-2766 Ext. 5670


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>