Am 07.10.2009 um 21:10 schrieb Michel Bulgado:
global-default.script
#####################

require ["include"];
include :global "global-spam.script";


global-spam.script
###################

require "fileinto";

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

The include is intended to be run from a personal script. You kind of loop it from the global script itself.

And i still seeing this in my logs:
mailserver deliver(mic...@casa.co.cu): Per-user script path is unknown.
See http://wiki.dovecot.org/LDA/Sieve#location


Per default 'cmusieve' will look for '.dovecot.sieve' in the user's home directory. Reference your global script from there, or better, for testing put the code of the global script in '.dovecot.sieve'.

You may also configure the personal script:

sieve = /var/sieve-scripts/%u.sieve

Regards
Thomas
 

Reply via email to