Leave the header checks to the list owners.

This commit is contained in:
Andrea Dell'Amico 2026-08-21 15:13:27 +02:00
parent 8320fdac83
commit ab7a71d6c2
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 14 additions and 5 deletions

View File

@ -1,2 +1,12 @@
# mailman
The site-wide antispam defaults are deliberately empty:
```yaml
mailman_antispam_header_checks: []
mailman_antispam_chain_behaviour: discard
```
Mailing-list owners can manage list-specific header matches and select their
action (`accept`, `discard`, `hold`, or `reject`) from Postorius. The global
chain is used only when a matching rule has no explicit action.

View File

@ -118,14 +118,14 @@ mailman_arc_enabled: 'no'
mailman_dmarc_enabled: 'yes'
mailman_dkim_enabled: 'yes'
mailman_antispam_header_checks:
- 'X-Spam-Flag: (YES)'
#- 'Authentication-Results: mail.example.com; dmarc=(fail|quarantine)'
# Site-wide checks are intentionally empty. List owners can configure header
# matches, including their action, from Postorius for each individual list.
mailman_antispam_header_checks: []
# The chain to jump to if any of the header patterns matches. This must be
# the name of an existing chain such as 'discard', 'reject', 'hold', or
# 'accept', otherwise 'hold' will be used.
mailman_antispam_chain_behaviour: "hold"
mailman_antispam_chain_behaviour: "discard"
mailman_start_nntp_runner: 'no'
@ -184,4 +184,3 @@ mailman_postorius_cronjob_special_times:
- 'minutely'