summaryrefslogtreecommitdiff
path: root/mailman/pipeline/smtp_direct.py
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/pipeline/smtp_direct.py')
-rw-r--r--mailman/pipeline/smtp_direct.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/pipeline/smtp_direct.py b/mailman/pipeline/smtp_direct.py
index d79510cb0..74eaa5aad 100644
--- a/mailman/pipeline/smtp_direct.py
+++ b/mailman/pipeline/smtp_direct.py
@@ -110,7 +110,7 @@ def process(mlist, msg, msgdata):
envsender = msgdata.get('envsender')
if envsender is None:
if mlist:
- envsender = mlist.GetBouncesEmail()
+ envsender = mlist.bounces_address
else:
envsender = Utils.get_site_noreply()
# Time to split up the recipient list. If we're personalizing or VERPing
@@ -183,7 +183,7 @@ def process(mlist, msg, msgdata):
'size' : len(msg.as_string()),
'#recips' : len(recips),
'#refused': len(refused),
- 'listname': mlist.internal_name(),
+ 'listname': mlist.fqdn_listname,
'sender' : origsender,
})
# We have to use the copy() method because extended call syntax requires a