procmail
[Top] [All Lists]

Re: Match if "no other but base64 encoding"

2006-12-21 16:55:53
On Fri, Dec 22, 2006 at 12:32:02AM +0100, Ruud H.G. van Tol wrote:

Dallman Ross schreef:

* $ 1^1 ^Content-Transfer-Encoding:[$WS]*(^$WS)*base64

  * $ 1^1 ^Content-Transfer-Encoding:[$WS]*(^[$WS]+)*base64

or simpler (but less accurate), prepare a variable (mimic the \s of
Perl)

  s = "([$WS]|$)"

Well, how about

    optBWS = [$WS]*(^[$WS]+)*

("Optional body whitespace".)  Headers of course are expanded
already across newline continuations by procmail, so don't need
all that.  But otoh, I don't suppose it will hurt much there,
either.

What is the name for MIME-part headers inside the body, anyway?
I tend to call them pseudo-headers.

Dallman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail