aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2010-05-10 15:40:21 -0700
committerMark Sapiro <mark@msapiro.net>2010-05-10 15:40:21 -0700
commitb66541fe5cec84b9c9306c55da313a5e2e0f466e (patch)
tree0053ec6b255629cec8da3e4c47ea6f1c1060ee5e /Mailman
parent30bcc291af91bcea7293a09197e4cb03b7a9bf5a (diff)
downloadmailman2-b66541fe5cec84b9c9306c55da313a5e2e0f466e.tar.gz
mailman2-b66541fe5cec84b9c9306c55da313a5e2e0f466e.tar.xz
mailman2-b66541fe5cec84b9c9306c55da313a5e2e0f466e.zip
Forgot the loop address in the immediately previous change.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/MTA/Postfix.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mailman/MTA/Postfix.py b/Mailman/MTA/Postfix.py
index 0d729188..0fcf0526 100644
--- a/Mailman/MTA/Postfix.py
+++ b/Mailman/MTA/Postfix.py
@@ -123,6 +123,8 @@ def _addvirtual(mlist, fp):
# Set up the mailman-loop address
loopaddr = Utils.get_site_email(mlist.host_name, extra='loop')
loopdest = Utils.ParseEmail(loopaddr)[0]
+ if mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN:
+ loopdest += '@' + mm_cfg.VIRTUAL_MAILMAN_LOCAL_DOMAIN
# Seek to the end of the text file, but if it's empty write the standard
# disclaimer, and the loop catch address.
fp.seek(0, 2)