procmail
[Top] [All Lists]

RE: Using procmail on mail relay

2007-10-22 11:36:20
Christopher Lindsey wrote Monday, October 22, 2007 7:51 PM:

LuKreme [wrote:]
[Christopher Lindsey wrote:]

   At any rate, wouldn't this catch anything that's 10.1 - 99.9?

      (10\.[1-9]|1[1-9]\.[0-9]|[23456789][0123456789]\.)

   [1-9][0-9]\.[0-9]

   am I missing something?

That would also match 10.0, but earlier he said he only wanted 10.1 or
above.  

10.0 sure would make things easier though!  ;)

Did he really want to stop at 99.9?  This catches 10.1 or above,
with no upper limit, I think.  I haven't tested it.

    ([1-9][1-9]|10([0-9]|[.][1-9]))

Or:

    :0
    * $ -$SPAMC_SCORE ^0
    *            10.1 ^0
    { }
    :0 E
    { TEN_POINT_ONE_OR_ABOVE = TRUE }

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

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