Deleting mails from the command line?

Erik Norgaard norgaard at
Wed Aug 18 08:43:03 EDT 2004

On Wed, 18 Aug 2004, Paul Boven wrote:

> What would be a proper way to delete these emails, preferably from the
> command line or perl so I can script the whole thing and get rid of all
> the NetSky's and Sober's ?

If you are in the process of migrating, why not remove the mails
before they get into the folder? I have found the provided scripts
rather inflexible for that kind of problems, so I developed my

If you want to scan/remove after the migration, take a look at the
Mail::IMAPClient module.

Regards, Erik

GnuPG Key:
pub  1024D/B02CC311 2004-04-05 Erik Norgaard <norgaard at>
     Key fingerprint = 6C11 B9B1 52BD F16D 34AD  9893 D3EC E6DB B02C C311
Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list