From 17cc3dae404831d29c1d8ea4794105cdbbe3bbb7 Mon Sep 17 00:00:00 2001 From: Jim Popovitch Date: Wed, 12 Oct 2016 14:38:43 +0000 Subject: 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) --- Mailman/Message.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Mailman') 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 -- cgit v1.2.3