Even better ----
for regex in /etc/mail/regex.list
Petri Laatunen wrote:
> Hello,
>
> Can someone recommend a good way to implement the following in exim
> filters:
>
> for regex in 'regex1' 'regex2' ...
> do
> if ($message_body matches "$regex")
> then
> fail "Some text..."
> seen finish
> endif
> done
>
> The idea is to avoid writing tons of if-statements to test each regex
> separately.
>
> Thanks in advance,
>
> Petri
>
> --------------------------------------------------------------------------
> Mr. Petri Laatunen Ohjelmoija / Computer programmer
> Celia - Näkövammaisten kirjasto Work phone: +358-9-229 52 224
> Mäkelänkatu 58-60 E-mail: petri.laatunen@???
> 00510 Helsinki (postmaster@???)
> FINLAND Web: http://www.celialib.fi/
> ==========================================================================
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##