aboutsummaryrefslogtreecommitdiffstats
path: root/bin (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-10- Fixed bin/mailmanctl -s to not remove the master lock if it can't beMark Sapiro1-2/+3
determined to be truly stale. (LP: #1189558)
2013-03-28The subscribe log entry for a bin/add_members subscribe now identifiesMark Sapiro1-2/+6
bin/add_members as the source. (LP: 1161642)
2012-11-24Updated some copyright dates.Mark Sapiro2-2/+2
2012-11-24list_lists now has an option to list only lists with public archives.Mark Sapiro1-2/+10
(LP: 1082711)
2012-11-24The name of the mailmanctl master lock file is now congigurable via theMark Sapiro1-1/+1
mm_cfg.py setting MASTER_LOCK_FILE. (LP: 1082308)
2012-10-29Added an option to add_members to add members with mail delivery disabledMark Sapiro1-16/+19
by admin. (LP: 1070574)
2011-08-24Fixed bin/export.py to accept case insensitive password schemes.Mark Sapiro1-2/+2
2011-04-16Changed bin/genaliases to only call the POSTFIX_*_CMD commands once whenMark Sapiro1-2/+4
MTA = 'Postfix'. Bug #266408.
2011-01-13 - Changed bin/rmlist to also remove heldmsg files for the removed list andMark Sapiro1-8/+16
fixed a problem with removal of stale locks for the list. Bug #700528.
2010-11-04- Fixed a missing format character in the Spanish translation.Mark Sapiro1-2/+5
Bug #670988. - Fixed the host name in the From: address of the owner notification from bin/add_members. Bug #666181.
2010-07-27Changed fix_url to lock the list if not locked. Bug #610364.Mark Sapiro1-1/+6
2010-05-30Fixed bin/genaliases to not throw TypeError when MTA = None.Mark Sapiro1-0/+6
Bug #587657.
2010-02-27Added a urlhost argument to the MailList.MailList.Create() method toMark Sapiro1-2/+2
allow bin/newlist and the the create CGI to pass urlhost so the host will be correct in the listinfo link on the emptyarchive page. Bug #529100.
2010-02-15When daemonizing mailmanctl, we now ensure terminal files are closed.Mark Sapiro1-1/+8
2009-12-30Fixed a bug where check_perms would throw an OSError if an entry inMark Sapiro1-1/+3
Mailman's lists/ directory was not a directory. Bug #265613.
2009-08-05Use the actual host name for validation of the list posting address.Mark Sapiro1-2/+3
2009-07-31Backported several bug fixes from the 2.2 branch.Mark Sapiro1-10/+13
2009-01-11Updated links to Python documentation.Mark Sapiro1-1/+1
2008-11-12Apply Heiko Rommel's patch for hashlib deprecation warnings for bug 293178.Barry Warsaw4-19/+16
I've modified the patch to improve some of the stylistic issues.
2008-10-17Changed bin/arch to attempt to open the mbox before wiping the old archive.Mark Sapiro1-5/+6
Launchpad bug #280418.
2008-10-17Added digest.mbox and pending.pck to the 'list' files checked by check_perms.Mark Sapiro1-1/+2
Launchpad bug #284802.
2008-06-29Fixed erroneously 'pre-configured' commandsMark Sapiro1-1/+1
2008-05-07Changed formatting for standards compliance and readability.Mark Sapiro1-2/+3
2008-04-28Fixed a problem with bin/update erroneously moving templates fromMark Sapiro1-18/+24
templates/xx to lists/xx if a list has the same name as a language code. Also fixed the absolute path to lists/ (1418670 ).
2008-04-27Changed bin/update to remove .bak qfiles.Mark Sapiro1-1/+5
2008-03-03Fixed bin/newlist to add the list's preferred language to the list'sMark Sapiro1-1/+5
available_languages if it is other than the server's default language (1906368).
2008-02-29Changed add_members, clone_member and sync_members to catch or avoidMark Sapiro3-0/+11
MembershipIsBanned exception and report appropriately.
2007-12-06bin/transcheck - copyright date.Mark Sapiro1-1/+1
2007-12-06Corrected a long standing, mostly inconsequential error in bin/transcheck.Mark Sapiro1-2/+3
2007-12-04Forced lower case listnames in a few command line toolsMark Sapiro4-19/+23
2007-11-18bun/unshunt - Added a warning to not unshunt messages that weren't shuntedMark Sapiro1-2/+4
to begin with.
2007-08-03Updated copyright year.Mark Sapiro1-1/+1
2007-08-03Ooops! The previous rev copied a configured file by mistake. Fixed.Mark Sapiro1-1/+1
2007-08-03Backported dumpdb changes from the 3.0 branch to allow dumping of marshals.Mark Sapiro1-33/+30
This has been broken since 2.1.5!
2007-06-28Cleaned up a couple of style issues. No actual code changes.Mark Sapiro1-5/+6
2007-06-28check_perms checked archives/private/ and archives/private/<list>/database/Mark Sapiro1-12/+19
directories to make sure they didn't have certain 'other' permissions, but it didn't check these directories for the necessary user and group permissions. This is now fixed.
2007-04-05Fix a very old bug in withlist which prevented -r from working with packagebwarsaw1-4/+6
paths more deeply nested than 1 level. IOW, -r package.package.module.func now works as intended.
2007-01-02Ensure that exported XML is written in utf-8, at least if we're writing to abwarsaw1-5/+7
file other than stdout. Fix a typo in getting the digest style. Update copyright years.
2006-12-30Port from the trunk: include the widget_type in the <options> tag.bwarsaw1-3/+27
2006-12-30Added the ability to specify a password hashing scheme for output ofbwarsaw1-10/+61
user passwords. Default is 'none' which disables passwords altogether in the resulting XML. Other choices include: plain -- output passwords in plain text sha -- sha1 hash of password ssha -- sha1 hash salted with 4 random bytes (only available if os.urandom() works)
2006-12-29Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting tobwarsaw2-2/+307
upgrade from Mailman 2.1 to the trunk -- after the merge of the SQLAlchemy code -- will need this. Note that I don't intend to implement import in MM2.1. This script is a little diffferent than what's on the trunk, but functionally (and schema-wise) equivalent.
2006-09-01A much improved release script, which now knows about Subversion (though isn'tbwarsaw1-2/+0
yet ready to work from the trunk). Also, get rid of all the obsolete .cvsignore directories, they're no longer needed. Almost ready for 2.1.9rc1!
2006-07-22- bin/unshuntmsapiro1-2/+7
- Queue/Runner.py - Queue/Switchboard.py Backported the gfiles backup changes from the trunk. The following comments are from the trunk checkin. Note that the test cases are not added. Added robustness to Switchboards and Runners so that if a runner crashes uncleanly (e.g. segfaults the Python interpreter), messages being processed will not be lost. The vulnerability, ideas, and patches are credited to Richard Barrett and Mark Sapiro. Their original work was modified by Barry for this commit and any bugs are his fault. The basic idea is that instead of unlinking a .pck file in dequeue(), the file is renamed to a .bak file. The Switchboard grows a finish() method which then unlinks the .bak file. That class's constructor also grows a 'restore' argument (defaulting to false), which when true moves all .bak files it finds in its hash space to .pck, thereby restoring a file lost while "in flight". This relies on the fact that even with multiple qrunners, exactly one process will be responsible for one hash space slice, so it's never possible (under normal operation) for a .bak file to be renamed to .pck by some other process. Test cases for both the new Switchboard behavior and the use of that by Runner subclasses has been added. There are two things to watch out for, either of which may require some additional changes. There is some small potential to duplicate messages in various queues, if say 'mailmanctl' were improperly started more than once by a site admin. This usually won't happen unless an admin is overly eager with the mailmanctl -s switch, so we can chalk this one up to operator error. I'm not sure what more we can do about that. There's also a possibility that if we're processing a message that continually causes the Python interpreter to crash, we could end up duplicating messages endlessly. This is especially troublesome for the Outgoing runner which could conceivably cause a mail flood. I consider this the more critical issue to defend against, probably by adding a numbering scheme to the .bak file names and refusing to restore a .bak file more than say 3 times without human intervention.
2006-03-09Fixed show_qfiles for case where queue entry contains an unparsed message.msapiro1-1/+22
Bug 1444447.
2006-02-05Set default umask for qrunners to 007.msapiro1-4/+5
2006-01-22Fixed bad escape '\0176' in re.msapiro1-3/+4
2006-01-19Copyright years.tkikuchi1-2/+3
2006-01-19http://mail.python.org/pipermail/mailman-developers/2006-January/018548.htmltkikuchi1-2/+9
Before we startup qrunners, we redirect the stderr to mailman syslog. We assume !AS_SUBPROC is running for debugging purpose and don't log errors in mailman logs/error but keep printing to stderr.
2005-12-30A cleansing pass, almost entirely cosmetic. Such things as whitespacebwarsaw2-4/+5
normalization, removal of tabs, copyright year updates to changed files, docstring and comment fixes, and usage of True/False. I also made a pass through the NEWS file. One import was reordered, and after this commit I will move the mmdsr.readme file to README.mmdsr. From my perspective, after that we're ready to go. I will port these changes forward to the trunk.
2005-12-02Arg checking too agressive - didn't allow 0 args with --fromall and --file=msapiro1-4/+4