summaryrefslogtreecommitdiff
path: root/Mailman/Deliverer.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-07-21 16:19:54 -0400
committerBarry Warsaw2007-07-21 16:19:54 -0400
commit276009e248e64cf0c60989c93b2f3d6b9713c199 (patch)
tree7b630f12e1b0feaa8cc9f77e9d11188629e2b8d2 /Mailman/Deliverer.py
parent61d8ec7117463493b946c0f82872fe716d7bc901 (diff)
parenta55d4aa436f34e5d3f1e0e06b372b57de323aa61 (diff)
downloadmailman-276009e248e64cf0c60989c93b2f3d6b9713c199.tar.gz
mailman-276009e248e64cf0c60989c93b2f3d6b9713c199.tar.zst
mailman-276009e248e64cf0c60989c93b2f3d6b9713c199.zip
Diffstat (limited to 'Mailman/Deliverer.py')
-rw-r--r--Mailman/Deliverer.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Mailman/Deliverer.py b/Mailman/Deliverer.py
index 5682a4a22..e4ff15a58 100644
--- a/Mailman/Deliverer.py
+++ b/Mailman/Deliverer.py
@@ -23,12 +23,12 @@ import logging
from email.MIMEMessage import MIMEMessage
from email.MIMEText import MIMEText
-from Mailman import i18n
from Mailman import Errors
from Mailman import Message
-from Mailman import mm_cfg
from Mailman import Pending
from Mailman import Utils
+from Mailman import i18n
+from Mailman.configuration import config
_ = i18n._
@@ -75,7 +75,7 @@ your membership administrative address, %(addr)s.'''))
_('Welcome to the "%(realname)s" mailing list%(digmode)s'),
text, pluser)
msg['X-No-Archive'] = 'yes'
- msg.send(self, verp=mm_cfg.VERP_PERSONALIZED_DELIVERIES)
+ msg.send(self, verp=config.VERP_PERSONALIZED_DELIVERIES)
def SendUnsubscribeAck(self, addr, lang):
realname = self.real_name
@@ -83,7 +83,7 @@ your membership administrative address, %(addr)s.'''))
self.GetMemberAdminEmail(addr), self.GetBouncesEmail(),
_('You have been unsubscribed from the %(realname)s mailing list'),
Utils.wrap(self.goodbye_msg), lang)
- msg.send(self, verp=mm_cfg.VERP_PERSONALIZED_DELIVERIES)
+ msg.send(self, verp=config.VERP_PERSONALIZED_DELIVERIES)
def MailUserPassword(self, user):
listfullname = self.fqdn_listname
@@ -131,7 +131,7 @@ your membership administrative address, %(addr)s.'''))
msg = Message.UserNotification(recipient, adminaddr, subject, text,
lang)
msg['X-No-Archive'] = 'yes'
- msg.send(self, verp=mm_cfg.VERP_PERSONALIZED_DELIVERIES)
+ msg.send(self, verp=config.VERP_PERSONALIZED_DELIVERIES)
def ForwardMessage(self, msg, text=None, subject=None, tomoderators=True):
# Wrap the message as an attachment
@@ -206,7 +206,7 @@ is required.""")))
'bounces': self.internal_name() + '-bounces',
'token': token,
}
- probeaddr = '%s@%s' % ((mm_cfg.VERP_PROBE_FORMAT % probedict),
+ probeaddr = '%s@%s' % ((config.VERP_PROBE_FORMAT % probedict),
self.host_name)
# Calculate the Subject header, in the member's preferred language
ulang = self.getMemberLanguage(member)