diff options
| author | bwarsaw | 2001-05-18 20:20:48 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-18 20:20:48 +0000 |
| commit | f3989920c293772ce65aeb4c4da4b46b499f3734 (patch) | |
| tree | cf0b82e4a4cd4393687f49150a8173a809217714 /Mailman/Cgi/create.py | |
| parent | 4d489541ccfaad831f2d740398bcccdfb32548e6 (diff) | |
| download | mailman-f3989920c293772ce65aeb4c4da4b46b499f3734.tar.gz mailman-f3989920c293772ce65aeb4c4da4b46b499f3734.tar.zst mailman-f3989920c293772ce65aeb4c4da4b46b499f3734.zip | |
Diffstat (limited to 'Mailman/Cgi/create.py')
| -rw-r--r-- | Mailman/Cgi/create.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Mailman/Cgi/create.py b/Mailman/Cgi/create.py index be695173d..0225b67d2 100644 --- a/Mailman/Cgi/create.py +++ b/Mailman/Cgi/create.py @@ -175,7 +175,9 @@ def process_request(doc, cgidata): __import__(modname) sys.modules[modname].create(mlist) - # And send the notice to the list owner + # And send the notice to the list owner. BAW: Note that we might be + # setting the wrong From: address. There should probably be a + # per-list or per domain MAILMAN_OWNER. if notify: text = Utils.maketext( 'newlist.txt', @@ -184,11 +186,10 @@ def process_request(doc, cgidata): 'admin_url' : mlist.GetScriptURL('admin', absolute=1), 'listinfo_url': mlist.GetScriptURL('listinfo', absolute=1), 'requestaddr' : "%s-request@%s" % (listname, mlist.host_name), - 'hostname' : mlist.host_name, - }, mlist.preferred_language) + 'owner' : mm_cfg.MAILMAN_OWNER, + }, mlist=mlist) msg = Message.UserNotification( - owner, - 'mailman-owner@' + mlist.host_name, + owner, mm_cfg.MAILMAN_OWNER, _('Your new mailing list: %(listname)s'), text) msg.send(mlist) |
