On 5/19/11 8:07 AM, "RW" <rwmailli...@googlemail.com> wrote:

> On Thu, 19 May 2011 08:15:00 +0200
> John Wilcock <j...@tradoc.fr> wrote:
> 
>> Le 19/05/2011 04:46, John Hardin a écrit :
>>> Sure. Well, not a _single_ rule, but you can achieve what you
>>> want...
> 
>>> header     RELAYCOUNTRY_GOOD   X-Relay-Countries=~/(?:US|CA|FR)/
>>> describe   RELAYCOUNTRY_GOOD   Relayed through trusted country
>>> score      RELAYCOUNTRY_GOOD   -1.00
>> 
>> That could be simplified:
>> 
>> header     __RELAYCOUNTRY_GOOD   X-Relay-Countries=~/(?:US|CA|FR)/
>> meta       RELAYCOUNTRY_NOTGOOD  __HAS_RCVD && !RELAYCOUNTRY_GOOD
>> 
>> [except of course that you might find some legit French senders, for
>> example, relaying via servers elsewhere in Europe, so the list of
>> "good" countries might need to be a bit longer than you initially
>> think]

Also, newly allocated space is listed as XX until you update the database.
I try to do that every month or so (I used to do it right after updating my
bogon list in bind, but now that the bogon list is static I need another
reminder...)

In the IP-Country tarball, there is a dbmScripts directory that contains the
necessary items to update the databases.

-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281

Reply via email to