diff options
author | Jim Popovitch <jimpop@gmail.com> | 2016-10-12 14:38:43 +0000 |
---|---|---|
committer | Jim Popovitch <jimpop@gmail.com> | 2016-10-12 14:38:43 +0000 |
commit | 17cc3dae404831d29c1d8ea4794105cdbbe3bbb7 (patch) | |
tree | 0e161fda03a1ed1f73c99b07cf14b243350dba8f | |
parent | 8d98726fc0aa73ab8ab17822b4331e91162f722f (diff) | |
download | mailman2-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)
-rw-r--r-- | Mailman/Message.py | 1 |
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 |