aboutsummaryrefslogtreecommitdiffstats
path: root/bin (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2005-11-04bin/config_list PEP263 and i18n improvement.tkikuchi1-17/+30
2005-08-27FSF office has moved to 51 Franklin Street.tkikuchi35-35/+35
2005-05-31Fixes for SF #949117.bwarsaw1-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.
2005-05-13Provide a warning about the private archive directory permissions on sharedbwarsaw1-2/+9
multiuser systems, and provide some information on what can be done about it. Update the install document.
2005-05-13main(): Honor doprint even if we're not in filetype == 1.bwarsaw1-8/+11
2005-02-02Need a special care for scrub_nondigest list attachments.tkikuchi1-0/+13
2005-01-16New names added to ACKNOWLEDGMENTS. Updated NEWS in preparation for 2.1.6b1.bwarsaw1-2/+2
Update copyright years for files changes in 2005. Whitespace normalization.
2004-12-30Renamed reset_pw to reset_pw.py so that the file looks like a Python module.bwarsaw3-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.
2004-12-30From the NEWS file:bwarsaw3-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.
2004-11-07add options for hostnames in newlist command.tkikuchi1-17/+52
2004-10-19[ 874764 ] -admin address is now equiv to -bouncetkikuchi1-3/+3
2004-07-06getgrgid(), checkwalk(): cache the results of grp.getgrgid() so things go muchbwarsaw1-3/+14
faster. (At least some) libc getgrgid() opens /etc/group for every query.
2004-04-24update_qfiles(): Skip the qfiles/bad directory.bwarsaw1-0/+3
2004-02-29main(): Catch base class of EmailAddressError so either MMBadEmailError orbwarsaw1-13/+13
MMHostileAddress will be caught. This (and the previous similar patch to Mailman/Cgi/create.py) were given by SHIGENO Kazutaka.
2004-02-29update_pending(): Return immediately if the pending db has already been updatebwarsaw1-0/+3
or otherwise doesn't exist.
2004-02-29dequeue(): Catch ValueErrors too.bwarsaw1-1/+1
2004-02-22update_pending(): Tokio Kikuchi's patch #899263 for ignoring duplicate pendingbwarsaw1-2/+4
ids. (With slight modification by BAW.)
2004-02-10update_qfiles(), ext_read(), dequeue(): More gross stuff to upgrade thebwarsaw1-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.
2004-02-10main(): Extend pickle file dumping to print every object in the pickle file.bwarsaw1-10/+32
2004-02-03Added helpful comment.bwarsaw1-1/+2
2003-12-27dolist(): Don't move o_tmpl to n_tmpl if the former doesn't exist.bwarsaw1-5/+9
2003-12-24SCRIPTS: Add Richard Barrett's script to fix Pipermail archive bloatbwarsaw1-1/+1
on existing archives. Closes SF bug #835332. Note, you have to re-run configure to pick up this new script.
2003-12-24Richard Barrett's script to fix Pipermail archive bloat on existingbwarsaw1-0/+108
archives. Closes SF bug #835332.
2003-12-14check_privs(): Set the process's supplemental groups to those of thebwarsaw1-0/+7
setuid'd user, if os.setgroup() is available (it's not in Python 2.1). Close SF bug #777444 posted by Richard Barrett, identified and solved by Jonas Muerer.
2003-11-24do_input(): Kludge around a problem when setting new_member_optionsbwarsaw1-1/+10
via config_list. This one sucks because new_member_options is a Checkbox but the standard way of setting and getting these values doesn't really work. Fixes SF # 841445.
2003-09-22Backporting from the HEAD -- bin and cron scriptsbwarsaw6-27/+74
2003-09-22This commit was manufactured by cvs2svn to create branch2-0/+194
'Release_2_1-maint'.
2003-04-22Backporting once again from the trunk.bwarsaw1-1/+1
I18ners please double check (except Tokio). It's always so painful to resolve conflicts here, I hope I got them right.
2003-04-22This commit was manufactured by cvs2svn to create branch1-0/+203
'Release_2_1-maint'.
2003-04-20Backporting from the trunk.bwarsaw2-71/+44
2003-04-19Backport from the trunk, and catalog regeneration.bwarsaw2-16/+22
2003-04-07Backporting from trunk.bwarsaw1-1/+1
2003-04-02Backport:bwarsaw1-6/+6
scanlists(): Fix -w option by repairing a typo. Closes SF bug #710678 by Richard Barrett, who also provided the patch.
2003-03-31Backporting various fixes and improvements from the trunk.bwarsaw6-81/+130
2003-03-31Backporting SF patch #683906, add $DESTDIR to install target, bybwarsaw1-2/+3
Ademar de Souza Reis Jr
2003-02-08Backporting from the trunk.bwarsaw1-1/+15
2003-01-03main(): Fix some dumb coding bugs.bwarsaw1-3/+3