On Tue, 2006-08-15 at 16:52 +0200, jf wrote:

> Do you know an easy way to do this, 

Yes.

> without having to establish an imap connection and having to login as
> admin to the imap server ?

No; well, you have to connect with IMAP but you don't have to login as
admin--use ACLs.  It's fairly easy to script; here's a script I wrote to
feed spam from a folder into SpamAssassin's sa-learn and delete it:

http://haus.nakedape.cc/svn/public/trunk/small-projects/mail-utils/bayesuck/

You'll also need the simaplib.py from the parent directory.

Wil
-- 
Wil Cooley <[EMAIL PROTECTED]>
Naked Ape Consulting, Ltd

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to