Re: [Exim] Local Variables in Filters

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: Keith Goettert
CC: exim-users
Assunto: Re: [Exim] Local Variables in Filters
On Sat, 23 Aug 2003, Keith Goettert wrote:

> I have looked for this several times now in the docs. I am pretty sure
> that filters do not support any form of a user defined variable and also
> do not support macros.
>
> 1) Is this true?


Yes.

> 2) Can I add local (scope = filter script) variables to the wish list?
> Even if they are just like the $nx vars. Something that can be assigned
> a string for substitution latter. (Macros would work also)
>
> Why, because my system filter file is getting unreadable with
> repetitions of tests, lookups and expressions. Help!!


You are trying to do things in the filter that were never intended when
the very simple filtering language was designed.

Just adding variables would only fix part of this "problem".

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book