Re: Managing Maildirs
From: Ollie Cook (ollie_at_uk.clara.net)
Date: 12/21/03
- Previous message: Mike Tancsa: "large pop3 servers"
- In reply to: Bill Campbell: "Re: Managing Maildirs"
- Next in thread: Bill Campbell: "Re: Managing Maildirs"
- Reply: Bill Campbell: "Re: Managing Maildirs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Dec 2003 12:06:50 +0000 To: freebsd-isp@freebsd.org
On Fri, Dec 19, 2003 at 11:00:55AM -0800, Bill Campbell wrote:
> Number one above will do the trick and is far more efficient than using the
> ``find ...-exec'', although you might want to modify it to only nuke mail
> over a certain age. To nuke all trash over 30 days old:
>
> find /home/*/Maildir/.Trash -type f -mtime +30 | xargs rm
Using '-delete' rather than 'find ... | xargs rm' should be more efficient
still:
find /home/*/Maildir/.Trash -type f -mtime +30 -delete
Ol.
-- Oliver Cook Systems Administrator, Claranet UK ollie@uk.clara.net 020 7903 3065 _______________________________________________ freebsd-isp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isp To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Mike Tancsa: "large pop3 servers"
- In reply to: Bill Campbell: "Re: Managing Maildirs"
- Next in thread: Bill Campbell: "Re: Managing Maildirs"
- Reply: Bill Campbell: "Re: Managing Maildirs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|