MaxMind GeoLite
MaxMind GeoLite
I have gotten MaxMind account info and a corresponding GeoIP.conf file for a new installation of eFA4.
Where does the GeoIP.conf file go?
Where does the GeoIP.conf file go?
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: MaxMind GeoLite
File not used in eFa, eFa has its own config built-in.
Add the license key using eFa-Configure
Add the license key using eFa-Configure
Re: MaxMind GeoLite
Thanks.
I added the license key through eFa.
Tried to run update GeoIP Database from MailWatch and got the following...and then never finishes.
Downloading file, please wait...
Download complete, unpacking files...
Also - Software Version shows:
GeoIP Database Version: No database downloaded
I added the license key through eFa.
Tried to run update GeoIP Database from MailWatch and got the following...and then never finishes.
Downloading file, please wait...
Download complete, unpacking files...
Also - Software Version shows:
GeoIP Database Version: No database downloaded
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: MaxMind GeoLite
Take a look in the following location.
Code: Select all
ls -l /var/www/html/mailscanner/temp
Re: MaxMind GeoLite
I did and got the following:
[root@dardickmailgw ~]# ls -l /var/www/html/mailscanner/temp
total 4
-rw-r--r--. 1 php-fpm php-fpm 20 Feb 3 04:04 GeoLite2-Country.tar.gz
-rwxrwxr-x. 1 root php-fpm 0 Dec 27 08:04 index.html
[root@dardickmailgw ~]#
any ideas?
[root@dardickmailgw ~]# ls -l /var/www/html/mailscanner/temp
total 4
-rw-r--r--. 1 php-fpm php-fpm 20 Feb 3 04:04 GeoLite2-Country.tar.gz
-rwxrwxr-x. 1 root php-fpm 0 Dec 27 08:04 index.html
[root@dardickmailgw ~]#
any ideas?
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: MaxMind GeoLite
Code: Select all
sudo rm /var/www/html/mailscanner/temp/GeoLite2-Country.tar.gz
Re: MaxMind GeoLite
same result ... still hangs
Downloading file, please wait...
Download complete, unpacking files...
MailWatch Version: 1.2.14
Operating System Version: CentOS Linux 7 (Core)
Postfix Version: 3.3.0
MailScanner Version: 5.1.4
ClamAV Version: 0.101.5
SpamAssassin Version: 3.4.2
PHP Version: 7.2.26
MySQL Version: 10.1.41-MariaDB
GeoIP Database Version: No database downloaded
[root@dardickmailgw ~]# sudo rm /var/www/html/mailscanner/temp/GeoLite2-Country.tar.gz
[root@dardickmailgw ~]# ls -lah /var/www/html/mailscanner/temp/
total 16K
drwxrwxr-x. 2 root php-fpm 55 Feb 7 04:48 .
drwxr-xr-x. 7 root root 8.0K Feb 1 17:51 ..
-rw-r--r--. 1 php-fpm php-fpm 20 Feb 7 04:48 GeoLite2-Country.tar.gz
-rwxrwxr-x. 1 root php-fpm 0 Dec 27 08:04 index.html
[root@dardickmailgw ~]#
Downloading file, please wait...
Download complete, unpacking files...
MailWatch Version: 1.2.14
Operating System Version: CentOS Linux 7 (Core)
Postfix Version: 3.3.0
MailScanner Version: 5.1.4
ClamAV Version: 0.101.5
SpamAssassin Version: 3.4.2
PHP Version: 7.2.26
MySQL Version: 10.1.41-MariaDB
GeoIP Database Version: No database downloaded
[root@dardickmailgw ~]# sudo rm /var/www/html/mailscanner/temp/GeoLite2-Country.tar.gz
[root@dardickmailgw ~]# ls -lah /var/www/html/mailscanner/temp/
total 16K
drwxrwxr-x. 2 root php-fpm 55 Feb 7 04:48 .
drwxr-xr-x. 7 root root 8.0K Feb 1 17:51 ..
-rw-r--r--. 1 php-fpm php-fpm 20 Feb 7 04:48 GeoLite2-Country.tar.gz
-rwxrwxr-x. 1 root php-fpm 0 Dec 27 08:04 index.html
[root@dardickmailgw ~]#
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: MaxMind GeoLite
I suspect something is wrong with your Maxmind key. Can you double check it?
Re: MaxMind GeoLite
I did check and just in case regenerated a key.
FYI - there are 2 choices when generating the key. I chose the first one (latest version of MaxMind - >= 3.1.1)
FYI - there are 2 choices when generating the key. I chose the first one (latest version of MaxMind - >= 3.1.1)
Re: MaxMind GeoLite
Just for grins, I did the following:
[root@dardickmailgw ~]# tar -tf /var/www/html/mailscanner/temp/GeoLite2-Country.tar.gz
tar: This does not look like a tar archive
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[root@dardickmailgw ~]#
[root@dardickmailgw ~]# tar -tf /var/www/html/mailscanner/temp/GeoLite2-Country.tar.gz
tar: This does not look like a tar archive
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[root@dardickmailgw ~]#
Re: MaxMind GeoLite
hmmmm ... and then I did the following
[root@dardickmailgw ~]# cat /var/www/html/mailscanner/temp/GeoLite2-Country.tar.gz
Invalid license key
[root@dardickmailgw ~]#
[root@dardickmailgw ~]# cat /var/www/html/mailscanner/temp/GeoLite2-Country.tar.gz
Invalid license key
[root@dardickmailgw ~]#
Re: MaxMind GeoLite
so I tried version < 3.1.1 and that did work.
Thanks Shawn!
One last question..hopefully.
Now what? (where/how will the data be used/viewed)
Thanks Shawn!
One last question..hopefully.
Now what? (where/how will the data be used/viewed)