Today i will show you how to block a country with their RELAY server.
let Say we wanna block Russia from spoofing our EFA
go to
Code: Select all
cd /etc/mail/spamassassinCode: Select all
nano init.preCode: Select all
# now edit local.cf
Code: Select all
nano local.cfCode: Select all
header RELAYCOUNTRY_BADRUSSIANS X-Relay-Countries =~ /RU/
describe RELAYCOUNTRY_BADRUSSIANS Relayed through Russia
score RELAYCOUNTRY_BADRUSSIANS 10.0