On Wed, 28 Nov 2018 at 06:15, Brent Clark <brentgclarkl...@gmail.com> wrote:

> 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


You use a hat ^ so that only the first (or ?last) relay server's country is
matched. Maybe this is the problem? Try using:

header   RELAYCOUNTRY_BAD X-Relay-Countries =~ /(CN|RU|SU|IN|BR|UA|KR)/

I use a similar header match string (but with GeoIP2 database, not the old
GeoIP) and it seems to work fine.

Reply via email to