Thanks, though you don't have to CPAN this anymore to get the proper modules on 6.0 - `apt-get install libgeoip2-perl` was sufficient to get the Perl modules required in. Also, this configuration works as stated it seems for 6.0 as well, I'm applying changes here to the 6.0 environment I'm going to be moving to in the near future. Thread post 70 though for autoupdating is superseded by Maxmind's
GeoIP Update tool which does what thread post 70 does, though I made a few tweaks to the config since I dump all my GeoIP databases to /opt/GeoIP when using that tool. Which SpamAssassin doesn't seem to mind.
Also, post 69 says to put everything into the custom.in bits, however you can just throw the RelayCountry config options into the /etc/pmg/templates/init.pre.in at the bottom like so:
Code:
loadplugin Mail::SpamAssassin::Plugin::RelayCountry
country_db_type GeoIP2
country_db_path /opt/GeoIP/GeoLite2-Country.mmdb
This seemed to work fine thus far, AND gets applied when you do
pmgconfig sync --restart 1