On 12 May 2009 at 17:58, Mark Sapiro wrote: > >On Tue, May 12, 2009 at 08:27:45AM -0400, Bernie Cosell wrote: > >> Is there a command-line way to "discard all messags marked defer"? > > Actually a FAQ more specific to this question is > <http://wiki.list.org/x/nIA9>.
I've been pushing on this some, to no avail at the moment. The simple part was finding the data directory, the wiki isn't exactly correct: on our install, at least, the data directory is in /var/lib/mailman. Since it seems to be constructed from VAR_PREFIX I'd guess that on most setups it'd be in a different place than ~mailman. What I'm running into now is that the command-line pgm has to be run as user 'mailman' and I can't do that [at least not very easily]. I tried setting discard to be setgid, but that seems not to work, so I guess this is a followon question: is there a way to make python scripts run setuid/setgid? [basically, my situation is that I can only get to the mail server logged in as me, NOT logged in as mailman] -- I suppose I could always write a setgid Perl one-liner to run the Python discard..:o) /Bernie\ -- Bernie Cosell Fantasy Farm Fibers mailto:ber...@fantasyfarm.com Pearisburg, VA --> Too many people, too few sheep <-- ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9