| 35 |
|
|
| 36 |
=over 4 |
=over 4 |
| 37 |
|
|
| 38 |
|
=item skip_uribl_checks ( 0 | 1 ) (default: 0) |
| 39 |
|
|
| 40 |
|
Turning on the skip_uribl_checks setting will disable the URIDNSBL plugin. |
| 41 |
|
|
| 42 |
|
By default, SpamAssassin will run URI DNSBL checks. Individual URI blocklists |
| 43 |
|
may be disabled selectively by setting a score of a corresponding rule to 0 |
| 44 |
|
or through the uridnsbl_skip_domain parameter. |
| 45 |
|
|
| 46 |
|
See also a related configuration parameter skip_rbl_checks, |
| 47 |
|
which controls the DNSEval plugin (documented in the Conf man page). |
| 48 |
|
|
| 49 |
|
=back |
| 50 |
|
|
| 51 |
|
=over 4 |
| 52 |
|
|
| 53 |
=item uridnsbl_skip_domain domain1 domain2 ... |
=item uridnsbl_skip_domain domain1 domain2 ... |
| 54 |
|
|
| 55 |
Specify a domain, or a number of domains, which should be skipped for the |
Specify a domain, or a number of domains, which should be skipped for the |
| 256 |
my ($self, $opts) = @_; |
my ($self, $opts) = @_; |
| 257 |
my $scanner = $opts->{permsgstatus}; |
my $scanner = $opts->{permsgstatus}; |
| 258 |
|
|
| 259 |
|
return 0 if $scanner->{main}->{conf}->{skip_uribl_checks}; |
| 260 |
|
|
| 261 |
if (!$scanner->is_dns_available()) { |
if (!$scanner->is_dns_available()) { |
| 262 |
$self->{dns_not_available} = 1; |
$self->{dns_not_available} = 1; |
| 263 |
return; |
return 0; |
| 264 |
} else { |
} else { |
| 265 |
# due to re-testing dns may become available after being unavailable |
# due to re-testing dns may become available after being unavailable |
| 266 |
# DOS: I don't think dns_not_available is even used anymore |
# DOS: I don't think dns_not_available is even used anymore |
| 392 |
my @cmds; |
my @cmds; |
| 393 |
|
|
| 394 |
push(@cmds, { |
push(@cmds, { |
| 395 |
|
setting => 'skip_uribl_checks', |
| 396 |
|
default => 0, |
| 397 |
|
type => $Mail::SpamAssassin::Conf::CONF_TYPE_BOOL, |
| 398 |
|
}); |
| 399 |
|
|
| 400 |
|
push(@cmds, { |
| 401 |
setting => 'uridnsbl_max_domains', |
setting => 'uridnsbl_max_domains', |
| 402 |
is_admin => 1, |
is_admin => 1, |
| 403 |
default => 20, |
default => 20, |