Re: [Exim] Filter confusion

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Marilyn Davis
CC: exim-users
Sujet: Re: [Exim] Filter confusion
On Thu, 18 Oct 2001, Marilyn Davis wrote:

> I made a simple filter:
>
> # Exim filter <<== do not remove this line
> deliver $local_part@???


> So, in my:
>
> #                    MAIN CONFIGURATION SETTINGS                     #

>
> I put:
>
> message_filter = /usr/exim/filter_to_verio


Aarrgghhhh!!

You cannot use $local_part in a system filter. Why not? Because a system
filter is run _once_ per message. A message may have many recipients.
Therefore, $local_part cannot be set in a system filter because there
isn't a unique value it can be set to.

As another poster says, you need to use a director or router to do this,
and if you are doing that, you might as well just route it directly
rather than mess with a filter.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.