Using the recipe below, I get a MATCH when encountering
multipart/alternative, but not for text/html. (I haven't
experienced any text/enriched yet on this test run).
The recipe succeeds for both cases, but text/html leaves
MATCH empty.
:0 HB
* ^Content-Type: \/multipart/alternative|text/(html|enriched)
{
TYPE="$MATCH"
LOG="`date`: TYPE: $TYPE; MATCH: $MATCH
"
...
}
Can someone explain the problem? I can speculate all day long
about the body scan overwriting the header scan, about the
details of the body contents, etc., but it seems if the recipe
matches something---and it does---then it should set MATCH to
whatever the recipe matched. Maybe I've made a typo I simply
can't see... :)
FWIW, I'm using procmail 3.10, as my ISP chooses to do.
TIA,
Jim
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail