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

Top Page
Delete this message
Reply to this message
Author: Matt Bernstein
Date:  
To: Marc Perkel
CC: exim-users
Subject: 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 :)