aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Message.py
diff options
context:
space:
mode:
authorJim Popovitch <jimpop@gmail.com>2016-10-12 14:38:43 +0000
committerJim Popovitch <jimpop@gmail.com>2016-10-12 14:38:43 +0000
commit17cc3dae404831d29c1d8ea4794105cdbbe3bbb7 (patch)
tree0e161fda03a1ed1f73c99b07cf14b243350dba8f /Mailman/Message.py
parent8d98726fc0aa73ab8ab17822b4331e91162f722f (diff)
downloadmailman2-17cc3dae404831d29c1d8ea4794105cdbbe3bbb7.tar.gz
mailman2-17cc3dae404831d29c1d8ea4794105cdbbe3bbb7.tar.xz
mailman2-17cc3dae404831d29c1d8ea4794105cdbbe3bbb7.zip
OwnerNotification needs to explictly set msg.envsender rather than
relying on the downstream pipeline to get it right (too often it gets it wrong and sets Sender to sitelist domain)
Diffstat (limited to '')
-rw-r--r--Mailman/Message.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Message.py b/Mailman/Message.py
index 24c15a84..609786a2 100644
--- a/Mailman/Message.py
+++ b/Mailman/Message.py
@@ -318,6 +318,7 @@ class OwnerNotification(UserNotification):
del self['to']
self['To'] = mlist.GetOwnerEmail()
self._sender = sender
+ self.envsender = sender
def _enqueue(self, mlist, **_kws):
# Not imported at module scope to avoid import loop