procmail
[Top] [All Lists]

Re: what does 1^0 mean ?

2001-12-19 23:18:51
On 20 Dec, CaT wrote:
| On Wed, Dec 19, 2001 at 11:52:51PM -0500, Don Hammond wrote:
| > That's not correct. Sean already pointed Peter to the procmailsc man
| > page but, just so there's no confusion, succeeding scored conditions are
| > all checked until either a) a non-scored condition in the recipe is not
| > matched or b) a score of 2147483647 or -2147483647 is reached meaning
| > automatic success/failure.
| 
| Is there any way to configure MAX/MININT for auto-succ/fail scoring? I'd
| rather not have a bunch of rules beginning with * 2147483647^0 - it's
| just messy-looking and procmailrc's tend to be good enough at that on
| their own. ;)

I can't answer the question, but a workaround if "messy" is all you're
concerned with is:

max=2147483647

:0
* $ $max^0 condition
* $ $max^0 condition
action

Just don't forget the '$' at the beginning of each condition to get the
variable expanded.

-- 
Reply to list please, or append "6" to "procmail" in address if you must.
Spammers' unrelenting address harvesting forces me to this...reluctantly.


_______________________________________________
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>