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: [EXIM] per-address filtering
On Sun, 12 Apr 1998, Pollywog wrote:

> Now I am trying to understand the new feature called "per-address filtering"
> and I want to know how to make the /central/filters file; or is this a
> collection of files (one for each user) in the /central/filters directory?


It can be either, depending on how you configure it. Or it could be a
small number of files with some users using one and some using another.

> Is
> it a text file that is made into db format in the same way as other db files
> used by Exim?


No.

> 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}}

-- 
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/ ***