Am 13.06.2016 um 22:53 schrieb Reindl Harald:
Am 13.06.2016 um 22:10 schrieb Axb:
HA! take a look into list and first thing you find is the moaner needing
help coz he so smart he looks at ANCIENT /3.2.x/doc instead of

https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Plugin_URIDNSBL.html
use

urirhsbl BLAH uribl.thelounge.net. A
or
urirhssub BLAH uribl.thelounge.net. A 127.0.0.2

instead of
uridnsbl

so no "as said the syntax seems to be correct" it is NOT

again: what about fix https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Plugin_URIDNSBL.html which says still:

RULE DEFINITIONS AND PRIVILEGED SETTINGS

uridnsbl NAME_OF_RULE dnsbl_zone lookuptype

Specify a lookup. NAME_OF_RULE is the name of the rule to be used, dnsbl_zone is the zone to look up IPs in, and lookuptype is the type of lookup (TXT or A). Note that you must also define a body-eval rule calling check_uridnsbl() to use this.

This works by collecting domain names from URLs and querying DNS blocklists with an IP address of host names found in URLs or with IP addresses of their name servers, according to tflags as follows.

If the corresponding body rule has a tflag 'a', the DNS blocklist will be queried with an IP address of a host found in URLs.

If the corresponding body rule has a tflag 'ns', DNS will be queried for name servers (NS records) of a domain name found in URLs, then these name server names will be resolved to their IP addresses, which in turn will be sent to DNS blocklist.

Tflags directive may specify either 'a' or 'ns' or both flags. In absence of any of these two flags, a default is a 'ns', which is compatible with pre-3.4 versions of SpamAssassin.

The choice of tflags must correspond to the policy and expected use of each DNS blocklist and is normally not a local decision. As an example, a blocklist expecting queries resulting from an 'a' tflag is a "black_a.txt" ( http://www.uribl.com/datasets.shtml ).

    Example:

     uridnsbl        URIBL_SBLXBL    sbl-xbl.spamhaus.org.   TXT
     body            URIBL_SBLXBL    eval:check_uridnsbl('URIBL_SBLXBL')
describe URIBL_SBLXBL Contains a URL listed in the SBL/XBL blocklist
     tflags          URIBL_SBLXBL    net ns


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to