From 53c029cab91af334c58ac725ea0445d392e7aa4d Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Wed, 5 Aug 2009 12:24:44 -0700 Subject: Use the actual host name for validation of the list posting address. --- bin/newlist | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin') 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: -- cgit v1.2.3