On Wed, Aug 19, 2015 at 03:39:32PM -0400, Ben Greenfield wrote: > I'm trying to figure out how to block all traffic .eu top level domain but > I'm blocking everything with eu anywhere in the hostname. > > This what I'm using > /^Received:.*\.eu/ REJECT > > This what I think I should change it to. > > /^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. -- Viktor.