https://bugs.contribs.org/show_bug.cgi?id=9033

--- Comment #25 from John Crisp <[email protected]> ---
Ahhhh - fatal flaw in the pan Stan.

So you have the new DBs, but I do not think they are being used by qpsmtpd

DBs are downloaded here:

/usr/share/GeoIP/GeoLite2-Country.mmdb
/usr/share/GeoIP/GeoLite2-City.mmdb

The updated geoipupdate knows to use them, but qpsmtpd does not.

A quick fix is in ther smeserver-geoip contrib

It currently uses "check_badcountries" but that needs converting to ident/geoip 

So a quick test

Copy 

/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18check_badcountries

to

/etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/18check_badcountries

Edit the custom template and replace the following

-    "check_badcountries";
+    "ident/geoip";


signal-event email-update

Then check /var/log/qpsmtpd/current for incoming traffic:

@400000005b20450820a834e4 2477 Connection from ip88.ip-142-44-223.net
[142.44.223.88]
@400000005b20450821c0f014 Missing GeoIP City data!
@400000005b20450821c0ffb4 Missing GeoIP ASN data!
@400000005b2045082fabd98c Missing GeoIP City data!
@400000005b2045082fabe92c Missing GeoIP ASN data!

@400000005b204509303331fc 2477 (connect) ident::geoip: CA

I think the City and ASN data errors are because the free DBs are for countries
only.

So I would say my qpsmtpd is now using the new DBS

I need to go back, write this all out, and do one patch.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to