List Info

Thread: batch delete mail from imap folder




batch delete mail from imap folder
user name
2006-08-26 20:35:28
Hello to everybody!

I just succesfully installed my  kolab server with
spamassassin learning
as explained in the wiki site (Fighting spam) using the
Spamandclam.sh
script.
I have this problem, I want to delete all spam and ham mails
from the
two shared folder
 /kolab/var/imapd/spool/domain/*/shared^spam/ and
/kolab/var/imapd/spool/domain/*/shared^ham/

I tried to delete them directly from file system but cyrus
doesn't like
this!

Someone has some suggestion to implement this file
deletetion ?

Best regards

Francesco Trimarchi

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
batch delete mail from imap folder
user name
2006-08-28 10:44:20
Hello,

Am Samstag, 26. August 2006 22:35 schrieb Francesco
Trimarchi:
> I just succesfully installed my  kolab server with
spamassassin learning
> as explained in the wiki site (Fighting spam) using the
Spamandclam.sh
> script.
> I have this problem, I want to delete all spam and ham
mails from the
> two shared folder
>  /kolab/var/imapd/spool/domain/*/shared^spam/ and
> /kolab/var/imapd/spool/domain/*/shared^ham/
>
> I tried to delete them directly from file system but
cyrus doesn't like
> this!
>
> Someone has some suggestion to implement this file
deletetion ?

I don't know if this is the kind of solution you are
looking for. You could 
just set your email client to Auto-Delete Emails that are
older than n days 
in these two folders (supposing you have the right
permissions).

Alternatively using fetchmail, getmail or some other IMAP
sync tool with the 
correct options should do the trick. This sould also work
from a cron job. I 
have not tried it though.

regards,
Andreas Micklei

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )