command line deletion of files
Dan White
dwhite at olp.net
Thu Sep 29 10:33:01 EDT 2016
On 09/29/16 14:27 +0000, Shawn Bakhtiar via Info-cyrus wrote:
>trying to get rid of some emails that have large attachments (i.e. videos sent over email, or cd images, etc...)
>
>Would it be proper to
>
>rm -rf /var/spool/imap/u/username/mailbox/4321.
>
>then
>
>reconstruct -rf user.username
>
>Or is there a more "proper" way using cyrus?
I've found mutt to be useful for this type of maintenance, which can sort
messages by size, and can delete ranges. If you don't have access to user
passwords, set up a 'proxyservers' authz identity to access their
mailboxes.
--
Dan White
More information about the Info-cyrus
mailing list