11 msgSMTP authentication with saslauthd against PAM
7 msgError in SMTP sequence
2 msgdkim-milter on relay server unknown-jobid exter...
11 msgStubborn Cert issue
3 msgProblems with false positives
4 msgreject_unverified_recipient case sensitive?
3 msgdkim=fail (verification error: invalid key gran...

? Using header checks on (Postini) X-pstn-levels
\ jdebert (11 Apr 2007)
. \ (Wietse Venema) (11 Apr 2007)
. . \ Christopher Mahmood (12 Apr 2007)
. . . \ mouss (12 Apr 2007)
. . . . \ jdebert (12 Apr 2007)

2 msgCan't find error in my config file. Can you?
1 msgchroot postgresql ssl problem
15 msgWhat cert to buy
3 msgAddress re-writing
9 msgMail Rejected when we relay for a client.
8 msgQueueing up archive messages
2 msgCannot send e-mails from any e-mail clients
1 msgRe: outbound mail failure - need to fix asap -S...
4 msgoutbound mail failure - need to fix asap
3 msgPostfix alias problem
2 msgproblem to send a mail to a command in aliases
3 msgsmtpd_auth
Subject:? Using header checks on (Postini) X-pstn-levels
Group:Postfix-users
From:jdebert
Date:11 Apr 2007


 
My incoming mail fortuitously passes through Postini which appends a
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