procmail
[Top] [All Lists]

Re: Size of the message

2005-04-20 02:12:17
On Mon, 18 Apr 2005, Udi Mottelo wrote:


        Does procmail count the size of the message every time
        that I use "<" or ">"?  or it saves the number somewhere?

        I have more then 5 recipes that start with:

* < 5000000

        Now, I wander if it's silly to do so.  Any idea?


        Thanks to all of the answers.  It's important to us because
        we have hight LA in this days and we try to be streamlined
        in any corner. I can't group the recipes into nested braces
        because the size are different in some cases so I'll adopt
        David's way.  BTW. last night I thought about this:

* 1^1 > 1
{ SIZE = $= }

        Now, if the limit is 5000:

* SIZE ?? ^^[1-4]?[0-9]?[0-9]?[0-9]?^^

        But David's way is much readable.


Thanks again,
  Udi





Thanks,
 Udi

____________________________________________________________
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


+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.


---------------------------------------------------------------------------
Udi Mottelo - Unix System Administrator.
Faculty of Engineering - Tel-Aviv University
E-Mail: uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il    Phone: +972-3-6408958
---------------------------------------------------------------------------


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