diff options
Diffstat (limited to '')
| -rw-r--r-- | Mailman/Deliverer.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Deliverer.py b/Mailman/Deliverer.py index e9eedf19e..590806b3c 100644 --- a/Mailman/Deliverer.py +++ b/Mailman/Deliverer.py @@ -108,7 +108,9 @@ class Deliverer: def DeliverToOwner(self, msg, recipients): if not (len(recipients)): return - sender = msg.GetEnvelopeSender() + sender = None + if mm_cfg.USE_ENVELOPE_SENDER: + sender = msg.GetEnvelopeSender() if not sender: sender = msg.GetSender() if sender: |
