On 2017-02-06 22:56, Dominic Raferd wrote:
On 6 February 2017 at 21:23, Istvan Prosinger <ist...@prosinger.net>
wrote:

Hi All, and Happy New Year with a little delay :)

Comming to spam, header checks are one tool that I use frequently to
prevent it.

So, amongst all, I have this:

if !/^Subject: (.*)[Aa]liexpress/
/^Subject:(.*)% [Oo][Ff][Ff]/ REJECT Go away spammer
endif

And this worked fine until _today_, when I got one email (and it
wasn't from Ali) that had a subject:

You’re In Luck | Up to 70% Off

As for the regexp, I think this should definitely be a hit, but it
got thru. First I thought that something bugged because of the |
sign, but no.
I've sent several tests from an external account and it's geting
thru.

I need a 4-eye method - what the heck am I missing here?

​Try removing the round brackets...​

Why?

Reply via email to