Thanks for replying

I did as you asked, here is the pastebin

https://pastebin.com/XqSXndpW

I could not see anything like you describe (i.e "I've found that the plugin will fallback to the 'fast' version ...")

It looks like KR is getting found but if you look at the pastebin below, it does not display RELAYCOUNTRY

https://pastebin.com/sh8S10ph

I am at a complete loss on this one.

Thanks in advance for your help.

Regards
Brent



On 2018/11/27 16:02, RW wrote:
On Tue, 27 Nov 2018 12:51:40 +0200
Brent Clark wrote:

Good day Guys

I have the following spam email, and I picked up that the plugin
'Mail::SpamAssassin::Plugin::RelayCountry', is not picking up Korea.

https://pastebin.com/i45KsgVk


Try running it through

   spamassassin -D metadata 1>/dev/null


and look for debug about what database type is being used. I've found
that the plugin will fallback to the 'fast' version if anything is
wrong and it only shows up in detailed debug.


header   RELAYCOUNTRY_BAD X-Relay-Countries
=~ /^(CN|RU|SU|IN|BR|UA|KR)/ describe RELAYCOUNTRY_BAD Relayed
through foreign countries score    RELAYCOUNTRY_BAD 1.0
add_header all Relay-Country _RELAYCOUNTRY_

In my testing, I added ZA, and it picked up for IP 196.35.198.137.

Also, does anyone know why the 27.102.212.207 is in square brackets.

Usually it's to indicate that it's an IP address.

Reply via email to