[Mailman-Users] Delete archive?

Mark Sapiro mark at msapiro.net
Fri Nov 6 11:55:52 EST 2015


On 11/06/2015 06:50 AM, am via Mailman-Users wrote:
> Is there a way to wipe out an archive and restart it from scratch?


To delete the archive completely including the cumulative mbox file, do

echo > /path/to/mailman/archives/private/LISTNAME.mbox/LISTNAME.mbox
/path/to/mailman/bin/arch --wipe LISTNAME

To delete just the web archive without deleting messages from the
cumulative mbox file, just do

/path/to/mailman/bin/arch --wipe LISTNAME /dev/null

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list