[Dovecot] Move messages marked as Spam

michel at casa.co.cu michel at casa.co.cu
Wed Oct 7 03:37:54 EEST 2009


Hello

I have implemented recently in my work bogofilter to mark
messages as Spam or Ham, currently is working perfectly, but I want to
move those messages marked as spam to a folder called spam.

I installed dovecot-sieve with the intention of using fileinto to
accomplish this.

my question is: where I put this:

require "fileinto";

if header :contains "X-Bogosity" "Spam" {
         fileinto "Spam";
}

so that all messages that come to my users go into the spam folder?



and how i handle messages that are marked as "Unsure"

X-Bogosity: Unsure



Thanks
Michel
----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.




More information about the dovecot mailing list