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:Re: ? Using header checks on (Postini) X-pstn-levels
Group:Postfix-users
From:jdebert
Date:12 Apr 2007


 
mouss wrote:
> Christopher Mahmood wrote:
>> * Wietse Venema (wietse) [070411 16:45]:
>>
>>> jdebert:
>>>
>>>> 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.
>>>>
>>> To discard 0.* .. 29.* and less:
>>>
>>> /^X-pstn-levels:\s+\(S:\s+[1-2]?[0-9]\./ discard
>>>
>>
>> Almost, there's no space after 'S:' when >= 10:
>> /^X-pstn-levels:\s+\(S:\s*[1-2]?[0-9]\./ discard
>> For what it's worth, 1.0 is a fairly aggressive threshold.
>>
>
> and if the scores come in a different order:
> /^X-pstn-levels:.*\WS:\s*[1-2]?[0-9]\./ discard
>
>
>
>
Of course! I was thinking in regexp, not pcre.

Caffeine is no longer working. Time to reconsider alternating current.

--
jd
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


© 2004-2008 readlist.com