From dc2b2e2ba161c120fed4ab06d61d4b2c9d782869 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 6 Apr 2012 16:31:14 -0600 Subject: * Header check specifications in the `mailman.cfg` file have changed quite bit. The previous `[spam.header.foo]` sections have been removed. Instead, there's a new `[antispam]` section that contains a `header_checks` variable. This variable takes multiple lines of `Header: regexp` values, one per line. There is also a new `jump_chain` variable which names the chain to jump to should any of the header checks (including the list-specific, and programmatically added ones) match. * Fixed a typo when returning the configuration file's header match checks. (LP: #953497) Also: - Remove an unused method. - Improve test coverage for mailman/app/bounces.py - 100% test coverage for mailman/chains/headers.py - Various other minor code cleanup. - Fixed the 'any' rule, which was checking a bogus metadata dictionary key. --- src/mailman/docs/NEWS.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mailman/docs') diff --git a/src/mailman/docs/NEWS.rst b/src/mailman/docs/NEWS.rst index 54f6ec83f..3fe67bb36 100644 --- a/src/mailman/docs/NEWS.rst +++ b/src/mailman/docs/NEWS.rst @@ -37,6 +37,13 @@ Configuration * Configuration schema variable changes: [nntp]username -> [nntp]user [nntp]port (added) + * Header check specifications in the `mailman.cfg` file have changed quite + bit. The previous `[spam.header.foo]` sections have been removed. + Instead, there's a new `[antispam]` section that contains a `header_checks` + variable. This variable takes multiple lines of `Header: regexp` values, + one per line. There is also a new `jump_chain` variable which names the + chain to jump to should any of the header checks (including the + list-specific, and programmatically added ones) match. Documentation ------------- @@ -47,6 +54,8 @@ Bug fixes --------- * Fixed a UnicodeError with non-ascii message bodies in the `approved` rule, given by Mark Sapiro. (LP: #949924) + * Fixed a typo when returning the configuration file's header match checks. + (LP: #953497) 3.0 beta 1 -- "The Twilight Zone" -- cgit v1.3.1