diff options
Diffstat (limited to 'src/mailman/runners/pipeline.py')
| -rw-r--r-- | src/mailman/runners/pipeline.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mailman/runners/pipeline.py b/src/mailman/runners/pipeline.py index 8bee2c4cb..b031662b3 100644 --- a/src/mailman/runners/pipeline.py +++ b/src/mailman/runners/pipeline.py @@ -30,6 +30,9 @@ from mailman.core.runner import Runner class PipelineRunner(Runner): def _dispose(self, mlist, msg, msgdata): # Process the message through the mailing list's pipeline. - process(mlist, msg, msgdata, mlist.posting_pipeline) + pipeline = (mlist.owner_pipeline + if msgdata.get('to_owner', False) + else mlist.posting_pipeline) + process(mlist, msg, msgdata, pipeline) # Do not keep this message queued. return False |
