Re: [Exim] Need Exim Filter Help - Willing to Pay - Smart Re…

Página Inicial
Delete this message
Reply to this message
Autor: Matt Bernstein
Data:  
Para: Marc Perkel
CC: exim-users
Assunto: Re: [Exim] Need Exim Filter Help - Willing to Pay - Smart Readfile
At 07:07 -0700 Marc Perkel wrote:

>if "$h_received:" matches "${readfile{/etc/exim/blockhosts}{|}}"
>then
> Add some header
>endif
>
>But - where it fails is - if there is a newline at the end it returns a
>final | which kills it. Similarly - a blank line returns || in the
>middle which also kills it.
>
>It can't return (String1|String2||String3|)


use the sg{}{}{} operator or inline perl! And give ph10 the money :)