Dallman Ross wrote Friday, October 03, 2008 11:15 PM:
SPACE = ' '
TAB = ' ' # a real one
WS = $SPACE$TAB
:0
* $^Subject:.*\/[^$WS]+
{ } SUBJECT = ${MATCH:-none}
This was a mistake I made. MATCH is non-volatile, and if the
recipe here didn't work (because there's no Subject or it's empty),
and if MATCH already holds a value from up above, it would be used
here -- SUBJECT would be set to it. We don't want that. So
change that to:
:0
* $^Subject:.*\/[^$WS]+
{ SUBJECT = ${MATCH:-none} }
:0 E
{ SUBJECT = none }
(Or preset SUBJECT up above to "none" if desired.)
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