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
James Butler schreef:> 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!If you are using the new Sieve implementation, you can use the new multiscript feature. It is not explained on the wiki yet (I should give the new Sieve its own page), but things are outlined in the configuration section of the INSTALL file: http://hg.rename-it.nl/dovecot-libsieve/raw-file/0.1.4/INSTALL Be sure to test this new feature extensively though, since it may still contain some bugs. Regards, -- Stephan Bosch stephan at rename-it.nl
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
>
Apparently Analagous Threads
- Compilation of dovecot-1.2-sieve-0.1.3 under Solaris 10 for Sparc
- Master Users
- Redirecting mail gives 'mail forwarding loop' to the sender - calling for sieve help
- Compiling v1.3 on different OSes
- Dovecot 1.2 beta1 in Solaris 10 for sparc, error reading maildir format?