[Esa-l] SoBig local rule - updated

John D. Hardin jhardin at impsec.org
Tue Sep 2 17:11:04 PDT 2003


On Tue, 2 Sep 2003, Adi Linden wrote:

> > For the "OR" rules you need to be using a weight of 9876543210
> > (include the zero).
> > 
> > >         * 9876543210^1 ^Content-(Type|Disposition):.*name *= 
> > > *"?(your_details|details|application|document.*|movie.*|wicked_scr|your_document|thank_you)\.(pif|scr)"?
> > >         * 9876543210^1 ^Content-(Type|Disposition):.*$.*name *= 
> > > *"?(your_details|details|application|document.*|movie.*|wicked_scr|your_document|thank_you)\.(pif|scr)"?
> 
> I am trying to understand the rules in local-rules.procmail. Why is there 
> a weight associated with the Content- line?

It's an "a and b and c and (d or e)" construct. The weights allow you
to do a logical OR.

> Also, the promailsc man page 
> says the highes weight number supported is 2147483647 but 9876543210 is 
> way larger. 

9876543210 is a lot easier to type and remember, and it works just
fine for "really big". :)
 
--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin at impsec.org                        pgpk -a jhardin at impsec.org
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  ...the Fates notice those who buy chainsaws...
                                              -- www.darwinawards.com
-----------------------------------------------------------------------
   64 days until Matrix Revolutions



More information about the esa-l mailing list