Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] GeoIP is not available

2008-03-26 by chasd

> Fedora is packaging milter-greylist with GeoIP enabled at compile  
> time, but
> the user may not have a GeoIP account; in that case syslog gets  
> lots of
> "GeoIP is not available" messages.

You don't need a GeoIP account.
The problem is that the greylist.conf file from the RPM doesn't have  
the correct path to the installed GeoIP database

You need :

geoipdb "/usr/share/GeoIP/GeoIP.dat"

in your /etc/mail/greylist.conf file

Using the provided "geoipupdate" to get a newer database will fail  
with a "Invalid UserID" message, and the correct Requires aren't in  
the GeoIP RPM to pull in the modules needed by the perl scripts  
included, so they don't work either.

1)
You can go to the maxmind website and download a newer copy of the  
database manually fairly easily.

2)
Install the modules for the perl script -

sudo yum install perl-libwww-perl

then

sudo perl /usr/share/doc/GeoIP-1.4.3/fetch-geoipdata.pl
Fetching GeoIP.dat from http://www.maxmind.com/download/geoip/ 
database/GeoIP.dat.gz
GeoIP database updated. Old copy is at GeoIP.dat.20080326

or add that to your monthly cron jobs.
The free database is updated monthly.


Charles Dostale
System Admin - Silver Oaks Communications
http://www.silveroaks.com/
824 17th Street, Moline  IL  61265

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.