procmail
[Top] [All Lists]

Re: strlen() in procmail

2003-01-14 22:36:02
Bart asked,

| While we're on the subject of short and complete ...
|
| What's the most succinct way to set $MATCH without otherwise affecting
| the outcome of the conditions?

When I read that far I thought of what you turned out already to have farther
along as your own third suggestion,

| The best I can come up with is:
|
| :0c:
| * ^Subject:\<+Re:
| * 1^0
| * 1^0 ^In-Reply-To:[^<]+<\/[^>]+
| any_old_mailbox_will_do
|
| However, that changes $=, which is in a sense also changing the outcome.

Every attempted recipe changes $= as soon as procmail either starts the action
or abandons the recipe as a mismatch.  (If the recipe has no weighted
conditions, $= is reset to 0.)  If your criteria include preserving $= without
saving it in an ordinary variable, your quest is hopeless.


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

<Prev in Thread] Current Thread [Next in Thread>