]> git.proxmox.com Git - proxmox-spamassassin.git/blame - sa-updates/25_dnswl.cf
buildsys: track debug package
[proxmox-spamassassin.git] / sa-updates / 25_dnswl.cf
CommitLineData
b780ea8d
SI
1# SpamAssassin rules file: DNSWL tests
2#
3# Please don't modify this file as your changes will be overwritten with
4# the next update. Use /etc/mail/spamassassin/local.cf instead.
5# See 'perldoc Mail::SpamAssassin::Conf' for details.
6#
7# <@LICENSE>
8# Licensed to the Apache Software Foundation (ASF) under one or more
9# contributor license agreements. See the NOTICE file distributed with
10# this work for additional information regarding copyright ownership.
11# The ASF licenses this file to you under the Apache License, Version 2.0
12# (the "License"); you may not use this file except in compliance with
13# the License. You may obtain a copy of the License at:
14#
15# http://www.apache.org/licenses/LICENSE-2.0
16#
17# Unless required by applicable law or agreed to in writing, software
18# distributed under the License is distributed on an "AS IS" BASIS,
19# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20# See the License for the specific language governing permissions and
21# limitations under the License.
22# </@LICENSE>
23#
24###########################################################################
25
26ifplugin Mail::SpamAssassin::Plugin::DNSEval
27
28# 0.000 0.0000 0.0000 0.500 1.00 -8.00 T_RCVD_IN_DNSWL_HI
29# 0.817 0.2509 3.5683 0.066 0.50 1.00 __RCVD_IN_DNSWL
30# 0.059 0.0000 0.3481 0.000 0.50 -1.00 T_RCVD_IN_DNSWL_LOW
31# 0.163 0.0000 0.9574 0.000 0.00 -4.00 T_RCVD_IN_DNSWL_MED
32
33header __RCVD_IN_DNSWL eval:check_rbl('dnswl-firsttrusted', 'list.dnswl.org.')
34tflags __RCVD_IN_DNSWL nice net
35reuse __RCVD_IN_DNSWL
36
37header RCVD_IN_DNSWL_NONE eval:check_rbl_sub('dnswl-firsttrusted', '^127\.0\.\d+\.0$')
38describe RCVD_IN_DNSWL_NONE Sender listed at https://www.dnswl.org/, no trust
39tflags RCVD_IN_DNSWL_NONE nice net
40reuse RCVD_IN_DNSWL_NONE
41
42header RCVD_IN_DNSWL_LOW eval:check_rbl_sub('dnswl-firsttrusted', '^127\.0\.\d+\.1$')
43describe RCVD_IN_DNSWL_LOW Sender listed at https://www.dnswl.org/, low trust
44tflags RCVD_IN_DNSWL_LOW nice net
45reuse RCVD_IN_DNSWL_LOW
46
47header RCVD_IN_DNSWL_MED eval:check_rbl_sub('dnswl-firsttrusted', '^127\.0\.\d+\.2$')
48describe RCVD_IN_DNSWL_MED Sender listed at https://www.dnswl.org/, medium trust
49tflags RCVD_IN_DNSWL_MED nice net
50reuse RCVD_IN_DNSWL_MED
51
52header RCVD_IN_DNSWL_HI eval:check_rbl_sub('dnswl-firsttrusted', '^127\.0\.\d+\.3$')
53describe RCVD_IN_DNSWL_HI Sender listed at https://www.dnswl.org/, high trust
54tflags RCVD_IN_DNSWL_HI nice net
55reuse RCVD_IN_DNSWL_HI
56
57## score RCVD_IN_DNSWL_LOW -1
58## score RCVD_IN_DNSWL_MED -4
59## score RCVD_IN_DNSWL_HI -8
60
61header RCVD_IN_DNSWL_BLOCKED eval:check_rbl_sub('dnswl-firsttrusted', '^127\.0\.\d+\.255$')
62describe RCVD_IN_DNSWL_BLOCKED ADMINISTRATOR NOTICE: The query to DNSWL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists\#dnsbl-block for more information.
63tflags RCVD_IN_DNSWL_BLOCKED net noautolearn
64reuse RCVD_IN_DNSWL_BLOCKED
65
66if can(Mail::SpamAssassin::Conf::feature_dns_block_rule)
67dns_block_rule RCVD_IN_DNSWL_BLOCKED list.dnswl.org
68endif
69
70endif