summaryrefslogtreecommitdiff
path: root/src/mailman/chains/builtin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/chains/builtin.py')
-rw-r--r--src/mailman/chains/builtin.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mailman/chains/builtin.py b/src/mailman/chains/builtin.py
index 4263750bb..da5a81aee 100644
--- a/src/mailman/chains/builtin.py
+++ b/src/mailman/chains/builtin.py
@@ -48,6 +48,10 @@ class BuiltInChain:
('loop', LinkAction.jump, 'discard'),
# Determine whether the member or nonmember has an action shortcut.
('member-moderation', LinkAction.jump, 'moderation'),
+ # Take a detour through the header matching chain.
+ ('truth', LinkAction.detour, 'header-match'),
+ # Check for nonmember moderation.
+ ('nonmember-moderation', LinkAction.jump, 'moderation'),
# Do all of the following before deciding whether to hold the message.
('administrivia', LinkAction.defer, None),
('implicit-dest', LinkAction.defer, None),
@@ -58,11 +62,6 @@ class BuiltInChain:
('suspicious-header', LinkAction.defer, None),
# Now if any of the above hit, jump to the hold chain.
('any', LinkAction.jump, 'hold'),
- # Take a detour through the header matching chain, which we'll create
- # later.
- ('truth', LinkAction.detour, 'header-match'),
- # Check for nonmember moderation.
- ('nonmember-moderation', LinkAction.jump, 'moderation'),
# Finally, the builtin chain jumps to acceptance.
('truth', LinkAction.jump, 'accept'),
)