| |||||||||||||||||||||||||||||||
|
couple of headers which hold a spam score for the message. I am interested in using header checks to discard spam based on the spam score in the X-pstn-levels header. The header (from a series of particularly pernicious pornographic image spam) looks like this-- X-pstn-levels: (S: 0.00000/96.74935 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) I want to evaluate the first number before the slash which is variable, ranging from 0.00000 to 99.99999 and somehow arbitrarily set a maximum number below which the message will be discarded. Can this be done with pcre? I am having trouble working out how to define an arbitrary numeric range. -- jd Just go with the flow control, roll with the crunches, and, when you get a prompt, type like hell.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com