procmail
[Top] [All Lists]

Re: help with scoring & size condition

2003-01-13 14:53:57
David W. Tamkin wrote:
People seem to be saying that the procmailsc(5) man page has an
example of this form:

 * anumber^0 > anothernumber

which is supposed to score anumber if the message is bigger than
anothernumber bytes and score zero otherwise.  [Of course, it
doesn't work that way: unless anothernumber is 0 (which would cause
an overflow), that condition is guaranteed to score 1 point no
matter.]

Now I'm confused - _1_ point? The man page says:

| If the length of the actual mail is M then:
|
|        * w^x  > L
|
| will generate an additional score of:
|
|                   x
|            /  M  \
|        w * | --- |
|            \  L  /

So with your variables wouldn't that be

              /       M       \ 0
    anumber * | ------------- |   = anumber
              \ anothernumber /

instead of 1?

/HW

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