]>
Commit | Line | Data |
---|---|---|
dfdd1e08 | 1 | # SpamAssassin - DMARC rules |
b780ea8d SI |
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> | |
b780ea8d | 23 | # |
dfdd1e08 SI |
24 | ########################################################################### |
25 | ||
26 | # Requires the Mail::SpamAssassin::Plugin::DMARC plugin be loaded. | |
27 | ||
28 | # Backwards compatible name (was renamed to DMARC in trunk before 4.0.0) | |
29 | ifplugin Mail::SpamAssassin::Plugin::Dmarc | |
30 | ||
31 | header DMARC_PASS eval:check_dmarc_pass() | |
32 | describe DMARC_PASS DMARC pass policy | |
33 | priority DMARC_PASS 500 | |
34 | tflags DMARC_PASS net nice | |
35 | reuse DMARC_PASS | |
36 | ||
37 | header DMARC_REJECT eval:check_dmarc_reject() | |
38 | describe DMARC_REJECT DMARC reject policy | |
39 | priority DMARC_REJECT 500 | |
40 | tflags DMARC_REJECT net | |
41 | reuse DMARC_REJECT | |
42 | ||
43 | header DMARC_QUAR eval:check_dmarc_quarantine() | |
44 | describe DMARC_QUAR DMARC quarantine policy | |
45 | priority DMARC_QUAR 500 | |
46 | tflags DMARC_QUAR net | |
47 | reuse DMARC_QUAR | |
b780ea8d | 48 | |
dfdd1e08 SI |
49 | header DMARC_NONE eval:check_dmarc_none() |
50 | describe DMARC_NONE DMARC none policy | |
51 | priority DMARC_NONE 500 | |
52 | tflags DMARC_NONE net | |
53 | reuse DMARC_NONE | |
b780ea8d | 54 | |
dfdd1e08 SI |
55 | header DMARC_MISSING eval:check_dmarc_missing() |
56 | describe DMARC_MISSING Missing DMARC policy | |
57 | priority DMARC_MISSING 500 | |
58 | tflags DMARC_MISSING net | |
59 | reuse DMARC_MISSING | |
b780ea8d | 60 | |
dfdd1e08 | 61 | endif |
b780ea8d | 62 |