script processing messages

Norman Zhang norman.zhang at rd.arkonnetworks.com
Thu Jun 10 19:59:00 EDT 2004


I think you can use ipurge (it comes with Cyrus IMAPD). On top of my head
I can't remember the syntax. Just look it up syntax. HTH.

Regards,
Norman

> What's the most simple method to connect to a Cyrus IMAP server, login
> as a user, go to a certain folder (the path is known), delete all
> messages in it, then logout - and do all that from a shell script? (a
> cron job)
>
> What i have to accomplish is to periodically grab all messages from a
> folder then empty the folder. I know i can simply copy the message files
> from the Cyrus spool, because that's exactly what i need (one message
> per file, and it must be the whole message, headers included), however i
> need a method to cleanly delete the messages afterwards.
>
> --
> Florin Andrei

---
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