[exim] Sieve filter or Exim filter ?

Pàgina inicial
Delete this message
Reply to this message
Autor: Rakotomandimby (R12y) Mihamina
Data:  
A: exim-users
Assumpte: [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)