RE: Re: [EXIM] per-address filtering

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Pollywog
CC: exim-users
Subject: RE: Re: [EXIM] per-address filtering
On Tue, 14 Apr 1998, Pollywog wrote:

> ->> central_filter:
> ->> driver = forwardfile
> ->> file = dbm;/central/filters/${local_part}
> ->
> ->That is a rather odd file name. I think you mean
> ->
> -> file = /central/filters/${local_part}
> ->
> ->No search-type is involved - a filter file is just a sequential file,
> ->like a .forward file. Oh, if you wanted to look up the name of each
> ->user's filter file, then you need something like
> ->
> -> file = ${lookup{$local_part}dbm{/central/filters}{$value}{/default/file}}
>
> Is there a special place for central_filter ? I put it in the main section and
> when I restarted Exim, it complained that it did not recognize central_filter
> or central_filter: .


It's a driver. Only drivers have names. Each kind of driver goes in its
own section. Forwardfile is a director. Therefore it goes in the
directors section, in the correct order - presumably after any alias
handling.


-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***