> On Aug 19, 2015, at 4:08 PM, Viktor Dukhovni <postfix-us...@dukhovni.org> 
> wrote:
> 
> On Wed, Aug 19, 2015 at 04:07:27PM -0400, Ben Greenfield wrote:
> 
>>>> /^Received:\b.*\.eu\b REJECT
>>>> 
>>>> Is that correct or could someone point out what I'm doing wrong.
>>> 
>>> What you're doing wrong deciding that all mail from a .eu domain
>>> should be blocked and trying to block said mail by looking at
>>> Received headers.
>>> 
>>> Both the decision and the methodology are wrong.
>> 
>> I'm open to suggestions.
> 
> First explain the problem, rather than the solution.

We receive a lot of spam that have very rare top level domains .site, .link, 
.website, .eu. 

I have been using the custom header checks which appeared to working for me 
until I started trying to reject the .eu mail. I was actually blocking all mail 
that had .eu somewhere in the name.

I decided i needed a regex that would only match patterns at the end of the url.

Thanks,

Ben



> 
> -- 
>       Viktor.

Reply via email to