[exim] Sieve filter or Exim filter ?

Top Pagina
Delete this message
Reply to this message
Auteur: Rakotomandimby (R12y) Mihamina
Datum:  
Aan: exim-users
Onderwerp: [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)