Deleting messages

Andrew Morgan morgan at orst.edu
Tue Jan 27 12:30:53 EST 2004


On Tue, 27 Jan 2004, Vernon A. Fort wrote:

> I need to find a way, via a simple perl script, to pass delete a single
> message from a email folder.
>
> I have been just rm -f $file and then recontruct the mailbox but need a
> more effecient method.  Can you use Cyrus::IMAP::Admin and use the
> delete function on the message file?
>
> Any pointers would greatly help!!!
>
> Vernon

Have a look at the Mail::IMAPClient Perl module...

	Andy





More information about the Info-cyrus mailing list