[exim] Filtering issue (Sieve)

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Fabien LUCE
Date:  
À: exim-users
Sujet: [exim] Filtering issue (Sieve)
Hi everyone,

i'm pretty new to exim.
I try to use user Sieve scripts in order to sort my emails according to
filtering rules.

First of all: what is the best way to perform this: by the MTA way or by the
IMAP serveur way?

Secondly, here is my router definition that manage the Sieve script:

userforward:
> driver = redirect
> check_local_user
> # local_part_suffix = +* : -*
> # local_part_suffix_optional
> file = $home/.forward
> allow_filter
> no_verify
> no_expn
> check_ancestor
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
>


and .forward file in the user folder:

#Sieve filter
> require "fileinto";
> fileinto "/home/ftg/Maildir/.Test/";
>


the .Test folder can exist or not, but for simplicity, let's say it exists.

No mail arrives, when i enter exim -bf .forward -f ftg I got a message:

> Warning: no message headers read
> Return-path copied from sender
> Sender      = ftg@???
> Recipient   = root@???
> Testing Sieve filter file ".forward"

>
> No implicit keep
>


What do you think of it?