diff options
| author | Aurélien Bompard | 2016-02-29 12:08:43 +0100 |
|---|---|---|
| committer | Barry Warsaw | 2016-02-29 21:52:13 -0500 |
| commit | 9684f1fc0e8bbe2c41566bf16dab92a0ff0f8b81 (patch) | |
| tree | 19ccd0ee3a5d7500a4ad97f792a040ece7ffc663 /src/mailman/rules/docs | |
| parent | ef9cdf45000b1172c3973b329ebe7ed32d604fb1 (diff) | |
| download | mailman-9684f1fc0e8bbe2c41566bf16dab92a0ff0f8b81.tar.gz mailman-9684f1fc0e8bbe2c41566bf16dab92a0ff0f8b81.tar.zst mailman-9684f1fc0e8bbe2c41566bf16dab92a0ff0f8b81.zip | |
Revert "Rename the HeaderMatch.chain column to action"
This reverts commit 703fc135dfcd496a704562ddc263aa0f4f828de9.
Diffstat (limited to 'src/mailman/rules/docs')
| -rw-r--r-- | src/mailman/rules/docs/header-matching.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/rules/docs/header-matching.rst b/src/mailman/rules/docs/header-matching.rst index a4d539291..4e6c0853d 100644 --- a/src/mailman/rules/docs/header-matching.rst +++ b/src/mailman/rules/docs/header-matching.rst @@ -177,9 +177,8 @@ As does a message with a spam score of four pluses. Now, the list administrator wants to match on three plus signs, but wants those emails to be discarded instead of held. - >>> from mailman.interfaces.action import Action >>> header_matches.remove('x-spam-score', '[+]{3,}') - >>> header_matches.append('x-spam-score', '[+]{3,}', Action.discard) + >>> header_matches.append('x-spam-score', '[+]{3,}', 'discard') A message with a spam score of three pluses will still match, and the message will be discarded. |
