procmail
[Top] [All Lists]

Re: Received: - header split up in three separate lines in latest sendmail

1996-12-11 10:16:33
On Wednesday 11 December 96, at 15 h 35, the keyboard of Christophe 
Wolfhugel <wolf(_at_)pasteur(_dot_)fr> wrote:

I would be surprised that procmail does not handle properly multi-line
headers. Procmail is good software !

And indeed, procmail 3.10 (the last one being 3.11something) works fine. 
You can keep rules like that one:

:0
* ^Received:.*cyberpromo\.com
/dev/null

This is because procmail, for a very long time, folds the multi-lines 
headers in one line before grepping it.

Ironically, this very example is given in procmail documentation as a 
good reason why you should use procmail and not just a quick-and-dirty 
Perl script written by someone who doesn't even know that RFC822 headers 
can be multi-lines.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Received: - header split up in three separate lines in latest sendmail, Stephane Bortzmeyer <=