Jeremy Kister wrote:
> On 5/30/2007 10:46 PM, Matt Kettler wrote:
>   
>> You'll want to use the X-Spam-Relays-Untrusted metadata.
>>
>> Look at how __RDNS_DYNAMIC_ADELPHIA works in 20_dynrdns.cf (assuming
>> you're using 3.2.x)
>>     
>
> I'm not, but can look at the code.  I like new releases to settle in for
> a while ;p
>
>   
>> That said, are you sure you really want to do this?? SA already has a
>> pretty extensive ruleset to detect this kind of thing built-in..
>>     
>
> no, I'm not sure.  I dont see any rules being triggered when I send from
> a host that has spammy reverse dns.  That was my reason for looking into
> a solution.  Are the tests that are supposed to be triggered on a host
> like c-10-0-0-1.hsd1.pa.example.net in 3.1.8 ?  or in 3.2 ?
>   
In 3.2, the sub-test __RDNS_DYNAMIC_IPADDR should trigger, causing
RDNS_DYNAMIC to trigger.

c-67-164-133-216.client.comcast.net is an example for that subtest.

See also: 
http://svn.apache.org/repos/asf/spamassassin/branches/3.2/rules/20_dynrdns.cf

Note the use of the ^ anchor at the beginning of the rule to make sure
it matches the first untrusted host, and not any others.


Reply via email to