[leafnode-list] Re: Why does this filter not work
Gary R. Schmidt
grschmidt at acm.org
Mon Aug 7 12:48:12 CEST 2017
On 07/08/2017 20:28, Cecil Westerhof wrote:
> I have a message that I want to filter where there is a line:
> From: "Case Solution & Analysis" <casesolutionscentre at gmail.com>
>
> I define a filter rule:
> ^From: .*<casesolutionscentre at gmail.com>$
>
> But when I run applyfilter the message is not filtered.
> What am I doing wrong?
>
I think it's the '$' - do you really need the address to be the last
thing on the line?
Some similar filters from mine:
^From:.*<aminer at toto\.net>
^From:.*waldo at pepper\.com
They work fine. Also, is the leading <TAB> just for clarity or really
in your filters file?
Cheers,
Gary B-)
More information about the leafnode-list
mailing list