-------- Forwarded Message --------
ChrisP,
I think I found the problem. Version 7.3p-26 "Updated
iptocountry database from a better source." I see
iptocountry2.csv.enc in /usr/local/surgemail. I removed the
old, obsolete IpToCountry.csv file, and SurgeMail does not block
my US VPN IP address now. Not only that, but if I set my VPN to
CZ, I can still login. :-)
I suspect that the old file left over from ancient versions
caused SurgeMail to exhibit wacky behavior: claiming that a US
IP address was from CZ, and that logins are blocked from country
CZ.
Question: g_deny_country blocks email from specified
countries. Where is the setting to block logins from specified
countries? I'd like to understand why SurgeMail thought logins
from CZ were blocked.
Suggestion: update the documentation to refer to
iptocountry2.csv.enc instead of the old IpToCountry.csv and the
IPv6 companion IpToCountry.6R.csv. (e.g. see https://surgemail.com/knowledge-base/allglobal/#g-country-ip)
Had I seen the new file name in the docs, it would have been a
strong hint that stuff had changed.
John
On 1/31/23 7:47 PM, John Wilkes
wrote:
Chris, thanks for the reply, but "should" is the key word,
and "isn't" is the reality.
Clearly my server is not automatically noticing and
downloading a new one .
How can I force a download of IpToCountry.csv?
I am running version 7.7c-1 on Centos, but I've had this
problem for years, since at least version 7.3o4-4 and probably
before that. It was a minor annoyance until recently.
The /usr/local/surgemail/IpToCountry.csv file on my server:
# File
Time Stamp : Wed Aug 13 12:08:01 2008
UTC.
# Generator : ip.pl on http://Software77.net (A
Webnet77.com Company)
# Software Author : BRM
# Software Version : 4.1.2
# Contact : http://Webnet77.com/contact.html
# Download : http://software77.net/cgi-bin/ip-country/geo-ip.pl
I get an error if I try to download anything from
software77.net:
# wget http://software77.net/cgi-bin/ip-country/geo-ip.pl
--2023-01-31 19:27:25-- http://software77.net/cgi-bin/ip-country/geo-ip.pl
Resolving software77.net (software77.net)... 75.2.37.224
Connecting to software77.net
(software77.net)|75.2.37.224|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-01-31 19:27:26 ERROR 403: Forbidden.
# wget
software77.net/geo-ip/?DL=1 -O IpToCountry.csv.gz
--2023-01-31 19:30:02-- http://software77.net/geo-ip/?DL=1
Resolving software77.net (software77.net)... 75.2.37.224
Connecting to software77.net
(software77.net)|75.2.37.224|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-01-31 19:30:02 ERROR 403: Forbidden.
Thanks,
John
On 1/31/23 2:32 PM, Surgemail
Support wrote:
We
update that list once every couple of months and your server
should automatically notice and download the new one.
ChrisP
On 31/01/2023 5:25 pm, John Wilkes wrote:
Is there a way to update the
IpToCountry.csv file?