a little bit frustrating : i activated the Relay Contry Good / Bad plugin in /etc/mail/spamassassin/init.pre.
I get an entry in the Spam report, but there's is no description, and i don't find the error
for example:
my configuration:
Code: Select all
ifplugin Mail::SpamAssassin::Plugin::RelayCountry
add_header all Relay-Country _RELAYCOUNTRY_
header RELAYCOUNTRY_BAD X-Relay-Countries =~ /(AL|DZ|AR|AM|BY|BA|BN|CL|CN|CO|HR|CZ|DO|EG|IN|ID|IQ|JP|JO|KZ|KR|MY|MX|MN|PK|PE|PH|QA|RO|RU|SA|RS|LK|TW|TH|TR|UA|VE|VN|EU)/
describe RELAYCOUNTRY_BAD spammy country
score RELAYCOUNTRY_BAD 50.0
header RELAYCOUNTRY_GOOD X-Relay-Countries =~ /^(DE|AT|CH)/
describe RELAYCOUNTRY_GOOD First untrusted GW is DE, AT or CH
score RELAYCOUNTRY_GOOD -5.0
endif # Mail::SpamAssassin::Plugin::RelayCountry
best regards,
Frank