diff options
| -rw-r--r-- | Mailman/bin/newlist.py | 10 | ||||
| -rw-r--r-- | templates/en/admindbdetails.html | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Mailman/bin/newlist.py b/Mailman/bin/newlist.py index bd2ec0dde..26c7cd42b 100644 --- a/Mailman/bin/newlist.py +++ b/Mailman/bin/newlist.py @@ -103,6 +103,13 @@ language code.""")) Normally the administrator is notified by email (after a prompt) that their list has been created. This option suppresses the prompt and notification.""")) + parser.add_option('-a', '--automate', + default=False, action='store_true', + help=_("""\ +This option suppresses the prompt prior to administrator notification but +still sends the notification. It can be used to make newlist totally +non-interactive but still send the notification, assuming listname, +listadmin-addr and admin-password are all specified on the command line.""")) opts, args = parser.parse_args() # Is the language known? if opts.language not in mm_cfg.LC_DESCRIPTIONS: @@ -197,9 +204,10 @@ def main(): sys.modules[modname].create(mlist) # And send the notice to the list owner - if not opts.quiet: + if not opts.quiet and not opts.automate: print _('Hit enter to notify $listname owner...'), sys.stdin.readline() + if not opts.quiet: siteowner = Utils.get_site_email(mlist.host_name, 'owner') d = dict( listname = listname, diff --git a/templates/en/admindbdetails.html b/templates/en/admindbdetails.html index 7547a3448..d97fcec11 100644 --- a/templates/en/admindbdetails.html +++ b/templates/en/admindbdetails.html @@ -14,7 +14,7 @@ message's headers and an excerpt of the message body. postings, you can still forward or preserve the message (see below). -<li><b>Approve</b> -- Approve the message, sending it on to the list. +<li><b>Accept/Approve</b> -- Accept the message, sending it on to the list. For membership requests, approve the change in membership status. <li><b>Reject</b> -- Reject the message, sending a rejection notice to |
