[Gllug] More Procmail

Jackson, Harry HJackson at colt-telecom.com
Tue Feb 26 10:21:56 UTC 2002



> -----Original Message-----
> From: Jonathan Dye [mailto:jonathan.dye at automationpartnership.com]
> Sent: 26 February 2002 08:15
> To: gllug at linux.co.uk
> Subject: Re: [Gllug] More Procmail
> 
> 
> >:0 Bh:
> >* -5^0
> >* 1^0 .*money
> >* 1^0 .*loan
> >* 1^0 .*cash
> >* 1^0 .*apr
> >* 1^0 .*free
> >$SPAMFILE
> 
> I've never seen the 1^0 syntax before, what does it mean?  I 
> can't find
> anything about it in the man pages for procmail or regular 
> expressions.

>From the man page

This can be described by the following concise formula: 4 n n k-1 x - 1 w *
Sum x = w * ------- k=1 x - 1 It represents the total added score for this
condition if n matches are found. 

Note that the following case distinctions can be made: 

x=0 

Only the first match will contribute w to the score. Any subsequent matches
are ignored. 

x=1 

Every match will contribute the same w to the score. The score grows
linearly with the number of matches found. 



I would appreciate if someone could please enlighten me to this particularly
the left side of the equation.


                                             n
                   n   k-1               x   - 1
              w * Sum x    = w * ----------
                   k=1                    x - 1



Harry







*************************************************************************************
COLT Telecommunications
Registered in England No. 2452736
Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ
Tel. 020 7390 3900

This message is subject to and does not create or vary any contractual
relationship between COLT Telecommunications, its subsidiaries or 
affiliates ("COLT") and you. Internet communications are not secure
and therefore COLT does not accept legal responsibility for the
contents of this message.  Any view or opinions expressed are those of
the author. The message is intended for the addressee only and its
contents and any attached files are strictly confidential. If you have
received it in error, please telephone the number above. Thank you.
*************************************************************************************


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list