[exim] Sieve filter or Exim filter ?

Góra strony
Delete this message
Reply to this message
Autor: Rakotomandimby (R12y) Mihamina
Data:  
Dla: exim-users
Temat: [exim] Sieve filter or Exim filter ?
Hello,
I already have a .forward file I created following a tutorial about
spamassassin.
I would like to append commands to filter mails and dispatch them into
directories.
I dont see anywhere if it's a Sieve syntax or an Exim one.
Would you tell me what is it? Is it indicated by the first line?
Thank you.

Here is the file :
# Exim filter
            if
               $h_X-Spam-Status: CONTAINS "Yes"
                  or
               "${if def:h_X-Spam-Flag {def}{undef}}" is "def"
            then
               save $home/Maildir/.spam/
               finish
            endif
# /home/mihamina/Maildir/


-- 
ASPO Infogérance       http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orléans et alentours.
Tél : 02 38 76 43 65 (France)