Line 7: |
Line 7: |
| ===Description=== | | ===Description=== |
| | | |
− | The GeoIP plugin for qpsmtpd lets us know where our mail server is receiving mail from. If we're receiving too much spam from a particular location, this will help track it down. We can then use that info to reject connections from that place taking the load off our 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. |
| | | |
− | {{Note box|Maxmind have removed support for their legacy v1 DBs and an update to v2 DBs is required. Please see the bugtracker (link 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 }} |
| + | |
| + | 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. |
| + | |
| + | |
| + | yum install smeserver-extrarepositories-openfusion |
| + | signal-event yum-modify |
| + | config set UnsavedChanges no |
| + | |
| + | You can now follow these instructions to install GeoIP |
| + | |
| + | Note that smeserver-wbl and spamassassin are also being updated to work with GeoIP v2 |
| | | |
| ===Installation=== | | ===Installation=== |
| | | |
− | yum install smeserver-geoip --enablerepo=smecontribs | + | yum install smeserver-geoip --enablerepo=smecontribs,openfusion |
| then | | then |
| signal-event geoip-update | | signal-event geoip-update |
Line 56: |
Line 69: |
| | | |
| ==Usage== | | ==Usage== |
| + | |
| ===Tracking e-mail=== | | ===Tracking e-mail=== |
− | GEOIP plugin should now do its work. Check the qpsmtpd logs and you'll see the countries from where mail is sent.
| + | The qpsmtpd GeoIP plugin should now do its work. Check the qpsmtpd logs and you'll see the countries from where mail is sent. |
| | | |
| cat /var/log/qpsmtpd/current | | cat /var/log/qpsmtpd/current |