[Mailman-Users] auto-deleting held messages

Dave Stern - Former Rocket Scientist dave at umiacs.umd.edu
Wed Oct 22 20:54:45 CEST 2003


This is unsolicited but I'm sure someone has or will be bitten by this. So
consider this an amendment to the FAQ.

There's an answer in the FAQ on automatically deleting held messages along
with a script. In the following situation, Given list "somelist" as *well*
as list "somelist-blah",

when the script runs, for list  "somelist" due to the wildcard, it'll wipe
any pending msgs in the other list. The patch is to just tighten up the
regexp to search for 1 or more numbers after the dash ie
   rm ~mailman/data/heldmsg-$LISTNAME-[+0-9]*.txt
(And even that might not be tight enough if you happen to have another list
somelist-1)


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David Stern                                            University of Maryland
                Institute for Advanced Computer Studies





More information about the Mailman-Users mailing list