Re: [exim] Per User Filters in a database Possible?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Craig Whitmore
CC: exim-users
Subject: Re: [exim] Per User Filters in a database Possible?
On Mon, 2 Oct 2006, Craig Whitmore wrote:

> I am looking after a large exim cluster and I am looking at per user sieve
> filters but I am looking at
> a way of putting these files in a database (say mysql) instead of having to
> put them on the file system for each user.
>
> Is there anyway of doing this?


Yes. Use "data = ${lookup ... whatever" in the redirect router. Make
sure that what is looked up begins "#Sieve filter\n" (or automatically
add that on the front) and remember to set allow_filter.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book