https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7653
Bug ID: 7653
Summary: Applying eval:check_uridnsbl to header does not work
Product: Spamassassin
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Rules
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
When using
eval:check_uridnsbl
in a rule for "header" this does not work, e.g.
urirhsbl NAME_OF_RULE foo.bar.tld. A
header NAME_OF_RULE eval:check_uridnsbl('NAME_OF_RULE')
describe NAME_OF_RULE Some text here
tflags NAME_OF_RULE net
score NAME_OF_RULE 2.5
Using the same for a body rule e.g.
urirhsbl NAME_OF_RULE foo.bar.tld. A
body NAME_OF_RULE eval:check_uridnsbl('NAME_OF_RULE')
describe NAME_OF_RULE Some text here
tflags NAME_OF_RULE net
score NAME_OF_RULE 2.5
it works perfectly.
The idea behind applying a blacklist to header is to block e.g. From: headers
by means of a dns blacklist.
(And yes, the Mail::SpamAssassin::Plugin::URIDNSBL was loaded ;-) )
As to
http://svn.apache.org/repos/asf/spamassassin/tags/spamassassin_release_3_0_0rc3/rules/25_uribl.cf
it should be possible to apply the eval:check_uridnsbl on headers.
--
You are receiving this mail because:
You are the assignee for the bug.