Re: [Exim] per-user filtering

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: tsh
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] per-user filtering
tsh@??? wrote:
> Newbie running exim 4.10
> ------------------------
>
> I'm tring to implement a per-user filter which doesnt
> use .forward files. In sction 39.8, the exim ref
> show some code similar to:
>
> central_filter:
> driver = redirect
> domains = +local_domains
> file = /central/filters/$local_part
> no_verify
> allow_filter
> allow_freeze
>
> I havent yet grasped the division of labour within exim.
> Is this code meant to be a router definition?


Yes it's a router.

> If not, where should it go? If I run a test msg through
> exim (with exim -bh) using this code in the router section
> of my config file, the output doesnt show any reference to it.
>
> This section is placed just ahead of my system_aliases router thus:


In most cases you should put the central_filter BELOW your
system_aliases, so aliases are resolved first.

Please post a debugrun, so we can see what is wrong.

ciao