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.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.