[Dovecot] Move messages marked as Spam

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Oct 7 15:16:54 EEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 6 Oct 2009, michel at casa.co.cu wrote:

> my question is: where I put this:

It depends on your Sieve version:

cmusieve needs the script in <user-home>/.dovecot.sieve or you configure 
one script for all users.

libsieve uses <user-home>/.dovecot.sieve, too, and you can configure pre- 
and post- sieve scripts.

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

add

 	stop;

here

> }
>
> 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

Well, the same? File it into SPAM_Unsure?

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSsyGt3WSIuGy1ktrAQJ5zAf+Is62bD203w5JqfL5nfryBVZKxRQ7vfGM
6qmjonib1dUHUfGpfP6zAb5ZNoTTQSQVZGVqLkrBz3+Us8gD4ECm7UlZHZHi1S6G
f1qZw8NO/uM+RuJ22STSU8cUlu+a8lE9d7/le/2PBFZjXOMoVG9hLVsxBmdi2QfC
A52Y4llvIz59PMCJHbW0u7KvpmsghMHe15FAhxZSb243sCDVX6hTE8ngbePSddNf
O3Rsx8BxKwbEvwnBGyBIewB5SvdlbJAvo4gGOm/VH5Ftd0zP9CHulkKUffjNdy/4
itF9KqteUJJSMWU7CuqYQcL2LIwu8DQCfyhr4RiyVPkFY/MPMKVvjw==
=iQBp
-----END PGP SIGNATURE-----


More information about the dovecot mailing list