Re: command line to move/delete email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <wcooley@xxxxxxxxxxx>
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux