Postfix Header Filter
Posted
by
Jesse Cain
on Server Fault
See other posts from Server Fault
or by Jesse Cain
Published on 2012-12-11T23:06:56Z
Indexed on
2012/12/12
23:06 UTC
Read the original article
Hit count: 209
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.
© Server Fault or respective owner