Changes

Jump to navigation Jump to search
1,081 bytes removed ,  09:10, 18 April 2021
Line 2: Line 2:  
This product includes GeoLite2 data created by MaxMind, available from
 
This product includes GeoLite2 data created by MaxMind, available from
 
https://www.maxmind.com.
 
https://www.maxmind.com.
===Maintainer===
+
==Maintainer==
 
[[User:ReetP|john crisp]]
 
[[User:ReetP|john crisp]]
    
[mailto:stephdl@de-labrusse.fr stephdl] Stéphane de Labrusse AKA [[User:stephdl|Stephdl]]<br />
 
[mailto:stephdl@de-labrusse.fr stephdl] Stéphane de Labrusse AKA [[User:stephdl|Stephdl]]<br />
===Version===
+
==Version==
 
{{#smeversion: smeserver-geoip }}
 
{{#smeversion: smeserver-geoip }}
{{#smeversion: smeserver-geoip1 }}
+
 
{{#smeversion: smeserver-geoip2 }}
   
{{Warning box|From MAXMIND site :
 
{{Warning box|From MAXMIND site :
 
"Due to upcoming data privacy regulations, we are making significant changes to how you access free GeoLite2 databases starting December 30, 2019. Learn more on our blog." https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
 
"Due to upcoming data privacy regulations, we are making significant changes to how you access free GeoLite2 databases starting December 30, 2019. Learn more on our blog." https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
Line 21: Line 20:  
See the section below [[GeoIP#Installation_and_Updating_of_geoip_v2_db|Installation of V2 db ]] for steps on how to migrate to the new download mechanism.}}
 
See the section below [[GeoIP#Installation_and_Updating_of_geoip_v2_db|Installation of V2 db ]] for steps on how to migrate to the new download mechanism.}}
   −
===Description===
+
==Description==
    
The GeoIP plugin for qpsmtpd lets you know where your mail server is receiving mail from. If you're receiving too much spam from a particular location, this will help track it down. You can then use that info to reject connections from that place taking the load off your server.
 
The GeoIP plugin for qpsmtpd lets you know where your mail server is receiving mail from. If you're receiving too much spam from a particular location, this will help track it down. You can then use that info to reject connections from that place taking the load off your server.
Line 27: Line 26:  
{{Note box|Maxmind have removed support for their legacy v1 DBs and an update to v2 DBs is required. Please see the bugtracker link to bug #9033 below for more information }}
 
{{Note box|Maxmind have removed support for their legacy v1 DBs and an update to v2 DBs is required. Please see the bugtracker link to bug #9033 below for more information }}
   −
===Installation===
+
==Installation==
   −
==== SME 10 ====
+
<tabs container><tab name="SME 10">
 
  yum install smeserver-geoip --enablerepo=smecontribs
 
  yum install smeserver-geoip --enablerepo=smecontribs
Then configure your update key, create a Maxmind account and retrieve an  AccountID and LicenseKey properties and keys to the geoip db config
+
Then configure your update key, create a Maxmind account and retrieve an  AccountID and LicenseKey properties and keys to the geoip db config.
db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
  −
expand-template /etc/GeoIP.conf
   
You can also leave as is and just get the update from rpms every 2 months or so...
 
You can also leave as is and just get the update from rpms every 2 months or so...
 
<br />
 
<br />
====SME 9====
+
</tab>
 +
<tab name="SME 9">
    
====Installation of legacy geoip v1 db====
 
====Installation of legacy geoip v1 db====
Line 48: Line 46:  
if you have smeserver-geoip-1.1.2-7 already installed,  this will keep you on the legacy version, only change new plugin comaptible with v1 and removal of cron update.
 
if you have smeserver-geoip-1.1.2-7 already installed,  this will keep you on the legacy version, only change new plugin comaptible with v1 and removal of cron update.
 
  yum update --enablerepo=smecontribs
 
  yum update --enablerepo=smecontribs
 +
 +
This is not updated anymore since 2018, you do not need the update key if you want to only use this.
    
====Installation and Updating of geoip v2 db====
 
====Installation and Updating of geoip v2 db====
  −
{{Note box| GeoIP2 will ONLY work on x64 CPU}}
  −
  −
Sign up for a MaxMind account (no purchase required) https://dev.maxmind.com/geoip/geoip2/geolite2/
  −
  −
Important - Note your login details and in particular your AccountID and LicenseKey
  −
  −
Go to Services My Licence key and generate a licence key, carefully note the key details, multiple keys may be created.
  −
  −
The following config property keys and values will be used to set the geoip config db for ongoing updates see below
  −
AccountID #######
  −
LicenseKey xxxxxxxxxxxxxxx
  −
  −
Because the databases have been updated new perl modules are required to support GeoIP v2. The core modules have a large number of dependencies and we have decided that it is not practical for the Koozali team to maintain them all.
      
As a result you will now need the OpenFusion repo to install smeserver-geoip We will be syncing their mirror in due course to speed up installs and updates.
 
As a result you will now need the OpenFusion repo to install smeserver-geoip We will be syncing their mirror in due course to speed up installs and updates.
Line 85: Line 71:  
  geoip=service
 
  geoip=service
 
     status=enabled
 
     status=enabled
  −
Now add Maxmind AccountID and LicenseKey properties and keys to the geoip db config
  −
  −
db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
      
====Fresh Installation of geoip v2 DBs====
 
====Fresh Installation of geoip v2 DBs====
Line 106: Line 88:     
Now add Maxmind AccountID and LicenseKey properties and keys to the geoip db config
 
Now add Maxmind AccountID and LicenseKey properties and keys to the geoip db config
 
+
</tab>
db configuration setprop geoip LicenseKey "YOUR LIC KEY" AccountID "YOUR ACCT ID"
+
</tabs>
<br />
  −
 
  −
== Configuration ==
      
==== Maxmind account to update db ====
 
==== Maxmind account to update db ====
  −
   
Sign up for a MaxMind account (no purchase required) https://dev.maxmind.com/geoip/geoip2/geolite2/
 
Sign up for a MaxMind account (no purchase required) https://dev.maxmind.com/geoip/geoip2/geolite2/
  
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu