Removing mail from command line

Sebastian Hagedorn Hagedorn at uni-koeln.de
Thu Mar 11 03:51:14 EST 2004


--On Donnerstag, 11. März 2004 0:19 Uhr +0000 Jamie Penman-Smithson 
<jamie at silverdream.org> wrote:

> After I've done that, I'd like to delete the messages currently in the
> folder. I've read the bits and pieces about cyrus being a 'closed box'
> mail system, but I was hoping that someone would have a solution.

You have to use IMAP to do that (for example through a Perl script), or 
perhaps the ipurge command.

> I've
> tried rm'ing a message from a test mailbox, and while it's gone, I
> assume that cyrus caches all mail because it remains there when I check
> with my IMAP client.

No, Cyrus only *thinks* it's still there ... you need to run reconstruct on 
that mailbox, otherwise there's going to be trouble.

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR-R1 (Gebäude 52), Zimmer 18
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040311/fdfec18b/attachment.bin


More information about the Info-cyrus mailing list