diff options
author | Mark Sapiro <mark@msapiro.net> | 2009-08-05 12:24:44 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2009-08-05 12:24:44 -0700 |
commit | 53c029cab91af334c58ac725ea0445d392e7aa4d (patch) | |
tree | 36573d536450a922aefd9f3d74085fd3fc20942b | |
parent | d98ec864d7ed4b4f68cd77cf87303e6e6610d693 (diff) | |
download | mailman2-53c029cab91af334c58ac725ea0445d392e7aa4d.tar.gz mailman2-53c029cab91af334c58ac725ea0445d392e7aa4d.tar.xz mailman2-53c029cab91af334c58ac725ea0445d392e7aa4d.zip |
Use the actual host name for validation of the list posting address.
Diffstat (limited to '')
-rwxr-xr-x | bin/newlist | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/newlist b/bin/newlist index ab350c88..6e02de97 100755 --- a/bin/newlist +++ b/bin/newlist @@ -1,6 +1,6 @@ #! @PYTHON@ # -# Copyright (C) 1998-2008 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2009 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -197,7 +197,8 @@ def main(): langs = [lang] else: langs = [lang, mm_cfg.DEFAULT_SERVER_LANGUAGE] - mlist.Create(listname, owner_mail, pw, langs=langs) + mlist.Create(listname, owner_mail, pw, langs=langs, + emailhost=host_name) finally: os.umask(oldmask) except Errors.BadListNameError, s: |