Multiple header_checks in mailman.cfg. How?
Hello,
What is the correct syntax if I wanted to perform multiple header checks?
header_checks: X-Spam: (yes|maybe)
header_checks: x-another-header: (some|any)thing
or:
header_checks: X-Spam: (yes|maybe)
x-another-header: (some|any)thing
or:
header_checks: ['X-Spam: (yes|maybe)', 'x-another-header:
(some|any)thing']
Or something completely different? I don't think it is the first two because "mailman conf -s antispam" shows only a single header_checks. But the 3rd variant doesn't work either.
Simon
Hello, What is the correct syntax if I wanted to perform multiple header checks?
header_checks: X-Spam: (yes|maybe)
header_checks: x-another-header: (some|any)thing
or:
header_checks: X-Spam: (yes|maybe)
x-another-header: (some|any)thing
or:
header_checks: ['X-Spam: (yes|maybe)', 'x-another-header:
(some|any)thing']
Or something completely different? I don't think it is the first two because "mailman conf -s antispam" shows only a single h= eader_checks. But the 3rd variant doesn't work either. Simon
On 5/19/17 3:58 AM, Simon Liebold via Mailman-users wrote:
Hello, What is the correct syntax if I wanted to perform multiple header checks?
Lines should be entered as a multi-line value for header_checks. E.g.,
header_checks: X-Spam: (yes|maybe) x-another-header: (some|any)thing
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Simon Liebold