On 2007-10-08 00:16:25 +0200, Santiago Vila wrote:
> If you think you have discovered a bug, your bug report should be
> self-contained (you do not explain what does DEVNULL mean), and it
> must be as simple as possible. I think it is not asking too much.
DEVNULL contains a number, but that's not important. As I said
in the bug report, the rule wasn't taken into account. If you
want a more complete example (copy-pasted from my .procmailrc):
:0
* ^Date: *,
{
LOG="Rejected: Invalid date."
EXITCODE=$DEVNULL
:0
/dev/null
}
:0
* ^X-Mailer: The Bat
{
LOG="Rejected: due to a bug in procmail, mail sent with The Bat is rejected."
EXITCODE=$DEVNULL
:0
/dev/null
}
the second rule works (the message is rejected), but not the first
one. This is not normal.
Now, the bug may come from formail (the mail is rewritten several times
by formail, but it shouldn't change the "Date:" header). I've added the
following at the very beginning of my .procmailrc:
:0
* ^Date: *,
invalid-date
:0
* ^X-Mailer: The Bat
the-bat
to make sure that the effect doesn't depend on what is executed before
and that what is stored hasn't been modified at all.
--
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)