Bug 7109 - Test for Spamhaus CSS missing
Summary: Test for Spamhaus CSS missing
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: PC All
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-03 20:56 UTC by Peter Nelson
Modified: 2014-12-04 13:37 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nelson 2014-12-03 20:56:41 UTC
The RCVD_IN_CSS rule that checks a relay against the Spamhaus CSS list seems to have disappeared.  Looking at my 3.3.x rules the test existed in 72_active.cf.  In my 3.4.x rules it no longer exists.

It seems like the follow should be added to 20_dnsbl_tests.cf, around where the other Spamhaus ZEN checks are done:

# CSS is the Spamhaus Block List: http://www.spamhaus.org/css/
header RCVD_IN_CSS              eval:check_rbl_sub('zen', '127.0.0.3')
describe RCVD_IN_CSS            Received via a relay in Spamhaus CSS
tflags RCVD_IN_CSS              net
reuse  RCVD_IN_CSS
Comment 1 AXB 2014-12-04 12:59:54 UTC
looking...
Comment 2 AXB 2014-12-04 13:37:28 UTC
atm SVN is down for maintenance but this is the rule I'll be commiting:

# CSS is the Spamhaus CSS Component of the SBL List: http://www.spamhaus.org/css/
header RCVD_IN_SBL_CSS		eval:check_rbl_sub('zen', '127.0.0.3')
describe RCVD_IN_SBL_CSS	Received via a relay in Spamhaus SBL-CSS
tflags RCVD_IN_SBL_CSS		net
reuse  RCVD_IN_SBL_CSS

score RCVD_IN_SBL_CSS 0 3.558 0 3.335 # n=0 n=2


You can temporarily add to you local.cf

As soon as I can commit and sa-update pushes it it will show up in 
20_dnsbl_tests.cf

Thanks for the heads up