aboutsummaryrefslogtreecommitdiffstats
path: root/bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changed bin/arch to attempt to open the mbox before wiping the old archive.Mark Sapiro2008-10-171-5/+6
| | | | Launchpad bug #280418.
* Added digest.mbox and pending.pck to the 'list' files checked by check_perms.Mark Sapiro2008-10-171-1/+2
| | | | Launchpad bug #284802.
* Fixed erroneously 'pre-configured' commandsMark Sapiro2008-06-291-1/+1
|
* Merged the cull_bad_shunt branch.Mark Sapiro2008-06-061-0/+4
|\
| * Changed bin/update to remove .bak qfiles.Mark Sapiro2008-04-271-1/+5
| |
* | Changed formatting for standards compliance and readability.Mark Sapiro2008-05-071-2/+3
| |
* | Fixed a problem with bin/update erroneously moving templates fromMark Sapiro2008-04-281-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 ).
* Fixed bin/newlist to add the list's preferred language to the list'sMark Sapiro2008-03-031-1/+5
| | | | | available_languages if it is other than the server's default language (1906368).
* Changed add_members, clone_member and sync_members to catch or avoidMark Sapiro2008-02-293-0/+11
| | | | MembershipIsBanned exception and report appropriately.
* bin/transcheck - copyright date.Mark Sapiro2007-12-061-1/+1
|
* Corrected a long standing, mostly inconsequential error in bin/transcheck.Mark Sapiro2007-12-061-2/+3
|
* Forced lower case listnames in a few command line toolsMark Sapiro2007-12-044-19/+23
|
* bun/unshunt - Added a warning to not unshunt messages that weren't shuntedMark Sapiro2007-11-181-2/+4
| | | | to begin with.
* Updated copyright year.Mark Sapiro2007-08-031-1/+1
|
* Ooops! The previous rev copied a configured file by mistake. Fixed.Mark Sapiro2007-08-031-1/+1
|
* Backported dumpdb changes from the 3.0 branch to allow dumping of marshals.Mark Sapiro2007-08-031-33/+30
| | | | This has been broken since 2.1.5!
* Cleaned up a couple of style issues. No actual code changes.Mark Sapiro2007-06-281-5/+6
|
* check_perms checked archives/private/ and archives/private/<list>/database/Mark Sapiro2007-06-281-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.
* Fix a very old bug in withlist which prevented -r from working with packagebwarsaw2007-04-051-4/+6
| | | | | paths more deeply nested than 1 level. IOW, -r package.package.module.func now works as intended.
* Ensure that exported XML is written in utf-8, at least if we're writing to abwarsaw2007-01-021-5/+7
| | | | | file other than stdout. Fix a typo in getting the digest style. Update copyright years.
* Port from the trunk: include the widget_type in the <options> tag.bwarsaw2006-12-301-3/+27
|
* Added the ability to specify a password hashing scheme for output ofbwarsaw2006-12-301-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)
* Port the Mailman trunk's export.py script to Mailman 2.1. Anyone wanting tobwarsaw2006-12-292-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.
* A much improved release script, which now knows about Subversion (though isn'tbwarsaw2006-09-011-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!
* - bin/unshuntmsapiro2006-07-221-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.
* Fixed show_qfiles for case where queue entry contains an unparsed message.msapiro2006-03-091-1/+22
| | | | Bug 1444447.
* Set default umask for qrunners to 007.msapiro2006-02-051-4/+5
|
* Fixed bad escape '\0176' in re.msapiro2006-01-221-3/+4
|
* Copyright years.tkikuchi2006-01-191-2/+3
|
* http://mail.python.org/pipermail/mailman-developers/2006-January/018548.htmltkikuchi2006-01-191-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.
* A cleansing pass, almost entirely cosmetic. Such things as whitespacebwarsaw2005-12-302-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.
* Arg checking too agressive - didn't allow 0 args with --fromall and --file=msapiro2005-12-021-4/+4
|
* bin/config_list PEP263 and i18n improvement.tkikuchi2005-11-041-17/+30
|
* FSF office has moved to 51 Franklin Street.tkikuchi2005-08-2735-35/+35
|
* Fixes for SF #949117.bwarsaw2005-05-311-11/+20
| | | | | | | | update_qfiles(): Catch and ignore OSErrors when trying to listdir() a non-directory. dequeue(): Catch EOFErrors that can occur if a zero-length qfile is encountered.
* Provide a warning about the private archive directory permissions on sharedbwarsaw2005-05-131-2/+9
| | | | | multiuser systems, and provide some information on what can be done about it. Update the install document.
* main(): Honor doprint even if we're not in filetype == 1.bwarsaw2005-05-131-8/+11
|
* Need a special care for scrub_nondigest list attachments.tkikuchi2005-02-021-0/+13
|
* New names added to ACKNOWLEDGMENTS. Updated NEWS in preparation for 2.1.6b1.bwarsaw2005-01-161-2/+2
| | | | Update copyright years for files changes in 2005. Whitespace normalization.
* Renamed reset_pw to reset_pw.py so that the file looks like a Python module.bwarsaw2004-12-303-27/+53
| | | | | | | | | This goes hand-in-hand with one of two changes to withlist. Now, withlist puts the directory it's found in on the end of sys.path. This way it's much easier to run withlist scripts that live in bin. The other change allows running withlist w/o a list name, but only if -i is given. Makes it easier to debug various non-list related parts of Mailman.
* From the NEWS file:bwarsaw2004-12-303-12/+100
| | | | | | | | | | - Added the ability for Mailman generated passwords (both member and list admin) to be more cryptographically secure. See new configuration variables USER_FRIENDLY_PASSWORDS, MEMBER_PASSWORD_LENGTH, and ADMIN_PASSWORD_LENGTH. Also added a new bin/withlist script called reset_pw which can be used to reset all member passwords. Passwords generated by Mailman are now 8 characters by default for members, and 10 characters for list administrators.
* add options for hostnames in newlist command.tkikuchi2004-11-071-17/+52
|
* [ 874764 ] -admin address is now equiv to -bouncetkikuchi2004-10-191-3/+3
|
* getgrgid(), checkwalk(): cache the results of grp.getgrgid() so things go muchbwarsaw2004-07-061-3/+14
| | | | faster. (At least some) libc getgrgid() opens /etc/group for every query.
* update_qfiles(): Skip the qfiles/bad directory.bwarsaw2004-04-241-0/+3
|
* main(): Catch base class of EmailAddressError so either MMBadEmailError orbwarsaw2004-02-291-13/+13
| | | | | | | MMHostileAddress will be caught. This (and the previous similar patch to Mailman/Cgi/create.py) were given by SHIGENO Kazutaka.
* update_pending(): Return immediately if the pending db has already been updatebwarsaw2004-02-291-0/+3
| | | | or otherwise doesn't exist.
* dequeue(): Catch ValueErrors too.bwarsaw2004-02-291-1/+1
|
* update_pending(): Tokio Kikuchi's patch #899263 for ignoring duplicate pendingbwarsaw2004-02-221-2/+4
| | | | ids. (With slight modification by BAW.)
* update_qfiles(), ext_read(), dequeue(): More gross stuff to upgrade thebwarsaw2004-02-101-29/+227
| | | | | | | | | separate .db and .msg qfiles to the single .pck file. update_pending(): Updates the global data/pending.pck file to the per-list .pck files as best as possible. main(): update the qfiles and pending database.