| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
least 0660 permissions.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
the callable after the MailList object. See module docstring for
details. By Dan Mick, modified by Barry for slightly better calling
syntax.
Closes SF patch #102211
|
| |
|
|
| |
Makes creating new lists only slightly easier.
|
| |
|
|
| |
helpful error message.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
that "make update" hangs. This happens because there are existing
locks for some of the lists that are being updated. Instead of an
unhelpful hang, we now explicitly lock the lists and report errors
if the locks timeout.
If any of the locks timeout, we also do not update the
last_mailman_version file so that subsequent "make update"'s will
work.
|
| |
|
|
| |
usage text and exit. Closes SF bug #117098.
|
| |
|
|
| |
MTA_ALIASES_STYLE for the newlist script's output.
|
| |
|
|
|
|
|
|
|
| |
standard library, get rid of Mailman.pythonlib.getpass compatibility
module.
Plus, general cleanup, and use SetSiteAdminPassword(),
CheckSiteAdminPassword() from Utils instead of on a bogus MailList
object.
|
| |
|
|
|
| |
standard library, get rid of Mailman.pythonlib.getpass compatibility
module.
|
| |
|
|
| |
the private archive dir.
|
| |
|
|
|
|
|
| |
Specifically,
calcversions(): Update the comment since the logs dir is now relative
to VAR_PREFIX.
|
| |
|
|
|
|
| |
Specifically,
main(): the REMOVABLES are relative to VAR_PREFIX now.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Specifically,
MAILMAN_UID and MAILMAN_GID are now available in mm_cfg, so use these
as the gid to check group-ownership against, and as the user to re-run
the script as if there are errors.
checkall(): Now knows about all of PREFIX, EXEC_PREFIX, and VAR_PREFIX
and checks the permissions of them all. It's smart about knowing when
any of these directories are the same.
|
| |
|
|
| |
specified.
|
| |
|
|
| |
SF bug #114148, Jitterbug PR#181.
|
| | |
|
| |
|
|
| |
Utils.MakeRandomPassword() instead of handcrafting it here.
|
| |
|
|
|
|
|
| |
insensitive. list_lists prints them out using their real name -- not
their internal name -- and they should differ only by case.
Closes SF bug #113742 and patch #101434.
|
| |
|
|
| |
mlist.owner.
|
| | |
|
| | |
|
| |
|
|
|
| |
special-case `subscribe_policy' when ALLOW_OPEN_SUBSCRIBE is false.
Yuk.
|
| |
|
|
|
| |
Autoresponse config variables to dump. Also, massage FileUpload type
vars the same way that Text vars are processed.
|
| | |
|
| |
|
|
| |
method. Fixes SF Bug #108169.
|
| |
|
|
| |
the list.
|
| |
|
|
| |
of "big changes" messages. Fixes SF Bug # 109274.
|
| |
|
|
| |
with an underscore).
|
| |
|
|
|
|
| |
Added -w/--owner which scans the owner addresses too
Multiple regexps are legal now
|
| |
|
|
|
| |
initial fresh installation still writes the data/last_mailman_version
file.
|
| |
|
|
|
| |
lists/<listname>/config.db, config.db.last, next-digest, and
next-digest-topics.
|
| | |
|
| | |
|
| |
|
|
| |
contents of any of Mailman's .db files (e.g. a marshaled dictionary).
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added -l/--listname options to specify the lists to affect (multiple
-l options are okay, and if no -l is given, all lists are changed).
Added -r/--remove to optionally remove the old address after cloning
Added -a/--admin to scan the list admins (mlist.owner) for the address
to change/clone.
Added -q/--quiet for verbosity
Added -n/--nomodify for dryrun functionality.
|
| |
|
|
|
| |
entries for lists that no longer exist. Skip it if the key isn't in
Utils.list_names().
|
| |
|
|
|
| |
Catch MMListAlreadyExistsError in mlist.Create() -- this is probably
redundant.
|
| | |
|
| |
|
|
|
|
| |
last installed version against the current installed version and only
runs the update stuff if a newer version is being installed. This
script could still use a boatload of improvements.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
usenet_watermark attribute. We get rid of the gate_watermark file
once we've updated.
Consistency in imports.
Try to determine whether the templates/options.html warning needs to
be printed or not. It's only printed if we can't determine the last
Mailman version and we are not running a fresh install (i.e. there are
entries in the logs subdir).
Write the current Mailman version (HEX_VERSION) as a hex
representation string into the file data/last_mailman_version. This
is so the /next/ update can determine what version we're updating
from. Lays the groundwork for future updates.
|
| |
|
|
|
|
|
|
|
| |
02775 -- i.e. make sure the dirs are group writable. There's a hack
to ignore the funky permissions on the private archive dir and the
listname/database subdir inside the private archive dir.
checkall(): Also make sure $prefix is 02775; this is a change from the
requirement that it be 02755.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mailing list. In all cases, catch the base exception class
MMListError, and output a semi-standard error message which also
contains the str() of the actual exception details (is this too
much?).
Also:
config_list: slightly different usage() printing
find_member.scanlists(): print a message if a MMListError occurs
when opening the mailing list object
remove_members: Wrap actual DeleteMember() calls in a try/finally
to be sure the list is saved and unlocked should an exception
occur. Hmm, should it be all or nothing?
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
that the MailList object is unlocked when the script exits.
|