[Dovecot] Global Sieve File

Andrés Yacopino ayacopino at acasalud.com.ar
Wed Apr 8 18:42:23 EEST 2009


I am testing yet this version of sieve with dovecot  1.2 beta
I have done in dovecot.conf:

protocols = imap imaps pop3 pop3s managesieve
mail_plugins = quota sieve
sieve_before = /usr/local/etc/sieve/global/.global.dovecot.sieve

more /usr/local/etc/sieve/global/.global.dovecot.sieve:

require "fileinto";
if exists "X-Spam-Flag" { fileinto "spam"; }

I have found that i need a personal script in the home directory to 
execute this global script, if the user script isn't exists this before 
script is not run.

Personal script:

more .dovecot.sieve:

require "include";

I am planning to use this to filter spam in a global script and deploy 
managed sieve with avelsize plugin with squirrelmail to let users 
configure their vacation messages

I would prefer to have independent global scripts from personal scripts.

Greetings,

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacopino at acasalud.com.ar



James Butler escribió:
> Is anyone here using a global Sieve file that handles messages for an
> entire server with many users? I understand and use local Sieve files, but
> I would like to learn more about how to set up Sieve to filter ALL
> incoming messages using a single file. I would love to read about how you
> managed to get it working.
>
> I'm running Fedora 10 with Postfix 2.5.5 and Dovecot 1.2.rc2.
>
> Thanks for any insight!
>
> James
>   


More information about the dovecot mailing list