Autor: Marc Perkel Fecha: A: David Cc: exim-users Asunto: Re: [Exim] Need Exim Filter Help - Willing to Pay - Smart Readfile
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
No - not quite.
First - what I had listed below is an example of what might be in the
text file and not something that will be put into the filter.
But - MORE IMPORTANTLY - I'm not looking for something that can be run
with the exim -be command. It has to work in a filter in the form of:
if "expression" matches "your solution"
then
do something
endif
When you put it in a filter the rules change and you have all this
double escaping that you have to do. I have things that work with exim
-be - but I can't get it to work in a filter.
Make it work IN THE FILTER - win $100 by paypal.
David@??? wrote:
>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
>
>
>
>
> --