Re: [Exim] filter user and home-directories

Top Page
Delete this message
Reply to this message
Author: robert rotman
Date:  
To: Philip Hazel
CC: exim-users
Subject: Re: [Exim] filter user and home-directories
On Thu, 16 Nov 2000, Philip Hazel wrote:

> On Thu, 16 Nov 2000, robert rotman wrote:
>
> > I'm new to the user filter and get the following error
> >
> >
> > # Exim filter
> > if $header_subject: contains "foo" 
> > then 
> >    deliver rotman@??? 
> > endif
> >   is not an absolute path for the user_filter director
> > ^^
> > -> some spaces

> >
> > this is the exact output of the logfile.
>
> There is no problem with the filter. The problem is in the director. It
> is specifing a non-absolute path.
>
> > my director is:
> >
> > user_filter:
> > driver = forwardfile
> > check_local_user = false
> > user = exim
> > condition = ${lookup mysql{select id from mail ....
> > file = ${lookup mysql{select filter_content ....
> > filter
> > no_verify
> >
> > anyone tried filters in db's?
> > any suggestions?
>
> The "file" option specifies the *name* of the filter file, not the
> content. You will have to wait for the next Exim release (or use the
> current testing release) if you want to read filter content from a
> database.
>


I use the current testing release.


robert