Package: procmail
Version: 3.22-11
Severity: normal
In my .procmailrc, I have the following filter:
:0
* ^Date: *,
{
LOG="Rejected: Invalid date."
EXITCODE=$DEVNULL
:0
/dev/null
}
but procmail doesn't take it into account on messages with the header
Date: , 7 Oct 2007 11:17:54 -0600
or similar. I'm sure that procmail really ran and skipped this rule
because near the end, I have:
:0 fhw
| formail -i "X-Procmail: processed on vinc17.org" \
-i "X-Procmailrc: \$Id: procmailrc 19382 2007-10-07 18:16:08Z lefevre $"
(which gets updated each time I commit my procmailrc file and upload
it to the mail server). I also checked the "Date:" header hasn't been
modified after procmail has run, thanks to DATE=`formail -xDate:` and
a formail -i "X-Old-Date: ***$DATE***". I've also checked the "Date:"
header with Emacs in case there were control characters. So, this
seems to be really a bug in procmail, but this is strange.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]