summaryrefslogtreecommitdiff
path: root/src/mailman/runners/incoming.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/runners/incoming.py')
-rw-r--r--src/mailman/runners/incoming.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mailman/runners/incoming.py b/src/mailman/runners/incoming.py
index 7072f9bcc..d8db926c7 100644
--- a/src/mailman/runners/incoming.py
+++ b/src/mailman/runners/incoming.py
@@ -61,6 +61,9 @@ class IncomingRunner(Runner):
pass
config.db.commit()
# Process the message through the mailing list's start chain.
- process(mlist, msg, msgdata, mlist.posting_chain)
+ start_chain = (mlist.owner_chain
+ if msgdata.get('to_owner', False)
+ else mlist.posting_chain)
+ process(mlist, msg, msgdata, start_chain)
# Do not keep this message queued.
return False