Postfix Header Filter
- by Jesse Cain
I have set up a header filter in postfix to discard messages from Russia and Romania because of the volume of spam coming from those and we do not currently do business in those countries.
My regex looks like this
/^From:.*\@.*\.ro/ DISCARD
Problem is it is discarding messages containing .rodomainsomething like @email.roadrunnerrecords.com
How would I make it filter exact to TLD .ro?
Thanks.