command line to move/delete email

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

 



Hi,

I've a anti-spam (currently dspam) and I'm trying to search a plan to
retrain it.

Currently there are 2 imap folders, a spam folder and a ham. My users
copy a  wrong classified message to those folders to retrain dspam.

Each night a script parse each of those folders to analyse the wrong
classified emails.
After analysing it, I would like to delete all the mails in the spam
folder and to move the mails from the ham folder to the inbox.
I can't use 'rm' or 'mv' to do this, because of the architecture of Cyrus.

Do you know an easy way to do this, without having to establish an
imap connection and having to login as admin to the imap server ?

Thanks  for your help.

Regards,
J.
----
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