1Mail::SpamAssassin::PluUgsienr::CUoRnItDrNiSbBuLt(e3d)PMearill:D:oScpuammeAnstsaatsisoinn::Plugin::URIDNSBL(3)
2
3
4

NAME

6       URIDNSBL - look up URLs against DNS blocklists
7

SYNOPSIS

9         loadplugin    Mail::SpamAssassin::Plugin::URIDNSBL
10         uridnsbl      URIBL_SBLXBL    sbl-xbl.spamhaus.org.   TXT
11

DESCRIPTION

13       This works by analysing message text and HTML for URLs, extracting the
14       domain names from those, querying their NS records in DNS, resolving
15       the hostnames used therein, and querying various DNS blocklists for
16       those IP addresses.  This is quite effective.
17

USER SETTINGS

19       uridnsbl_skip_domain domain1 domain2 ...
20           Specify a domain, or a number of domains, which should be skipped
21           for the URIBL checks.  This is very useful to specify very common
22           domains which are not going to be listed in URIBLs.
23

RULE DEFINITIONS AND PRIVILEGED SETTINGS

25       uridnsbl NAME_OF_RULE dnsbl_zone lookuptype
26           Specify a lookup.  "NAME_OF_RULE" is the name of the rule to be
27           used, "dnsbl_zone" is the zone to look up IPs in, and "lookuptype"
28           is the type of lookup (TXT or A).   Note that you must also define
29           a body-eval rule calling "check_uridnsbl()" to use this.
30
31           Example:
32
33            uridnsbl        URIBL_SBLXBL    sbl-xbl.spamhaus.org.   TXT
34            body            URIBL_SBLXBL    eval:check_uridnsbl('URIBL_SBLXBL')
35            describe        URIBL_SBLXBL    Contains a URL listed in the SBL/XBL blocklist
36
37       urirhsbl NAME_OF_RULE rhsbl_zone lookuptype
38           Specify a RHSBL-style domain lookup.  "NAME_OF_RULE" is the name of
39           the rule to be used, "rhsbl_zone" is the zone to look up domain
40           names in, and "lookuptype" is the type of lookup (TXT or A).   Note
41           that you must also define a body-eval rule calling
42           "check_uridnsbl()" to use this.
43
44           An RHSBL zone is one where the domain name is looked up, as a
45           string; e.g. a URI using the domain "foo.com" will cause a lookup
46           of "foo.com.uriblzone.net".  Note that hostnames are stripped from
47           the domain used in the URIBL lookup, so the domain "foo.bar.com"
48           will look up "bar.com.uriblzone.net", and "foo.bar.co.uk" will look
49           up "bar.co.uk.uriblzone.net".
50
51           If a URI consists IP address instead of a hostname, the IP address
52           is looked up (using the standard reversed quads method) in each
53           "rhsbl_zone".
54
55           Example:
56
57             urirhsbl        URIBL_RHSBL    rhsbl.example.org.   TXT
58
59       urirhssub NAME_OF_RULE rhsbl_zone lookuptype subtest
60           Specify a RHSBL-style domain lookup with a sub-test.
61           "NAME_OF_RULE" is the name of the rule to be used, "rhsbl_zone" is
62           the zone to look up domain names in, and "lookuptype" is the type
63           of lookup (TXT or A).
64
65           "subtest" is the sub-test to run against the returned data.  The
66           sub-test may either be an IPv4 dotted address for RHSBLs that
67           return multiple A records or a non-negative decimal number to spec‐
68           ify a bitmask for RHSBLs that return a single A record containing a
69           bitmask of results.
70
71           Note that, as with "urirhsbl", you must also define a body-eval
72           rule calling "check_uridnsbl()" to use this.
73
74           Example:
75
76             urirhssub   URIBL_RHSBL_4    rhsbl.example.org.   A    127.0.0.4
77             urirhssub   URIBL_RHSBL_8    rhsbl.example.org.   A    8
78

ADMINISTRATOR SETTINGS

80       uridnsbl_max_domains N        (default: 20)
81           The maximum number of domains to look up.
82

NOTES

84       The "uridnsbl_timeout" option has been obsoleted by the "rbl_timeout"
85       option.  See the "Mail::SpamAssassin::Conf" POD for details on
86       "rbl_timeout".
87
88
89
90perl v5.8.8                       2008-0M1a-i0l5::SpamAssassin::Plugin::URIDNSBL(3)
Impressum