| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
an uber-shell (called mmshell for now for lack of a better name). The reason
I'm doing this is because while I understand and still accept the reason for
it, I really hate having to re-run configure (or config.status) every time I
make a change to a bin script. mmshell looks at argv[0] to figure out which
Mailman.bin module to run.
Move newlist and rmlist to the new framework, but also, rewrite newlist to use
optparse instead of getopt. Much nicer. Also convert it to use $variables
for i18n even though the i18n._() function hasn't yet been updated to handle
these (it will soon). rmlist hasn't yet been optparse-ified, but that's soon
too. :)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
and cron scripts. When code/status == 0, there's no error (it's
likely --help output) so send that to stdout. Otherwise, it's an
error and the output goes to stderr.
|
| |
|
|
| |
list name is invalid.
|
| |
|
|
|
|
|
|
| |
language for the email message that's sent out. Then do the
translation and UserNotification generation, then reset the language
context and send the message.
Patch by Ben Gertzfield, modified by Barry.
|
| |
|
|
|
|
|
|
|
| |
use of the language for the template and the Subject: header. Make
sure both the header and the template is in the list's preferred
language.
Also, add -l/--language option so that the list's preferred language
can be set from the command line.
|
| |
|
|
| |
longer include the leading dash.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
into the script's #! line -- based on --with-python settings, without
losing CVS revision history.
#! /usr/bin/env python
becomes
#! @PYTHON@
which gets substituted for in configure.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than the default. Now, the syntax mylist@mydom.ain:www.mydom.ain is
no longer supported; to set a different email host_name from the
web_page_url host, you must first set up VIRTUAL_HOSTS, in which
mydom.ain will be looked up.
main(): No longer split the domain argument on `:'
Calculate host_name and web_page_url as described above.
Also, we're now always responsible for saving the list, so do
that, then unlock the list and perform the rest of the task
outside the try/finally.
|
| |
|
|
| |
The former config variable is going away.
|
| |
|
|
|
| |
instead of `mailman-owner@' + mlist.host_name. This closes SF bug
#424389, although I'm not 100% sure this is the right fix.
|
| |
|
|
|
|
|
|
|
| |
out the list-owner notification email.
Also, the list name now has optional extended syntax which can be used
to specify the list's initial host_name and web_page_url. This lets
you create new lists in any of the virtual domains, without having to
hack the list configuration afterwards.
|
| |
|
|
|
|
|
|
|
|
| |
creation of mailing lists. Specifically,
-o/--output switch is removed
SENDMAIL_ALIAS_TEMPLATE, QMAIL_ALIAS_TEMPLATE are all removed, as is
getusername() and the outputting of alias file suggestions. Also, we
don't prompt before notifying the new list's owner.
|
| | |
|
| |
|
|
|
| |
for list passwords, de-string-module-ification, add hooks for
preferred_language, and use the new mimelib/switchboard interface.
|
| | |
|
| |
|
|
|
| |
Use extended print statement, string methods, and other Python 2.0
features.
|
| |
|
|
|
|
|
| |
for immediate notification and replaced that with a -q/--quiet flag to
suppress admin notification (by default notification occurs).
Closes SF bug #122333 and patch #102370.
|
| |
|
|
| |
Makes creating new lists only slightly easier.
|
| | |
|
| |
|
|
| |
MTA_ALIASES_STYLE for the newlist script's output.
|
| |
|
|
|
| |
standard library, get rid of Mailman.pythonlib.getpass compatibility
module.
|
| |
|
|
| |
specified.
|
| | |
|
| |
|
|
|
| |
Catch MMListAlreadyExistsError in mlist.Create() -- this is probably
redundant.
|
| | |
|
| |
|
|
| |
rewrites and clean ups.
|
| | |
|
| |
|
|
| |
statement -- this wasn't the case when running under Python 1.5.
|
| |
|
|
| |
Mailman.pythonlib if we're using Python 1.5
|
| |
|
|
| |
command line, and when it's prompted for.
|
| |
|
|
|
|
|
| |
addr: "|command"
This works for sendmails (which don't seem to care), and is required
for Exim and smail MTAs. (suggested by Balazs Szabo).
|
| |
|
|
|
| |
the passwords. Ken apparently never checked in
Utils.getTtyPwWithConfirm anyway!
|
| | |
|
| |
|
|
|
|
| |
# guarantee that all newly created files have the proper permission.
# proper group ownership should be assured by the autoconf script
# enforcing that all directories have the group sticky bit set
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
constructor actuals when the list doesn't need to be locked.
|
| |
|
|
|
| |
minor changes here and there to support relative paths (changing
absolute paths that didn't use GetScriptURL to begin with).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Use the standard Python invocation #! line to get the interpreter
from $PATH
2. Do no direct sys.path munging in this file. Import the `paths'
module, which is created during the configure process, and which
performs all necessary path munging (and exports some useful
variables too).
3. Remove RCS crud
And some other changes:
ADDALIASES_CMD does not contain a hardcoded absolute path. Instead
the $prefix is taken from paths.prefix, which is set by the configure
script.
getusername(): New function which attempts to figure out the user's
login name. It uses, in order $USER, $LOGNAME, then the element 0 of
pwd.getpwduid(), then the string `<unknown>'. This is used when
creating the aliases file cut-and-paste.
Slightly changed the format of the aliases file cut-and-paste. Also
added a `created' line which includes today's date as DD-MMM-YYYY and
the name of the user that created the new list.
Some inconsequential code formatting changes.
Some rewording of the mailing list creation text, and a string
delimiter change to make the code more Emacs friendly.
|
| | |
|
| |
|
|
| |
the operator make the mistake of specifying the list's address...
|
| | |
|
| | |
|
| |
|
|
| |
__version__, $Source$ info.
|
| |
|
|
| |
wrapper is in mail/wrapper, not bin/wrapper.
|
| |
|
|
|
|
|
|
| |
with the first few users, so there's a demand).
Track transition of list_names to mm_utils.
Now need some setting from mm_cfg for MAILMAN_DIR setting, import it.
|