From f381505907c2a810835a711c8b4e19d10092a069 Mon Sep 17 00:00:00 2001 From: Jim Popovitch Date: Wed, 19 Oct 2016 04:07:14 +0000 Subject: force OwnerNotification to use mlist.getListAddress('bounces') --- Mailman/Message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Message.py') 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 -- cgit v1.2.3