command line to move/delete email
Wil Cooley
wcooley at nakedape.cc
Tue Aug 15 11:50:52 EDT 2006
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 at nakedape.cc>
Naked Ape Consulting, Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20060815/0da854a3/attachment.bin
More information about the Info-cyrus
mailing list