procmail
[Top] [All Lists]

Re: recipe for Content-Type:

2002-07-17 05:01:24
On Tue, 16 Jul 2002, Bart Schaefer wrote:

On Tue, 16 Jul 2002, Keith wrote:

Use a lockfile, mandate headers and use wild cards.

:0H:
* ^Content-Type:.*application.octet.stream.*

Actually you shouldn't use the H flag.  It's the default, and in the
current version (3.22) of procmail there's a bug wherein if you once
turn the H flag on explicitly, it never gets turned off, so body searches
don't work thereafter.

        1> "H"?  Who says that "Content-Type:" is only in the header?

        1> Yes the ".*" is too much.

        2> Bart right about the bug.


        So,

* B ?? ^Content-Type:.*application.octet.stream


Bye,
 Udi


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail