[TriLUG] mbox cleanup

Ian Kilgore ian at trilug.org
Mon Dec 4 22:31:54 EST 2006


On Mon, Dec 04, 2006 at 04:12:10PM -0500, Brian Henning wrote:
> Hi Gang,
>   What's a quick and easy command-line (i.e. cron-able) tool to take an 
> mbox file and delete messages received prior to a given date?
> 
> The idea is to clean out our two spam-catching mailboxes so that they 
> only hold, say, the past two months' worth of activity.
> 
> Thanks!
> ~Brian
> 
> -- 
> ----------------
> Brian A. Henning
> strutmasters.com
> 336.597.2397x238
> ----------------
'archivemail' is nice for that sort of thing.  It can be slow (read:
mind-numbingly-painful) on Very Large Mailboxes(tm), but other than that
it's great :)
-- 
Ian Kilgore
echo "pfxz at pfxz.trw" | tr pzfwxt ikagno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.trilug.org/pipermail/trilug/attachments/20061204/36feb617/attachment.pgp>


More information about the TriLUG mailing list