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

Top Page
Delete this message
Reply to this message
Author: David
Date:  
To: Marc Perkel
CC: exim-users
Subject: Re: [Exim] Need Exim Filter Help - Willing to Pay - Smart Readfile
On Wed, 14 May 2003, Marc Perkel wrote:

> A test file would look like this:
>
> farm.*sex
> ^.*porn-site1
> ^.*porn-site2
> # Comment to ignore followed by a blank line to also ignore
>
> spam-site1
> ^.*spam-site2
> ^.*spam-site[0-9]{1,3}
> #End - this line is ignored


exim -be
> ${sg{${sg{${sg{${readfile{/usr/exim/test}{|}}}{\\|\\|}{|}}}{#.*?\\|}{}}}{\\|\$}{}}

farm.*sex|^.*porn-site1|^.*porn-site2|spam-site1|^.*spam-site2|^.*spam-site[0-9]{1,3}
>


That's what you want, right?

DG