On 02/10/2015 06:00 PM, Paul Stead wrote:
On 10/02/15 16:55, Axb wrote:
On 02/10/2015 05:39 PM, Paul Stead wrote:
According to
https://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Plugin_URIDNSBL.html
uridnsbl cannot have the subtest you want
3.2.x docs? seems slightly old .-)
https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Plugin_URIDNSBL.html
flags NAME_OF_RULE a
The 'a' flag may be applied to rules corresponding to uridnsbl and
uridnssub directives. Host names from URLs will be mapped to their IP
addresses, which will be sent to blocklists. When both 'ns' and 'a'
flags are specified, both queries will be performed.
Oops! Sorry didn't check version, but I think the limitation on that
directive is the same?
uridnssub would be the directive required to allow a subtest?
--
pls try and if it works, open a bug
(mind the MUA line breaks)
if (version >= 3.004000)
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
uridnssub URIBL_SBL_A zen.spamhaus.org. A 127.0.0.2
body URIBL_SBL_A eval:check_uridnsbl('URIBL_SBL_A')
describe URIBL_SBL_A Contains URL's A record listed in the SBL
blocklist
tflags URIBL_SBL_A net a
endif
endif
Also we don't want "reuse" to affect RuleQA on this rule.