> -----Original Message----- > From: Leonardo Rodrigues Magalhães [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 29, 2007 8:02 AM > To: spamassassin ML > Subject: question on reverse DNS > > i would like to give some score for messages that came from IP > addresses that does not have the reverse correctly configured. I have > seen a lot of IPs that have some reverse name, but that name does not > point back to the IP address. > Best to block that in your MTA, it probally already does a RNS. Ask for help on your MTA list, or read below for fix for broken SA rule: > is it possible to score no reverse at all and/or no > complete reverse
It is supported in SA, but the rule is broken. I have already submitted a bugzilla with patches, but nothing has been done on sa rules for SA since October 31st. (SA rules folks, highlight: ) See: http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5750 Put this in local.cf, broken rule in 20_dynrdns.cf (don't fix it there!!!!) This in 20_dynrdns.cf header RDNS_NONE X-Spam-Relays-Untrusted =~ /^[^\]]+ rdns= / Put this in local.cf: Sbould be: header __RDNS_NONE X-Spam-Relays-Untrusted =~ /^[^\]]+ rdns= / And then assign the score you want: default is 0.1 (from 50_scores.cf) Do something like: score RDNS_NONE 20.0 (yes, the score goes on the RDNS_NONE, not the metarule __RDNS_NONE) You can confirm the broken rule before and check you fixed it after by su ing to the user that runs/owns SA/spamc, and run spamassassin --lint. Before you will get a complaint about the rule, after it should be fine. _________________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(tm). For Information please see http://www.spammertrap.com _________________________________________________________________________