------------------------------------------------------------
revno: 1068
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Wed 2009-08-05 12:23:21 -0700
message:
  Use the actual host name for validation of the list posting address.
modified:
  bin/newlist


--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription.
=== modified file 'bin/newlist'
--- bin/newlist	2008-12-08 17:33:13 +0000
+++ bin/newlist	2009-08-05 19:23:21 +0000
@@ -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
@@ -208,7 +208,8 @@
                     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:

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to