Greetings. Is there a relatively standard way to place a lock on a Mailman list with bourne/bash/etc. scripts?
I see the interactive method using Mailman's *withlist* script (as described here http://www.gnu.org/s/mailman/site.html), but I need to place a lock so that an unattended perl script can prune older messages from the list's .mbox archive, nightly or weekly via cron. Yes, one might code the call to the perl mbox pruning script in python with os.system() or commands.getoutput(), and then call withlist via cron to get the perl to run while the list is locked -- but that seems like rolling a lot together just to get a lock placed on a list. :-) Is there a more straightforward way to lock/unlock a mailing list? Thanks for any insight. -- Richard Haas <rh...@rhaas.us> GnuPG public key ID: 1CB7F0E2 -- ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org