Deleting mails from the command line?

Erik Norgaard norgaard at locolomo.org
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
own.

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

Regards, Erik

GnuPG Key: http://www.locolomo.org/home/norgaard/norgaard.gpg.asc
pub  1024D/B02CC311 2004-04-05 Erik Norgaard <norgaard at locolomo.org>
     Key fingerprint = 6C11 B9B1 52BD F16D 34AD  9893 D3EC E6DB B02C C311
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list