On Fri, Apr 04, 2003 at 07:57:08AM -0700, Daryle A. Tilroe wrote:
The best way to get the boundary would be to use a match on the
original boundary definition in the header and then use that as
your regexp string.
Okay, here is an improved version. It looks for what should
be a message part but which is actually empty or just $WS.
SPACE = " "
TAB = " "
WS = "$SPACE$TAB"
MATCH
:0
* HB ?? ^Content-Type:.*\<\/boundary="\/[^"]+
* $ 1^1 B ?? ^Content-T[^$WS]+:[^:]+(^[$WS]*)+--$\MATCH
action
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail