aboutsummaryrefslogtreecommitdiffstats
path: root/bin/newlist
diff options
context:
space:
mode:
authortkikuchi <>2004-10-19 05:07:42 +0000
committertkikuchi <>2004-10-19 05:07:42 +0000
commit4f3babd6c939e2133de80cb0e17719ae0651ab4a (patch)
tree4da2f7dd71a1e72fb27c76c71f25dc5ef1882aa9 /bin/newlist
parent175409e0f4d3b619895b6339971543d28a14d1e1 (diff)
downloadmailman2-4f3babd6c939e2133de80cb0e17719ae0651ab4a.tar.gz
mailman2-4f3babd6c939e2133de80cb0e17719ae0651ab4a.tar.xz
mailman2-4f3babd6c939e2133de80cb0e17719ae0651ab4a.zip
[ 874764 ] -admin address is now equiv to -bounce
Diffstat (limited to 'bin/newlist')
-rwxr-xr-xbin/newlist6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/newlist b/bin/newlist
index 2e16a934..d3b46996 100755
--- a/bin/newlist
+++ b/bin/newlist
@@ -189,7 +189,7 @@ def main():
if not quiet:
print _('Hit enter to notify %(listname)s owner...'),
sys.stdin.readline()
- siteadmin = Utils.get_site_email(mlist.host_name, 'admin')
+ siteowner = Utils.get_site_email(mlist.host_name, 'owner')
text = Utils.maketext(
'newlist.txt',
{'listname' : listname,
@@ -197,7 +197,7 @@ def main():
'admin_url' : mlist.GetScriptURL('admin', absolute=1),
'listinfo_url': mlist.GetScriptURL('listinfo', absolute=1),
'requestaddr' : mlist.GetRequestEmail(),
- 'siteowner' : siteadmin,
+ 'siteowner' : siteowner,
}, mlist=mlist)
# Set the I18N language to the list's preferred language so the header
# will match the template language. Stashing and restoring the old
@@ -206,7 +206,7 @@ def main():
i18n.set_language(mlist.preferred_language)
try:
msg = Message.UserNotification(
- owner_mail, siteadmin,
+ owner_mail, siteowner,
_('Your new mailing list: %(listname)s'),
text, mlist.preferred_language)
msg.send(mlist)