From 2c8d38db987d084c4266656b14d593f7b007ea0c Mon Sep 17 00:00:00 2001 From: Simon Liebold Date: Sun, 21 May 2017 17:38:00 +0200 Subject: Adding documentation on how to enter multi-line header_checks. --- src/mailman/config/schema.cfg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mailman/config/schema.cfg b/src/mailman/config/schema.cfg index fde431b60..c5eee5967 100644 --- a/src/mailman/config/schema.cfg +++ b/src/mailman/config/schema.cfg @@ -563,9 +563,12 @@ enabled: yes # This value contains lines which specify RFC 822 headers in the email to # check for spamminess. Each line contains a `key: value` pair, where the key # is the header to check and the value is a Python regular expression to match -# against the header's value. E.g.: +# against the header's value. Multiple checks should be entered as multi-line +# value with leading spaces: # -# X-Spam: (yes|maybe) +# header_checks: +# X-Spam: (yes|maybe) +# Authentication-Results: mail.example.com; dmarc=(fail|quarantine) # # The header value and regular expression are always matched # case-insensitively. -- cgit v1.2.3-70-g09d2 From 24970477a9a8da2d905f0a84276e6a05eede971a Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 23 May 2017 10:40:44 -0700 Subject: Fix minor spelling. --- src/mailman/config/schema.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mailman/config/schema.cfg b/src/mailman/config/schema.cfg index c5eee5967..9568694be 100644 --- a/src/mailman/config/schema.cfg +++ b/src/mailman/config/schema.cfg @@ -563,7 +563,7 @@ enabled: yes # This value contains lines which specify RFC 822 headers in the email to # check for spamminess. Each line contains a `key: value` pair, where the key # is the header to check and the value is a Python regular expression to match -# against the header's value. Multiple checks should be entered as multi-line +# against the header's value. Multiple checks should be entered as multiline # value with leading spaces: # # header_checks: -- cgit v1.2.3-70-g09d2