I use this header rule for the same thing:

header  LOCAL_INVALID_PTR2  Received =~ /from \S+ \(unknown /
score  LOCAL_INVALID_PTR2         0.8
describe LOCAL_INVALID_PTR2       Header contains no PTR2




Robert
 
 
 
 
 
 
Peace he would say instead of goodbye....peace my brother.
-----Original Message-----
From: Peter Smith [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 13, 2007 6:05 PM
To: users@spamassassin.apache.org
Subject: Checking for PTR record

Hi,

I'm interested in filtering mail relayed from hosts which have no
reverse
dns (PTR) record. A lot of MTAs support rejection of mail from such
hosts,
but I feel this will reject too much genuine mail, so I'm looking to
approach the problem via Spam Assassin - perhaps score 1 or 2 for such
mail.

I was suprised that Spam Assassin doesn't already have a rule for this,
or
that a plugin has not been written; or perhaps I'm looking in the wrong
place? I'm aware of the tests Spam Assassin performs for PRT records for
hotmail, excite, mail.com etc, but there don't seem to be any general
rules.

Thanks,
Pete

Reply via email to