diff options
author | Jim Popovitch <jimpop@gmail.com> | 2016-10-19 04:07:14 +0000 |
---|---|---|
committer | Jim Popovitch <jimpop@gmail.com> | 2016-10-19 04:07:14 +0000 |
commit | f381505907c2a810835a711c8b4e19d10092a069 (patch) | |
tree | 8ba70bdcbcdf99b10cc5770115db21a9ee42797f /Mailman/Message.py | |
parent | 17cc3dae404831d29c1d8ea4794105cdbbe3bbb7 (diff) | |
download | mailman2-f381505907c2a810835a711c8b4e19d10092a069.tar.gz mailman2-f381505907c2a810835a711c8b4e19d10092a069.tar.xz mailman2-f381505907c2a810835a711c8b4e19d10092a069.zip |
force OwnerNotification to use mlist.getListAddress('bounces')
Diffstat (limited to 'Mailman/Message.py')
-rw-r--r-- | Mailman/Message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Message.py b/Mailman/Message.py index 609786a2..0edc3c31 100644 --- a/Mailman/Message.py +++ b/Mailman/Message.py @@ -311,7 +311,7 @@ class OwnerNotification(UserNotification): recips.extend(mlist.moderator) # We have to set the owner to the site's -bounces address, otherwise # we'll get a mail loop if an owner's address bounces. - sender = Utils.get_site_email(mlist.host_name, 'bounces') + sender = mlist.getListAddress('bounces') lang = mlist.preferred_language UserNotification.__init__(self, recips, sender, subject, text, lang) # Hack the To header to look like it's going to the -owner address |