Country blacklisting in hMailserver 5

This section contains scripts that hMailServer has contributed with. hMailServer 5 is needed to use these.
Post Reply
bkiljan
New user
New user
Posts: 5
Joined: 2015-07-27 19:55

Country blacklisting in hMailserver 5

Post by bkiljan » 2015-07-27 20:16

I see a lot of spam and attacks on my hMailserver that come from countries where it is very unlikely that I will receive email from. For my example I used AR (Argentina), VN (Viet-nam) and CN (China). No offense!
I created a small script that maps IP address to ISO3166 2 character country code through the (free!) service of Geobytes (http://www.geobytes.com) and test if that country is in my blacklist.

I have provided this code below but I also made a blog post out of it: http://beaukey.blogspot.nl/2015/07/coun ... erver.html

Enjoy!

Code: Select all

   Sub OnClientConnect(oClient)

		Const BlackList="AR VN CN"
		
		Dim IP, Port, locationRaw, locationArray, s, regExp, CountryCode
		Const chr34="\"""
		Const Accept=0
		Const Deny=1

		'--- Get IP:port...		
		IP = oClient.IPAddress
		Port = oClient.Port

		'--- Exclude local IP addressess...		
		if InStr(IP,"127.")<>1 and InStr(IP,"192.168.")<>1 then

		'--- Prepare regular expression...
			Set regEx = New RegExp
			'--- Search for first `"geobytesinternet":"AA"` occurence...
			regEx.Pattern=chr34 & "geobytesinternet" & chr34 & "\:" & chr34 & "[A-Z]{2}" & chr34
			'--- Match case...
			regEx.IgnoreCase = False   
			'--- First match only...
			regEx.Global = False   
		
		'--- Get GeoIP information...		
			Set locationRaw = CreateObject("MSXML2.XMLHTTP")
			locationRaw.open "GET", "http://getcitydetails.geobytes.com/GetCityDetails?fqcn=" & trim(oClient.IPaddress), False 
			locationRaw.send 		
			
		'--- Search for CountryCode...
			Set Matches = regEx.Execute(locationRaw.responseText)
			'--- If found then set CountryCode...
			if Matches.Count=1 then CountryCode=mid(Matches(0).value,21,2) else CountryCode="??"
			Call WriteLogfile("onClientConnect: " & IP & ", " & Port & ", " & CountryCode)
		
		'--- Check for blacklisted country and if so, log it and abort session...
			If InStr(Blacklist,CountryCode)<>0 then 
				EventLog.Write(now() & "Blacklisted: " & IP & ", " & CountryCode)
				Result.Value=Deny
			end if  				
		End If
			
   End Sub
   

User avatar
SorenR
Senior user
Senior user
Posts: 3707
Joined: 2006-08-21 15:38
Location: Denmark

Re: Country blacklisting in hMailserver 5

Post by SorenR » 2015-07-27 21:11

If you search the forum you will find several editions of the same...

Here's one I adapted to hMailServer. viewtopic.php?f=20&t=26672&p=162934&hilit=geoip#p162934

It allows you to block based on;

' ip (Visitor IP address, or IP address specified as parameter)
' country_code (Two-letter ISO 3166-1 alpha-2 country code)
' country_code3 (Three-letter ISO 3166-1 alpha-3 country code)
' country (Name of the country)
' region_code (Two-letter ISO-3166-2 state / region code)
' region (Name of the region)
' city (Name of the city)
' postal_code (Postal code / Zip code)
' continent_code (Two-letter continent code)
' latitude (Latitude)
' longitude (Longitude)
' dma_code (DMA Code)
' area_code (Area Code)
' asn (Autonomous System Number)
' isp (Internet service provider)
' timezone (Time Zone)

I just finished this today for SpamAssassin... Uncomment the country you want to tag as SPAM... Yeah... 1200+ lines to be saved in .\etc\spamassassin\nerds.cf :mrgreen:

Code: Select all

ifplugin Mail::SpamAssassin::Plugin::DNSEval

header   __RCVD_IN_NERDS  eval:check_rbl('nerds','zz.countries.nerd.dk.')
describe __RCVD_IN_NERDS  Received from a spam country 
tflags   __RCVD_IN_NERDS  net
#
# header   RCVD_IN_NERDS_AD eval:check_rbl_sub('nerds', '127.0.0.20')
# describe RCVD_IN_NERDS_AD Received from Andorra (Principality of Andorra)
# tflags   RCVD_IN_NERDS_AD net
# score    RCVD_IN_NERDS_AD 3.0
#
# header   RCVD_IN_NERDS_AE eval:check_rbl_sub('nerds', '127.0.3.16')
# describe RCVD_IN_NERDS_AE Received from United Arab Emirates (United Arab Emirates)
# tflags   RCVD_IN_NERDS_AE net
# score    RCVD_IN_NERDS_AE 3.0
#
# header   RCVD_IN_NERDS_AF eval:check_rbl_sub('nerds', '127.0.0.4')
# describe RCVD_IN_NERDS_AF Received from Afghanistan (Islamic State of Afghanistan)
# tflags   RCVD_IN_NERDS_AF net
# score    RCVD_IN_NERDS_AF 3.0
#
# header   RCVD_IN_NERDS_AG eval:check_rbl_sub('nerds', '127.0.0.28')
# describe RCVD_IN_NERDS_AG Received from Antigua and Barbuda
# tflags   RCVD_IN_NERDS_AG net
# score    RCVD_IN_NERDS_AG 3.0
#
# header   RCVD_IN_NERDS_AI eval:check_rbl_sub('nerds', '127.0.2.148')
# describe RCVD_IN_NERDS_AI Received from Anguilla
# tflags   RCVD_IN_NERDS_AI net
# score    RCVD_IN_NERDS_AI 3.0
#
# header   RCVD_IN_NERDS_AL eval:check_rbl_sub('nerds', '127.0.0.8')
# describe RCVD_IN_NERDS_AL Received from Albania (Republic of Albania)
# tflags   RCVD_IN_NERDS_AL net
# score    RCVD_IN_NERDS_AL 3.0
#
# header   RCVD_IN_NERDS_AM eval:check_rbl_sub('nerds', '127.0.0.51')
# describe RCVD_IN_NERDS_AM Received from Armenia (Republic of Armenia)
# tflags   RCVD_IN_NERDS_AM net
# score    RCVD_IN_NERDS_AM 3.0
#
# header   RCVD_IN_NERDS_AN eval:check_rbl_sub('nerds', '127.0.2.18')
# describe RCVD_IN_NERDS_AN Received from Netherlands Antilles
# tflags   RCVD_IN_NERDS_AN net
# score    RCVD_IN_NERDS_AN 3.0
#
# header   RCVD_IN_NERDS_AO eval:check_rbl_sub('nerds', '127.0.0.24')
# describe RCVD_IN_NERDS_AO Received from Angola (Republic of Angola)
# tflags   RCVD_IN_NERDS_AO net
# score    RCVD_IN_NERDS_AO 3.0
#
# header   RCVD_IN_NERDS_AR eval:check_rbl_sub('nerds', '127.0.0.32')
# describe RCVD_IN_NERDS_AR Received from Argentina (Argentine Republic)
# tflags   RCVD_IN_NERDS_AR net
# score    RCVD_IN_NERDS_AR 3.0
#
# header   RCVD_IN_NERDS_AS eval:check_rbl_sub('nerds', '127.0.0.16')
# describe RCVD_IN_NERDS_AS Received from American Samoa (Territory of American Samoa)
# tflags   RCVD_IN_NERDS_AS net
# score    RCVD_IN_NERDS_AS 3.0
#
# header   RCVD_IN_NERDS_AT eval:check_rbl_sub('nerds', '127.0.0.40')
# describe RCVD_IN_NERDS_AT Received from Austria (Republic of Austria)
# tflags   RCVD_IN_NERDS_AT net
# score    RCVD_IN_NERDS_AT 3.0
#
# header   RCVD_IN_NERDS_AU eval:check_rbl_sub('nerds', '127.0.0.36')
# describe RCVD_IN_NERDS_AU Received from Australia (Commonwealth of Australia)
# tflags   RCVD_IN_NERDS_AU net
# score    RCVD_IN_NERDS_AU 3.0
#
# header   RCVD_IN_NERDS_AW eval:check_rbl_sub('nerds', '127.0.2.21')
# describe RCVD_IN_NERDS_AW Received from Aruba
# tflags   RCVD_IN_NERDS_AW net
# score    RCVD_IN_NERDS_AW 3.0
#
# header   RCVD_IN_NERDS_AX eval:check_rbl_sub('nerds', '127.0.0.248')
# describe RCVD_IN_NERDS_AX Received from Aland
# tflags   RCVD_IN_NERDS_AX net
# score    RCVD_IN_NERDS_AX 3.0
#
# header   RCVD_IN_NERDS_AZ eval:check_rbl_sub('nerds', '127.0.0.31')
# describe RCVD_IN_NERDS_AZ Received from Azerbaijan (Republic of Azerbaijan)
# tflags   RCVD_IN_NERDS_AZ net
# score    RCVD_IN_NERDS_AZ 3.0
#
# header   RCVD_IN_NERDS_BA eval:check_rbl_sub('nerds', '127.0.0.70')
# describe RCVD_IN_NERDS_BA Received from Bosnia and Herzegovina
# tflags   RCVD_IN_NERDS_BA net
# score    RCVD_IN_NERDS_BA 3.0
#
# header   RCVD_IN_NERDS_BB eval:check_rbl_sub('nerds', '127.0.0.52')
# describe RCVD_IN_NERDS_BB Received from Barbados
# tflags   RCVD_IN_NERDS_BB net
# score    RCVD_IN_NERDS_BB 3.0
#
# header   RCVD_IN_NERDS_BD eval:check_rbl_sub('nerds', '127.0.0.50')
# describe RCVD_IN_NERDS_BD Received from Bangladesh (People's Republic of Bangladesh)
# tflags   RCVD_IN_NERDS_BD net
# score    RCVD_IN_NERDS_BD 3.0
#
# header   RCVD_IN_NERDS_BE eval:check_rbl_sub('nerds', '127.0.0.56')
# describe RCVD_IN_NERDS_BE Received from Belgium (Kingdom of Belgium)
# tflags   RCVD_IN_NERDS_BE net
# score    RCVD_IN_NERDS_BE 3.0
#
# header   RCVD_IN_NERDS_BF eval:check_rbl_sub('nerds', '127.0.3.86')
# describe RCVD_IN_NERDS_BF Received from Burkina Faso
# tflags   RCVD_IN_NERDS_BF net
# score    RCVD_IN_NERDS_BF 3.0
#
# header   RCVD_IN_NERDS_BG eval:check_rbl_sub('nerds', '127.0.0.100')
# describe RCVD_IN_NERDS_BG Received from Bulgaria (Republic of Bulgaria)
# tflags   RCVD_IN_NERDS_BG net
# score    RCVD_IN_NERDS_BG 3.0
#
# header   RCVD_IN_NERDS_BH eval:check_rbl_sub('nerds', '127.0.0.48')
# describe RCVD_IN_NERDS_BH Received from Bahrain (Kingdom of Bahrain)
# tflags   RCVD_IN_NERDS_BH net
# score    RCVD_IN_NERDS_BH 3.0
#
# header   RCVD_IN_NERDS_BI eval:check_rbl_sub('nerds', '127.0.0.108')
# describe RCVD_IN_NERDS_BI Received from Burundi (Republic of Burundi)
# tflags   RCVD_IN_NERDS_BI net
# score    RCVD_IN_NERDS_BI 3.0
#
# header   RCVD_IN_NERDS_BJ eval:check_rbl_sub('nerds', '127.0.0.204')
# describe RCVD_IN_NERDS_BJ Received from Benin (Republic of Benin)
# tflags   RCVD_IN_NERDS_BJ net
# score    RCVD_IN_NERDS_BJ 3.0
#
# header   RCVD_IN_NERDS_BM eval:check_rbl_sub('nerds', '127.0.0.60')
# describe RCVD_IN_NERDS_BM Received from Bermuda
# tflags   RCVD_IN_NERDS_BM net
# score    RCVD_IN_NERDS_BM 3.0
#
# header   RCVD_IN_NERDS_BN eval:check_rbl_sub('nerds', '127.0.0.96')
# describe RCVD_IN_NERDS_BN Received from Brunei (Negara Brunei Darussalam)
# tflags   RCVD_IN_NERDS_BN net
# score    RCVD_IN_NERDS_BN 3.0
#
# header   RCVD_IN_NERDS_BO eval:check_rbl_sub('nerds', '127.0.0.68')
# describe RCVD_IN_NERDS_BO Received from Bolivia (Republic of Bolivia)
# tflags   RCVD_IN_NERDS_BO net
# score    RCVD_IN_NERDS_BO 3.0
#
header   RCVD_IN_NERDS_BR eval:check_rbl_sub('nerds', '127.0.0.76')
describe RCVD_IN_NERDS_BR Received from Brazil (Federative Republic of Brazil)
tflags   RCVD_IN_NERDS_BR net
score    RCVD_IN_NERDS_BR 3.0
#
# header   RCVD_IN_NERDS_BS eval:check_rbl_sub('nerds', '127.0.0.44')
# describe RCVD_IN_NERDS_BS Received from Bahamas (Commonwealth of The Bahamas)
# tflags   RCVD_IN_NERDS_BS net
# score    RCVD_IN_NERDS_BS 3.0
#
# header   RCVD_IN_NERDS_BT eval:check_rbl_sub('nerds', '127.0.0.64')
# describe RCVD_IN_NERDS_BT Received from Bhutan (Kingdom of Bhutan)
# tflags   RCVD_IN_NERDS_BT net
# score    RCVD_IN_NERDS_BT 3.0
#
# header   RCVD_IN_NERDS_BV eval:check_rbl_sub('nerds', '127.0.0.74')
# describe RCVD_IN_NERDS_BV Received from Bouvet Island
# tflags   RCVD_IN_NERDS_BV net
# score    RCVD_IN_NERDS_BV 3.0
#
# header   RCVD_IN_NERDS_BW eval:check_rbl_sub('nerds', '127.0.0.72')
# describe RCVD_IN_NERDS_BW Received from Botswana (Republic of Botswana)
# tflags   RCVD_IN_NERDS_BW net
# score    RCVD_IN_NERDS_BW 3.0
#
# header   RCVD_IN_NERDS_BY eval:check_rbl_sub('nerds', '127.0.0.112')
# describe RCVD_IN_NERDS_BY Received from Belarus (Republic of Belarus)
# tflags   RCVD_IN_NERDS_BY net
# score    RCVD_IN_NERDS_BY 3.0
#
# header   RCVD_IN_NERDS_BZ eval:check_rbl_sub('nerds', '127.0.0.84')
# describe RCVD_IN_NERDS_BZ Received from Belize
# tflags   RCVD_IN_NERDS_BZ net
# score    RCVD_IN_NERDS_BZ 3.0
#
# header   RCVD_IN_NERDS_CA eval:check_rbl_sub('nerds', '127.0.0.124')
# describe RCVD_IN_NERDS_CA Received from Canada
# tflags   RCVD_IN_NERDS_CA net
# score    RCVD_IN_NERDS_CA 3.0
#
# header   RCVD_IN_NERDS_CC eval:check_rbl_sub('nerds', '127.0.0.166')
# describe RCVD_IN_NERDS_CC Received from Cocos (Keeling) Islands (Territory of Cocos (Keeling) Islands)
# tflags   RCVD_IN_NERDS_CC net
# score    RCVD_IN_NERDS_CC 3.0
#
# header   RCVD_IN_NERDS_CD eval:check_rbl_sub('nerds', '127.0.0.180')
# describe RCVD_IN_NERDS_CD Received from Congo (Democratic Republic of the Congo)
# tflags   RCVD_IN_NERDS_CD net
# score    RCVD_IN_NERDS_CD 3.0
#
# header   RCVD_IN_NERDS_CF eval:check_rbl_sub('nerds', '127.0.0.140')
# describe RCVD_IN_NERDS_CF Received from Central African Republic
# tflags   RCVD_IN_NERDS_CF net
# score    RCVD_IN_NERDS_CF 3.0
#
# header   RCVD_IN_NERDS_CG eval:check_rbl_sub('nerds', '127.0.0.178')
# describe RCVD_IN_NERDS_CG Received from Congo (Republic of the Congo)
# tflags   RCVD_IN_NERDS_CG net
# score    RCVD_IN_NERDS_CG 3.0
#
# header   RCVD_IN_NERDS_CH eval:check_rbl_sub('nerds', '127.0.2.244')
# describe RCVD_IN_NERDS_CH Received from Switzerland (Swiss Confederation)
# tflags   RCVD_IN_NERDS_CH net
# score    RCVD_IN_NERDS_CH 3.0
#
# header   RCVD_IN_NERDS_CI eval:check_rbl_sub('nerds', '127.0.1.128')
# describe RCVD_IN_NERDS_CI Received from Cote d'Ivoire (Ivory Coast) (Republic of Cote d'Ivoire)
# tflags   RCVD_IN_NERDS_CI net
# score    RCVD_IN_NERDS_CI 3.0
#
# header   RCVD_IN_NERDS_CK eval:check_rbl_sub('nerds', '127.0.0.184')
# describe RCVD_IN_NERDS_CK Received from Cook Islands
# tflags   RCVD_IN_NERDS_CK net
# score    RCVD_IN_NERDS_CK 3.0
#
# header   RCVD_IN_NERDS_CL eval:check_rbl_sub('nerds', '127.0.0.152')
# describe RCVD_IN_NERDS_CL Received from Chile (Republic of Chile)
# tflags   RCVD_IN_NERDS_CL net
# score    RCVD_IN_NERDS_CL 3.0
#
# header   RCVD_IN_NERDS_CM eval:check_rbl_sub('nerds', '127.0.0.120')
# describe RCVD_IN_NERDS_CM Received from Cameroon (Republic of Cameroon)
# tflags   RCVD_IN_NERDS_CM net
# score    RCVD_IN_NERDS_CM 3.0
#
header   RCVD_IN_NERDS_CN eval:check_rbl_sub('nerds', '127.0.0.156')
describe RCVD_IN_NERDS_CN Received from China (People's Republic of China)
tflags   RCVD_IN_NERDS_CN net
score    RCVD_IN_NERDS_CN 3.0
#
# header   RCVD_IN_NERDS_CO eval:check_rbl_sub('nerds', '127.0.0.170')
# describe RCVD_IN_NERDS_CO Received from Colombia (Republic of Colombia)
# tflags   RCVD_IN_NERDS_CO net
# score    RCVD_IN_NERDS_CO 3.0
#
# header   RCVD_IN_NERDS_CR eval:check_rbl_sub('nerds', '127.0.0.188')
# describe RCVD_IN_NERDS_CR Received from Costa Rica (Republic of Costa Rica)
# tflags   RCVD_IN_NERDS_CR net
# score    RCVD_IN_NERDS_CR 3.0
#
# header   RCVD_IN_NERDS_CU eval:check_rbl_sub('nerds', '127.0.0.192')
# describe RCVD_IN_NERDS_CU Received from Cuba (Republic of Cuba)
# tflags   RCVD_IN_NERDS_CU net
# score    RCVD_IN_NERDS_CU 3.0
#
# header   RCVD_IN_NERDS_CV eval:check_rbl_sub('nerds', '127.0.0.132')
# describe RCVD_IN_NERDS_CV Received from Cape Verde (Republic of Cape Verde)
# tflags   RCVD_IN_NERDS_CV net
# score    RCVD_IN_NERDS_CV 3.0
#
# header   RCVD_IN_NERDS_CX eval:check_rbl_sub('nerds', '127.0.0.162')
# describe RCVD_IN_NERDS_CX Received from Christmas Island (Territory of Christmas Island)
# tflags   RCVD_IN_NERDS_CX net
# score    RCVD_IN_NERDS_CX 3.0
#
# header   RCVD_IN_NERDS_CY eval:check_rbl_sub('nerds', '127.0.0.196')
# describe RCVD_IN_NERDS_CY Received from Cyprus (Republic of Cyprus)
# tflags   RCVD_IN_NERDS_CY net
# score    RCVD_IN_NERDS_CY 3.0
#
# header   RCVD_IN_NERDS_CZ eval:check_rbl_sub('nerds', '127.0.0.203')
# describe RCVD_IN_NERDS_CZ Received from Czech Republic
# tflags   RCVD_IN_NERDS_CZ net
# score    RCVD_IN_NERDS_CZ 3.0
#
# header   RCVD_IN_NERDS_DE eval:check_rbl_sub('nerds', '127.0.1.20')
# describe RCVD_IN_NERDS_DE Received from Germany (Federal Republic of Germany)
# tflags   RCVD_IN_NERDS_DE net
# score    RCVD_IN_NERDS_DE 3.0
#
# header   RCVD_IN_NERDS_DJ eval:check_rbl_sub('nerds', '127.0.1.6')
# describe RCVD_IN_NERDS_DJ Received from Djibouti (Republic of Djibouti)
# tflags   RCVD_IN_NERDS_DJ net
# score    RCVD_IN_NERDS_DJ 3.0
#
# header   RCVD_IN_NERDS_DK eval:check_rbl_sub('nerds', '127.0.0.208')
# describe RCVD_IN_NERDS_DK Received from Denmark (Kingdom of Denmark)
# tflags   RCVD_IN_NERDS_DK net
# score    RCVD_IN_NERDS_DK 3.0
#
# header   RCVD_IN_NERDS_DM eval:check_rbl_sub('nerds', '127.0.0.212')
# describe RCVD_IN_NERDS_DM Received from Dominica (Commonwealth of Dominica)
# tflags   RCVD_IN_NERDS_DM net
# score    RCVD_IN_NERDS_DM 3.0
#
# header   RCVD_IN_NERDS_DO eval:check_rbl_sub('nerds', '127.0.0.214')
# describe RCVD_IN_NERDS_DO Received from Dominican Republic
# tflags   RCVD_IN_NERDS_DO net
# score    RCVD_IN_NERDS_DO 3.0
#
# header   RCVD_IN_NERDS_DZ eval:check_rbl_sub('nerds', '127.0.0.12')
# describe RCVD_IN_NERDS_DZ Received from Algeria (People's Democratic Republic of Algeria)
# tflags   RCVD_IN_NERDS_DZ net
# score    RCVD_IN_NERDS_DZ 3.0
#
# header   RCVD_IN_NERDS_EC eval:check_rbl_sub('nerds', '127.0.0.218')
# describe RCVD_IN_NERDS_EC Received from Ecuador (Republic of Ecuador)
# tflags   RCVD_IN_NERDS_EC net
# score    RCVD_IN_NERDS_EC 3.0
#
# header   RCVD_IN_NERDS_EE eval:check_rbl_sub('nerds', '127.0.0.233')
# describe RCVD_IN_NERDS_EE Received from Estonia (Republic of Estonia)
# tflags   RCVD_IN_NERDS_EE net
# score    RCVD_IN_NERDS_EE 3.0
#
# header   RCVD_IN_NERDS_EG eval:check_rbl_sub('nerds', '127.0.3.50')
# describe RCVD_IN_NERDS_EG Received from Egypt (Arab Republic of Egypt)
# tflags   RCVD_IN_NERDS_EG net
# score    RCVD_IN_NERDS_EG 3.0
#
# header   RCVD_IN_NERDS_ER eval:check_rbl_sub('nerds', '127.0.0.232')
# describe RCVD_IN_NERDS_ER Received from Eritrea (State of Eritrea)
# tflags   RCVD_IN_NERDS_ER net
# score    RCVD_IN_NERDS_ER 3.0
#
# header   RCVD_IN_NERDS_ES eval:check_rbl_sub('nerds', '127.0.2.212')
# describe RCVD_IN_NERDS_ES Received from Spain (Kingdom of Spain)
# tflags   RCVD_IN_NERDS_ES net
# score    RCVD_IN_NERDS_ES 3.0
#
# header   RCVD_IN_NERDS_ET eval:check_rbl_sub('nerds', '127.0.0.231')
# describe RCVD_IN_NERDS_ET Received from Ethiopia (Federal Democratic Republic of Ethiopia)
# tflags   RCVD_IN_NERDS_ET net
# score    RCVD_IN_NERDS_ET 3.0
#
# header   RCVD_IN_NERDS_FI eval:check_rbl_sub('nerds', '127.0.0.246')
# describe RCVD_IN_NERDS_FI Received from Finland (Republic of Finland)
# tflags   RCVD_IN_NERDS_FI net
# score    RCVD_IN_NERDS_FI 3.0
#
# header   RCVD_IN_NERDS_FJ eval:check_rbl_sub('nerds', '127.0.0.242')
# describe RCVD_IN_NERDS_FJ Received from Fiji (Republic of the Fiji Islands)
# tflags   RCVD_IN_NERDS_FJ net
# score    RCVD_IN_NERDS_FJ 3.0
#
# header   RCVD_IN_NERDS_FK eval:check_rbl_sub('nerds', '127.0.0.238')
# describe RCVD_IN_NERDS_FK Received from Falkland Islands (Islas Malvinas)
# tflags   RCVD_IN_NERDS_FK net
# score    RCVD_IN_NERDS_FK 3.0
#
# header   RCVD_IN_NERDS_FM eval:check_rbl_sub('nerds', '127.0.2.71')
# describe RCVD_IN_NERDS_FM Received from Micronesia (Federated States of Micronesia)
# tflags   RCVD_IN_NERDS_FM net
# score    RCVD_IN_NERDS_FM 3.0
#
# header   RCVD_IN_NERDS_FO eval:check_rbl_sub('nerds', '127.0.0.234')
# describe RCVD_IN_NERDS_FO Received from Faroe Islands
# tflags   RCVD_IN_NERDS_FO net
# score    RCVD_IN_NERDS_FO 3.0
#
# header   RCVD_IN_NERDS_FR eval:check_rbl_sub('nerds', '127.0.0.250')
# describe RCVD_IN_NERDS_FR Received from France (French Republic)
# tflags   RCVD_IN_NERDS_FR net
# score    RCVD_IN_NERDS_FR 3.0
#
# header   RCVD_IN_NERDS_GA eval:check_rbl_sub('nerds', '127.0.1.10')
# describe RCVD_IN_NERDS_GA Received from Gabon (Gabonese Republic)
# tflags   RCVD_IN_NERDS_GA net
# score    RCVD_IN_NERDS_GA 3.0
#
# header   RCVD_IN_NERDS_GB eval:check_rbl_sub('nerds', '127.0.3.58')
# describe RCVD_IN_NERDS_GB Received from United Kingdom (United Kingdom of Great Britain and Northern Ireland)
# tflags   RCVD_IN_NERDS_GB net
# score    RCVD_IN_NERDS_GB 3.0
#
# header   RCVD_IN_NERDS_GD eval:check_rbl_sub('nerds', '127.0.1.52')
# describe RCVD_IN_NERDS_GD Received from Grenada
# tflags   RCVD_IN_NERDS_GD net
# score    RCVD_IN_NERDS_GD 3.0
#
header   RCVD_IN_NERDS_GE eval:check_rbl_sub('nerds', '127.0.1.12')
describe RCVD_IN_NERDS_GE Received from Georgia (Republic of Georgia)
tflags   RCVD_IN_NERDS_GE net
score    RCVD_IN_NERDS_GE 3.0
#
# header   RCVD_IN_NERDS_GF eval:check_rbl_sub('nerds', '127.0.0.254')
# describe RCVD_IN_NERDS_GF Received from French Guiana (Overseas Region of Guiana)
# tflags   RCVD_IN_NERDS_GF net
# score    RCVD_IN_NERDS_GF 3.0
#
# header   RCVD_IN_NERDS_GG eval:check_rbl_sub('nerds', '127.0.3.63')
# describe RCVD_IN_NERDS_GG Received from Guernsey (Bailiwick of Guernsey)
# tflags   RCVD_IN_NERDS_GG net
# score    RCVD_IN_NERDS_GG 3.0
#
# header   RCVD_IN_NERDS_GH eval:check_rbl_sub('nerds', '127.0.1.32')
# describe RCVD_IN_NERDS_GH Received from Ghana (Republic of Ghana)
# tflags   RCVD_IN_NERDS_GH net
# score    RCVD_IN_NERDS_GH 3.0
#
# header   RCVD_IN_NERDS_GI eval:check_rbl_sub('nerds', '127.0.1.36')
# describe RCVD_IN_NERDS_GI Received from Gibraltar
# tflags   RCVD_IN_NERDS_GI net
# score    RCVD_IN_NERDS_GI 3.0
#
# header   RCVD_IN_NERDS_GL eval:check_rbl_sub('nerds', '127.0.1.48')
# describe RCVD_IN_NERDS_GL Received from Greenland
# tflags   RCVD_IN_NERDS_GL net
# score    RCVD_IN_NERDS_GL 3.0
#
# header   RCVD_IN_NERDS_GM eval:check_rbl_sub('nerds', '127.0.1.14')
# describe RCVD_IN_NERDS_GM Received from Gambia (Republic of The Gambia)
# tflags   RCVD_IN_NERDS_GM net
# score    RCVD_IN_NERDS_GM 3.0
#
# header   RCVD_IN_NERDS_GN eval:check_rbl_sub('nerds', '127.0.1.68')
# describe RCVD_IN_NERDS_GN Received from Guinea (Republic of Guinea)
# tflags   RCVD_IN_NERDS_GN net
# score    RCVD_IN_NERDS_GN 3.0
#
# header   RCVD_IN_NERDS_GP eval:check_rbl_sub('nerds', '127.0.1.56')
# describe RCVD_IN_NERDS_GP Received from Guadeloupe (Overseas Region of Guadeloupe)
# tflags   RCVD_IN_NERDS_GP net
# score    RCVD_IN_NERDS_GP 3.0
#
# header   RCVD_IN_NERDS_GQ eval:check_rbl_sub('nerds', '127.0.0.226')
# describe RCVD_IN_NERDS_GQ Received from Equatorial Guinea (Republic of Equatorial Guinea)
# tflags   RCVD_IN_NERDS_GQ net
# score    RCVD_IN_NERDS_GQ 3.0
#
# header   RCVD_IN_NERDS_GR eval:check_rbl_sub('nerds', '127.0.1.44')
# describe RCVD_IN_NERDS_GR Received from Greece (Hellenic Republic)
# tflags   RCVD_IN_NERDS_GR net
# score    RCVD_IN_NERDS_GR 3.0
#
# header   RCVD_IN_NERDS_GS eval:check_rbl_sub('nerds', '127.0.0.239')
# describe RCVD_IN_NERDS_GS Received from South Georgia & South Sandwich Islands
# tflags   RCVD_IN_NERDS_GS net
# score    RCVD_IN_NERDS_GS 3.0
#
# header   RCVD_IN_NERDS_GT eval:check_rbl_sub('nerds', '127.0.1.64')
# describe RCVD_IN_NERDS_GT Received from Guatemala (Republic of Guatemala)
# tflags   RCVD_IN_NERDS_GT net
# score    RCVD_IN_NERDS_GT 3.0
#
# header   RCVD_IN_NERDS_GU eval:check_rbl_sub('nerds', '127.0.1.60')
# describe RCVD_IN_NERDS_GU Received from Guam (Territory of Guam)
# tflags   RCVD_IN_NERDS_GU net
# score    RCVD_IN_NERDS_GU 3.0
#
# header   RCVD_IN_NERDS_GW eval:check_rbl_sub('nerds', '127.0.2.112')
# describe RCVD_IN_NERDS_GW Received from Guinea-Bissau (Republic of Guinea-Bissau)
# tflags   RCVD_IN_NERDS_GW net
# score    RCVD_IN_NERDS_GW 3.0
#
# header   RCVD_IN_NERDS_GY eval:check_rbl_sub('nerds', '127.0.1.72')
# describe RCVD_IN_NERDS_GY Received from Guyana (Co-operative Republic of Guyana)
# tflags   RCVD_IN_NERDS_GY net
# score    RCVD_IN_NERDS_GY 3.0
#
header   RCVD_IN_NERDS_HK eval:check_rbl_sub('nerds', '127.0.1.88')
describe RCVD_IN_NERDS_HK Received from Hong Kong (Hong Kong Special Administrative Region)
tflags   RCVD_IN_NERDS_HK net
score    RCVD_IN_NERDS_HK 3.0
#
# header   RCVD_IN_NERDS_HM eval:check_rbl_sub('nerds', '127.0.1.78')
# describe RCVD_IN_NERDS_HM Received from Heard Island and McDonald Islands (Territory of Heard Island and McDonald Islands)
# tflags   RCVD_IN_NERDS_HM net
# score    RCVD_IN_NERDS_HM 3.0
#
# header   RCVD_IN_NERDS_HN eval:check_rbl_sub('nerds', '127.0.1.84')
# describe RCVD_IN_NERDS_HN Received from Honduras (Republic of Honduras)
# tflags   RCVD_IN_NERDS_HN net
# score    RCVD_IN_NERDS_HN 3.0
#
header   RCVD_IN_NERDS_HR eval:check_rbl_sub('nerds', '127.0.0.191')
describe RCVD_IN_NERDS_HR Received from Croatia (Republic of Croatia)
tflags   RCVD_IN_NERDS_HR net
score    RCVD_IN_NERDS_HR 3.0
#
# header   RCVD_IN_NERDS_HT eval:check_rbl_sub('nerds', '127.0.1.76')
# describe RCVD_IN_NERDS_HT Received from Haiti (Republic of Haiti)
# tflags   RCVD_IN_NERDS_HT net
# score    RCVD_IN_NERDS_HT 3.0
#
header   RCVD_IN_NERDS_HU eval:check_rbl_sub('nerds', '127.0.1.92')
describe RCVD_IN_NERDS_HU Received from Hungary (Republic of Hungary)
tflags   RCVD_IN_NERDS_HU net
score    RCVD_IN_NERDS_HU 3.0
#
header   RCVD_IN_NERDS_ID eval:check_rbl_sub('nerds', '127.0.1.104')
describe RCVD_IN_NERDS_ID Received from Indonesia (Republic of Indonesia)
tflags   RCVD_IN_NERDS_ID net
score    RCVD_IN_NERDS_ID 3.0
#
# header   RCVD_IN_NERDS_IE eval:check_rbl_sub('nerds', '127.0.1.116')
# describe RCVD_IN_NERDS_IE Received from Ireland
# tflags   RCVD_IN_NERDS_IE net
# score    RCVD_IN_NERDS_IE 3.0
#
# header   RCVD_IN_NERDS_IL eval:check_rbl_sub('nerds', '127.0.1.120')
# describe RCVD_IN_NERDS_IL Received from Israel (State of Israel)
# tflags   RCVD_IN_NERDS_IL net
# score    RCVD_IN_NERDS_IL 3.0
#
# header   RCVD_IN_NERDS_IM eval:check_rbl_sub('nerds', '127.0.3.65')
# describe RCVD_IN_NERDS_IM Received from Isle of Man
# tflags   RCVD_IN_NERDS_IM net
# score    RCVD_IN_NERDS_IM 3.0
#
header   RCVD_IN_NERDS_IN eval:check_rbl_sub('nerds', '127.0.1.100')
describe RCVD_IN_NERDS_IN Received from India (Republic of India)
tflags   RCVD_IN_NERDS_IN net
score    RCVD_IN_NERDS_IN 3.0
#
# header   RCVD_IN_NERDS_IQ eval:check_rbl_sub('nerds', '127.0.1.112')
# describe RCVD_IN_NERDS_IQ Received from Iraq (Republic of Iraq)
# tflags   RCVD_IN_NERDS_IQ net
# score    RCVD_IN_NERDS_IQ 3.0
#
# header   RCVD_IN_NERDS_IR eval:check_rbl_sub('nerds', '127.0.1.108')
# describe RCVD_IN_NERDS_IR Received from Iran (Islamic Republic of Iran)
# tflags   RCVD_IN_NERDS_IR net
# score    RCVD_IN_NERDS_IR 3.0
#
# header   RCVD_IN_NERDS_IS eval:check_rbl_sub('nerds', '127.0.1.96')
# describe RCVD_IN_NERDS_IS Received from Iceland (Republic of Iceland)
# tflags   RCVD_IN_NERDS_IS net
# score    RCVD_IN_NERDS_IS 3.0
#
# header   RCVD_IN_NERDS_IT eval:check_rbl_sub('nerds', '127.0.1.124')
# describe RCVD_IN_NERDS_IT Received from Italy (Italian Republic)
# tflags   RCVD_IN_NERDS_IT net
# score    RCVD_IN_NERDS_IT 3.0
#
# header   RCVD_IN_NERDS_JE eval:check_rbl_sub('nerds', '127.0.3.64')
# describe RCVD_IN_NERDS_JE Received from Jersey (Bailiwick of Jersey)
# tflags   RCVD_IN_NERDS_JE net
# score    RCVD_IN_NERDS_JE 3.0
#
# header   RCVD_IN_NERDS_JM eval:check_rbl_sub('nerds', '127.0.1.132')
# describe RCVD_IN_NERDS_JM Received from Jamaica
# tflags   RCVD_IN_NERDS_JM net
# score    RCVD_IN_NERDS_JM 3.0
#
# header   RCVD_IN_NERDS_JO eval:check_rbl_sub('nerds', '127.0.1.144')
# describe RCVD_IN_NERDS_JO Received from Jordan (Hashemite Kingdom of Jordan)
# tflags   RCVD_IN_NERDS_JO net
# score    RCVD_IN_NERDS_JO 3.0
#
# header   RCVD_IN_NERDS_JP eval:check_rbl_sub('nerds', '127.0.1.136')
# describe RCVD_IN_NERDS_JP Received from Japan
# tflags   RCVD_IN_NERDS_JP net
# score    RCVD_IN_NERDS_JP 3.0
#
# header   RCVD_IN_NERDS_KE eval:check_rbl_sub('nerds', '127.0.1.148')
# describe RCVD_IN_NERDS_KE Received from Kenya (Republic of Kenya)
# tflags   RCVD_IN_NERDS_KE net
# score    RCVD_IN_NERDS_KE 3.0
#
header   RCVD_IN_NERDS_KG eval:check_rbl_sub('nerds', '127.0.1.161')
describe RCVD_IN_NERDS_KG Received from Kyrgyzstan (Kyrgyz Republic)
tflags   RCVD_IN_NERDS_KG net
score    RCVD_IN_NERDS_KG 3.0
#
# header   RCVD_IN_NERDS_KH eval:check_rbl_sub('nerds', '127.0.0.116')
# describe RCVD_IN_NERDS_KH Received from Cambodia (Kingdom of Cambodia)
# tflags   RCVD_IN_NERDS_KH net
# score    RCVD_IN_NERDS_KH 3.0
#
# header   RCVD_IN_NERDS_KI eval:check_rbl_sub('nerds', '127.0.1.40')
# describe RCVD_IN_NERDS_KI Received from Kiribati (Republic of Kiribati)
# tflags   RCVD_IN_NERDS_KI net
# score    RCVD_IN_NERDS_KI 3.0
#
# header   RCVD_IN_NERDS_KM eval:check_rbl_sub('nerds', '127.0.0.174')
# describe RCVD_IN_NERDS_KM Received from Comoros (Union of Comoros)
# tflags   RCVD_IN_NERDS_KM net
# score    RCVD_IN_NERDS_KM 3.0
#
# header   RCVD_IN_NERDS_KN eval:check_rbl_sub('nerds', '127.0.2.147')
# describe RCVD_IN_NERDS_KN Received from Saint Kitts and Nevis (Federation of Saint Kitts and Nevis)
# tflags   RCVD_IN_NERDS_KN net
# score    RCVD_IN_NERDS_KN 3.0
#
header   RCVD_IN_NERDS_KP eval:check_rbl_sub('nerds', '127.0.1.152')
describe RCVD_IN_NERDS_KP Received from Korea (Democratic People's Republic of Korea)
tflags   RCVD_IN_NERDS_KP net
score    RCVD_IN_NERDS_KP 3.0
#
header   RCVD_IN_NERDS_KR eval:check_rbl_sub('nerds', '127.0.1.154')
describe RCVD_IN_NERDS_KR Received from Korea (Republic of Korea)
tflags   RCVD_IN_NERDS_KR net
score    RCVD_IN_NERDS_KR 3.0
#
# header   RCVD_IN_NERDS_KW eval:check_rbl_sub('nerds', '127.0.1.158')
# describe RCVD_IN_NERDS_KW Received from Kuwait (State of Kuwait)
# tflags   RCVD_IN_NERDS_KW net
# score    RCVD_IN_NERDS_KW 3.0
#
# header   RCVD_IN_NERDS_KY eval:check_rbl_sub('nerds', '127.0.0.136')
# describe RCVD_IN_NERDS_KY Received from Cayman Islands
# tflags   RCVD_IN_NERDS_KY net
# score    RCVD_IN_NERDS_KY 3.0
#
header   RCVD_IN_NERDS_KZ eval:check_rbl_sub('nerds', '127.0.1.142')
describe RCVD_IN_NERDS_KZ Received from Kazakhstan (Republic of Kazakhstan)
tflags   RCVD_IN_NERDS_KZ net
score    RCVD_IN_NERDS_KZ 3.0
#
# header   RCVD_IN_NERDS_LA eval:check_rbl_sub('nerds', '127.0.1.162')
# describe RCVD_IN_NERDS_LA Received from Laos (Lao People's Democratic Republic)
# tflags   RCVD_IN_NERDS_LA net
# score    RCVD_IN_NERDS_LA 3.0
#
# header   RCVD_IN_NERDS_LB eval:check_rbl_sub('nerds', '127.0.1.166')
# describe RCVD_IN_NERDS_LB Received from Lebanon (Lebanese Republic)
# tflags   RCVD_IN_NERDS_LB net
# score    RCVD_IN_NERDS_LB 3.0
#
# header   RCVD_IN_NERDS_LC eval:check_rbl_sub('nerds', '127.0.2.150')
# describe RCVD_IN_NERDS_LC Received from Saint Lucia
# tflags   RCVD_IN_NERDS_LC net
# score    RCVD_IN_NERDS_LC 3.0
#
# header   RCVD_IN_NERDS_LI eval:check_rbl_sub('nerds', '127.0.1.182')
# describe RCVD_IN_NERDS_LI Received from Liechtenstein (Principality of Liechtenstein)
# tflags   RCVD_IN_NERDS_LI net
# score    RCVD_IN_NERDS_LI 3.0
#
# header   RCVD_IN_NERDS_LK eval:check_rbl_sub('nerds', '127.0.0.144')
# describe RCVD_IN_NERDS_LK Received from Sri Lanka (Democratic Socialist Republic of Sri Lanka)
# tflags   RCVD_IN_NERDS_LK net
# score    RCVD_IN_NERDS_LK 3.0
#
# header   RCVD_IN_NERDS_LR eval:check_rbl_sub('nerds', '127.0.1.174')
# describe RCVD_IN_NERDS_LR Received from Liberia (Republic of Liberia)
# tflags   RCVD_IN_NERDS_LR net
# score    RCVD_IN_NERDS_LR 3.0
#
# header   RCVD_IN_NERDS_LS eval:check_rbl_sub('nerds', '127.0.1.170')
# describe RCVD_IN_NERDS_LS Received from Lesotho (Kingdom of Lesotho)
# tflags   RCVD_IN_NERDS_LS net
# score    RCVD_IN_NERDS_LS 3.0
#
# header   RCVD_IN_NERDS_LT eval:check_rbl_sub('nerds', '127.0.1.184')
# describe RCVD_IN_NERDS_LT Received from Lithuania (Republic of Lithuania)
# tflags   RCVD_IN_NERDS_LT net
# score    RCVD_IN_NERDS_LT 3.0
#
# header   RCVD_IN_NERDS_LU eval:check_rbl_sub('nerds', '127.0.1.186')
# describe RCVD_IN_NERDS_LU Received from Luxembourg (Grand Duchy of Luxembourg)
# tflags   RCVD_IN_NERDS_LU net
# score    RCVD_IN_NERDS_LU 3.0
#
# header   RCVD_IN_NERDS_LV eval:check_rbl_sub('nerds', '127.0.1.172')
# describe RCVD_IN_NERDS_LV Received from Latvia (Republic of Latvia)
# tflags   RCVD_IN_NERDS_LV net
# score    RCVD_IN_NERDS_LV 3.0
#
# header   RCVD_IN_NERDS_LY eval:check_rbl_sub('nerds', '127.0.1.178')
# describe RCVD_IN_NERDS_LY Received from Libya (Great Socialist People's Libyan Arab Jamahiriya)
# tflags   RCVD_IN_NERDS_LY net
# score    RCVD_IN_NERDS_LY 3.0
#
# header   RCVD_IN_NERDS_MA eval:check_rbl_sub('nerds', '127.0.1.248')
# describe RCVD_IN_NERDS_MA Received from Morocco (Kingdom of Morocco)
# tflags   RCVD_IN_NERDS_MA net
# score    RCVD_IN_NERDS_MA 3.0
#
# header   RCVD_IN_NERDS_MC eval:check_rbl_sub('nerds', '127.0.1.236')
# describe RCVD_IN_NERDS_MC Received from Monaco (Principality of Monaco)
# tflags   RCVD_IN_NERDS_MC net
# score    RCVD_IN_NERDS_MC 3.0
#
header   RCVD_IN_NERDS_MD eval:check_rbl_sub('nerds', '127.0.1.242')
describe RCVD_IN_NERDS_MD Received from Moldova (Republic of Moldova)
tflags   RCVD_IN_NERDS_MD net
score    RCVD_IN_NERDS_MD 3.0
#
# header   RCVD_IN_NERDS_ME eval:check_rbl_sub('nerds', '127.0.1.243')
# describe RCVD_IN_NERDS_ME Received from Montenegro (Republic of Montenegro)
# tflags   RCVD_IN_NERDS_ME net
# score    RCVD_IN_NERDS_ME 3.0
#
# header   RCVD_IN_NERDS_MG eval:check_rbl_sub('nerds', '127.0.1.194')
# describe RCVD_IN_NERDS_MG Received from Madagascar (Republic of Madagascar)
# tflags   RCVD_IN_NERDS_MG net
# score    RCVD_IN_NERDS_MG 3.0
#
# header   RCVD_IN_NERDS_MH eval:check_rbl_sub('nerds', '127.0.2.72')
# describe RCVD_IN_NERDS_MH Received from Marshall Islands (Republic of the Marshall Islands)
# tflags   RCVD_IN_NERDS_MH net
# score    RCVD_IN_NERDS_MH 3.0
#
# header   RCVD_IN_NERDS_MK eval:check_rbl_sub('nerds', '127.0.3.39')
# describe RCVD_IN_NERDS_MK Received from Macedonia (Republic of Macedonia)
# tflags   RCVD_IN_NERDS_MK net
# score    RCVD_IN_NERDS_MK 3.0
#
# header   RCVD_IN_NERDS_ML eval:check_rbl_sub('nerds', '127.0.1.210')
# describe RCVD_IN_NERDS_ML Received from Mali (Republic of Mali)
# tflags   RCVD_IN_NERDS_ML net
# score    RCVD_IN_NERDS_ML 3.0
#
# header   RCVD_IN_NERDS_MM eval:check_rbl_sub('nerds', '127.0.0.104')
# describe RCVD_IN_NERDS_MM Received from Myanmar (Burma) (Union of Myanmar)
# tflags   RCVD_IN_NERDS_MM net
# score    RCVD_IN_NERDS_MM 3.0
#
# header   RCVD_IN_NERDS_MN eval:check_rbl_sub('nerds', '127.0.1.240')
# describe RCVD_IN_NERDS_MN Received from Mongolia
# tflags   RCVD_IN_NERDS_MN net
# score    RCVD_IN_NERDS_MN 3.0
#
# header   RCVD_IN_NERDS_MO eval:check_rbl_sub('nerds', '127.0.1.190')
# describe RCVD_IN_NERDS_MO Received from Macau (Macau Special Administrative Region)
# tflags   RCVD_IN_NERDS_MO net
# score    RCVD_IN_NERDS_MO 3.0
#
# header   RCVD_IN_NERDS_MP eval:check_rbl_sub('nerds', '127.0.2.68')
# describe RCVD_IN_NERDS_MP Received from Northern Mariana Islands (Commonwealth of The Northern Mariana Islands)
# tflags   RCVD_IN_NERDS_MP net
# score    RCVD_IN_NERDS_MP 3.0
#
# header   RCVD_IN_NERDS_MQ eval:check_rbl_sub('nerds', '127.0.1.218')
# describe RCVD_IN_NERDS_MQ Received from Martinique (Overseas Region of Martinique)
# tflags   RCVD_IN_NERDS_MQ net
# score    RCVD_IN_NERDS_MQ 3.0
#
# header   RCVD_IN_NERDS_MR eval:check_rbl_sub('nerds', '127.0.1.222')
# describe RCVD_IN_NERDS_MR Received from Mauritania (Islamic Republic of Mauritania)
# tflags   RCVD_IN_NERDS_MR net
# score    RCVD_IN_NERDS_MR 3.0
#
# header   RCVD_IN_NERDS_MS eval:check_rbl_sub('nerds', '127.0.1.244')
# describe RCVD_IN_NERDS_MS Received from Montserrat
# tflags   RCVD_IN_NERDS_MS net
# score    RCVD_IN_NERDS_MS 3.0
#
# header   RCVD_IN_NERDS_MT eval:check_rbl_sub('nerds', '127.0.1.214')
# describe RCVD_IN_NERDS_MT Received from Malta (Republic of Malta)
# tflags   RCVD_IN_NERDS_MT net
# score    RCVD_IN_NERDS_MT 3.0
#
# header   RCVD_IN_NERDS_MU eval:check_rbl_sub('nerds', '127.0.1.224')
# describe RCVD_IN_NERDS_MU Received from Mauritius (Republic of Mauritius)
# tflags   RCVD_IN_NERDS_MU net
# score    RCVD_IN_NERDS_MU 3.0
#
# header   RCVD_IN_NERDS_MV eval:check_rbl_sub('nerds', '127.0.1.206')
# describe RCVD_IN_NERDS_MV Received from Maldives (Republic of Maldives)
# tflags   RCVD_IN_NERDS_MV net
# score    RCVD_IN_NERDS_MV 3.0
#
# header   RCVD_IN_NERDS_MW eval:check_rbl_sub('nerds', '127.0.1.198')
# describe RCVD_IN_NERDS_MW Received from Malawi (Republic of Malawi)
# tflags   RCVD_IN_NERDS_MW net
# score    RCVD_IN_NERDS_MW 3.0
#
# header   RCVD_IN_NERDS_MX eval:check_rbl_sub('nerds', '127.0.1.228')
# describe RCVD_IN_NERDS_MX Received from Mexico (United Mexican States)
# tflags   RCVD_IN_NERDS_MX net
# score    RCVD_IN_NERDS_MX 3.0
#
# header   RCVD_IN_NERDS_MY eval:check_rbl_sub('nerds', '127.0.1.202')
# describe RCVD_IN_NERDS_MY Received from Malaysia
# tflags   RCVD_IN_NERDS_MY net
# score    RCVD_IN_NERDS_MY 3.0
#
# header   RCVD_IN_NERDS_MZ eval:check_rbl_sub('nerds', '127.0.1.252')
# describe RCVD_IN_NERDS_MZ Received from Mozambique (Republic of Mozambique)
# tflags   RCVD_IN_NERDS_MZ net
# score    RCVD_IN_NERDS_MZ 3.0
#
# header   RCVD_IN_NERDS_NA eval:check_rbl_sub('nerds', '127.0.2.4')
# describe RCVD_IN_NERDS_NA Received from Namibia (Republic of Namibia)
# tflags   RCVD_IN_NERDS_NA net
# score    RCVD_IN_NERDS_NA 3.0
#
# header   RCVD_IN_NERDS_NC eval:check_rbl_sub('nerds', '127.0.2.28')
# describe RCVD_IN_NERDS_NC Received from New Caledonia
# tflags   RCVD_IN_NERDS_NC net
# score    RCVD_IN_NERDS_NC 3.0
#
# header   RCVD_IN_NERDS_NE eval:check_rbl_sub('nerds', '127.0.2.50')
# describe RCVD_IN_NERDS_NE Received from Niger (Republic of Niger)
# tflags   RCVD_IN_NERDS_NE net
# score    RCVD_IN_NERDS_NE 3.0
#
# header   RCVD_IN_NERDS_NF eval:check_rbl_sub('nerds', '127.0.2.62')
# describe RCVD_IN_NERDS_NF Received from Norfolk Island (Territory of Norfolk Island)
# tflags   RCVD_IN_NERDS_NF net
# score    RCVD_IN_NERDS_NF 3.0
#
# header   RCVD_IN_NERDS_NG eval:check_rbl_sub('nerds', '127.0.2.54')
# describe RCVD_IN_NERDS_NG Received from Nigeria (Federal Republic of Nigeria)
# tflags   RCVD_IN_NERDS_NG net
# score    RCVD_IN_NERDS_NG 3.0
#
# header   RCVD_IN_NERDS_NI eval:check_rbl_sub('nerds', '127.0.2.46')
# describe RCVD_IN_NERDS_NI Received from Nicaragua (Republic of Nicaragua)
# tflags   RCVD_IN_NERDS_NI net
# score    RCVD_IN_NERDS_NI 3.0
#
# header   RCVD_IN_NERDS_NL eval:check_rbl_sub('nerds', '127.0.2.16')
# describe RCVD_IN_NERDS_NL Received from Netherlands (Kingdom of the Netherlands)
# tflags   RCVD_IN_NERDS_NL net
# score    RCVD_IN_NERDS_NL 3.0
#
# header   RCVD_IN_NERDS_NO eval:check_rbl_sub('nerds', '127.0.2.66')
# describe RCVD_IN_NERDS_NO Received from Norway (Kingdom of Norway)
# tflags   RCVD_IN_NERDS_NO net
# score    RCVD_IN_NERDS_NO 3.0
#
# header   RCVD_IN_NERDS_NP eval:check_rbl_sub('nerds', '127.0.2.12')
# describe RCVD_IN_NERDS_NP Received from Nepal
# tflags   RCVD_IN_NERDS_NP net
# score    RCVD_IN_NERDS_NP 3.0
#
# header   RCVD_IN_NERDS_NR eval:check_rbl_sub('nerds', '127.0.2.8')
# describe RCVD_IN_NERDS_NR Received from Nauru (Republic of Nauru)
# tflags   RCVD_IN_NERDS_NR net
# score    RCVD_IN_NERDS_NR 3.0
#
# header   RCVD_IN_NERDS_NU eval:check_rbl_sub('nerds', '127.0.2.58')
# describe RCVD_IN_NERDS_NU Received from Niue
# tflags   RCVD_IN_NERDS_NU net
# score    RCVD_IN_NERDS_NU 3.0
#
# header   RCVD_IN_NERDS_NZ eval:check_rbl_sub('nerds', '127.0.2.42')
# describe RCVD_IN_NERDS_NZ Received from New Zealand
# tflags   RCVD_IN_NERDS_NZ net
# score    RCVD_IN_NERDS_NZ 3.0
#
# header   RCVD_IN_NERDS_OM eval:check_rbl_sub('nerds', '127.0.2.0')
# describe RCVD_IN_NERDS_OM Received from Oman (Sultanate of Oman)
# tflags   RCVD_IN_NERDS_OM net
# score    RCVD_IN_NERDS_OM 3.0
#
# header   RCVD_IN_NERDS_PA eval:check_rbl_sub('nerds', '127.0.2.79')
# describe RCVD_IN_NERDS_PA Received from Panama (Republic of Panama)
# tflags   RCVD_IN_NERDS_PA net
# score    RCVD_IN_NERDS_PA 3.0
#
# header   RCVD_IN_NERDS_PE eval:check_rbl_sub('nerds', '127.0.2.92')
# describe RCVD_IN_NERDS_PE Received from Peru (Republic of Peru)
# tflags   RCVD_IN_NERDS_PE net
# score    RCVD_IN_NERDS_PE 3.0
#
# header   RCVD_IN_NERDS_PF eval:check_rbl_sub('nerds', '127.0.1.2')
# describe RCVD_IN_NERDS_PF Received from French Polynesia (Overseas Country of French Polynesia)
# tflags   RCVD_IN_NERDS_PF net
# score    RCVD_IN_NERDS_PF 3.0
#
# header   RCVD_IN_NERDS_PF eval:check_rbl_sub('nerds', '127.0.1.2')
# describe RCVD_IN_NERDS_PF Received from Clipperton Island
# tflags   RCVD_IN_NERDS_PF net
# score    RCVD_IN_NERDS_PF 3.0
#
# header   RCVD_IN_NERDS_PG eval:check_rbl_sub('nerds', '127.0.2.86')
# describe RCVD_IN_NERDS_PG Received from Papua New Guinea (Independent State of Papua New Guinea)
# tflags   RCVD_IN_NERDS_PG net
# score    RCVD_IN_NERDS_PG 3.0
#
# header   RCVD_IN_NERDS_PH eval:check_rbl_sub('nerds', '127.0.2.96')
# describe RCVD_IN_NERDS_PH Received from Philippines (Republic of the Philippines)
# tflags   RCVD_IN_NERDS_PH net
# score    RCVD_IN_NERDS_PH 3.0
#
header   RCVD_IN_NERDS_PK eval:check_rbl_sub('nerds', '127.0.2.74')
describe RCVD_IN_NERDS_PK Received from Pakistan (Islamic Republic of Pakistan)
tflags   RCVD_IN_NERDS_PK net
score    RCVD_IN_NERDS_PK 3.0
#
# header   RCVD_IN_NERDS_PL eval:check_rbl_sub('nerds', '127.0.2.104')
# describe RCVD_IN_NERDS_PL Received from Poland (Republic of Poland)
# tflags   RCVD_IN_NERDS_PL net
# score    RCVD_IN_NERDS_PL 3.0
#
# header   RCVD_IN_NERDS_PM eval:check_rbl_sub('nerds', '127.0.2.154')
# describe RCVD_IN_NERDS_PM Received from Saint Pierre and Miquelon (Territorial Collectivity of Saint Pierre and Miquelon)
# tflags   RCVD_IN_NERDS_PM net
# score    RCVD_IN_NERDS_PM 3.0
#
# header   RCVD_IN_NERDS_PN eval:check_rbl_sub('nerds', '127.0.2.100')
# describe RCVD_IN_NERDS_PN Received from Pitcairn Islands
# tflags   RCVD_IN_NERDS_PN net
# score    RCVD_IN_NERDS_PN 3.0
#
# header   RCVD_IN_NERDS_PR eval:check_rbl_sub('nerds', '127.0.2.118')
# describe RCVD_IN_NERDS_PR Received from Puerto Rico (Commonwealth of Puerto Rico)
# tflags   RCVD_IN_NERDS_PR net
# score    RCVD_IN_NERDS_PR 3.0
#
# header   RCVD_IN_NERDS_PT eval:check_rbl_sub('nerds', '127.0.2.108')
# describe RCVD_IN_NERDS_PT Received from Portugal (Portuguese Republic)
# tflags   RCVD_IN_NERDS_PT net
# score    RCVD_IN_NERDS_PT 3.0
#
# header   RCVD_IN_NERDS_PW eval:check_rbl_sub('nerds', '127.0.2.73')
# describe RCVD_IN_NERDS_PW Received from Palau (Republic of Palau)
# tflags   RCVD_IN_NERDS_PW net
# score    RCVD_IN_NERDS_PW 3.0
#
# header   RCVD_IN_NERDS_PY eval:check_rbl_sub('nerds', '127.0.2.88')
# describe RCVD_IN_NERDS_PY Received from Paraguay (Republic of Paraguay)
# tflags   RCVD_IN_NERDS_PY net
# score    RCVD_IN_NERDS_PY 3.0
#
# header   RCVD_IN_NERDS_QA eval:check_rbl_sub('nerds', '127.0.2.122')
# describe RCVD_IN_NERDS_QA Received from Qatar (State of Qatar)
# tflags   RCVD_IN_NERDS_QA net
# score    RCVD_IN_NERDS_QA 3.0
#
# header   RCVD_IN_NERDS_RE eval:check_rbl_sub('nerds', '127.0.2.126')
# describe RCVD_IN_NERDS_RE Received from Reunion (Overseas Region of Reunion)
# tflags   RCVD_IN_NERDS_RE net
# score    RCVD_IN_NERDS_RE 3.0
#
# header   RCVD_IN_NERDS_RO eval:check_rbl_sub('nerds', '127.0.2.130')
# describe RCVD_IN_NERDS_RO Received from Romania
# tflags   RCVD_IN_NERDS_RO net
# score    RCVD_IN_NERDS_RO 3.0
#
# header   RCVD_IN_NERDS_RS eval:check_rbl_sub('nerds', '127.0.2.176')
# describe RCVD_IN_NERDS_RS Received from Serbia (Republic of Serbia)
# tflags   RCVD_IN_NERDS_RS net
# score    RCVD_IN_NERDS_RS 3.0
#
header   RCVD_IN_NERDS_RU eval:check_rbl_sub('nerds', '127.0.2.131')
describe RCVD_IN_NERDS_RU Received from Russia (Russian Federation)
tflags   RCVD_IN_NERDS_RU net
score    RCVD_IN_NERDS_RU 3.0
#
# header   RCVD_IN_NERDS_RW eval:check_rbl_sub('nerds', '127.0.2.134')
# describe RCVD_IN_NERDS_RW Received from Rwanda (Republic of Rwanda)
# tflags   RCVD_IN_NERDS_RW net
# score    RCVD_IN_NERDS_RW 3.0
#
# header   RCVD_IN_NERDS_SA eval:check_rbl_sub('nerds', '127.0.2.170')
# describe RCVD_IN_NERDS_SA Received from Saudi Arabia (Kingdom of Saudi Arabia)
# tflags   RCVD_IN_NERDS_SA net
# score    RCVD_IN_NERDS_SA 3.0
#
# header   RCVD_IN_NERDS_SB eval:check_rbl_sub('nerds', '127.0.0.90')
# describe RCVD_IN_NERDS_SB Received from Solomon Islands
# tflags   RCVD_IN_NERDS_SB net
# score    RCVD_IN_NERDS_SB 3.0
#
# header   RCVD_IN_NERDS_SC eval:check_rbl_sub('nerds', '127.0.2.178')
# describe RCVD_IN_NERDS_SC Received from Seychelles (Republic of Seychelles)
# tflags   RCVD_IN_NERDS_SC net
# score    RCVD_IN_NERDS_SC 3.0
#
# header   RCVD_IN_NERDS_SD eval:check_rbl_sub('nerds', '127.0.2.224')
# describe RCVD_IN_NERDS_SD Received from Sudan (Republic of the Sudan)
# tflags   RCVD_IN_NERDS_SD net
# score    RCVD_IN_NERDS_SD 3.0
#
# header   RCVD_IN_NERDS_SE eval:check_rbl_sub('nerds', '127.0.2.240')
# describe RCVD_IN_NERDS_SE Received from Sweden (Kingdom of Sweden)
# tflags   RCVD_IN_NERDS_SE net
# score    RCVD_IN_NERDS_SE 3.0
#
# header   RCVD_IN_NERDS_SG eval:check_rbl_sub('nerds', '127.0.2.190')
# describe RCVD_IN_NERDS_SG Received from Singapore (Republic of Singapore)
# tflags   RCVD_IN_NERDS_SG net
# score    RCVD_IN_NERDS_SG 3.0
#
# header   RCVD_IN_NERDS_SH eval:check_rbl_sub('nerds', '127.0.2.142')
# describe RCVD_IN_NERDS_SH Received from Saint Helena
# tflags   RCVD_IN_NERDS_SH net
# score    RCVD_IN_NERDS_SH 3.0
#
# header   RCVD_IN_NERDS_SI eval:check_rbl_sub('nerds', '127.0.2.193')
# describe RCVD_IN_NERDS_SI Received from Slovenia (Republic of Slovenia)
# tflags   RCVD_IN_NERDS_SI net
# score    RCVD_IN_NERDS_SI 3.0
#
# header   RCVD_IN_NERDS_SJ eval:check_rbl_sub('nerds', '127.0.2.232')
# describe RCVD_IN_NERDS_SJ Received from Svalbard
# tflags   RCVD_IN_NERDS_SJ net
# score    RCVD_IN_NERDS_SJ 3.0
#
# header   RCVD_IN_NERDS_SK eval:check_rbl_sub('nerds', '127.0.2.191')
# describe RCVD_IN_NERDS_SK Received from Slovakia (Slovak Republic)
# tflags   RCVD_IN_NERDS_SK net
# score    RCVD_IN_NERDS_SK 3.0
#
# header   RCVD_IN_NERDS_SL eval:check_rbl_sub('nerds', '127.0.2.182')
# describe RCVD_IN_NERDS_SL Received from Sierra Leone (Republic of Sierra Leone)
# tflags   RCVD_IN_NERDS_SL net
# score    RCVD_IN_NERDS_SL 3.0
#
# header   RCVD_IN_NERDS_SM eval:check_rbl_sub('nerds', '127.0.2.162')
# describe RCVD_IN_NERDS_SM Received from San Marino (Republic of San Marino)
# tflags   RCVD_IN_NERDS_SM net
# score    RCVD_IN_NERDS_SM 3.0
#
# header   RCVD_IN_NERDS_SN eval:check_rbl_sub('nerds', '127.0.2.174')
# describe RCVD_IN_NERDS_SN Received from Senegal (Republic of Senegal)
# tflags   RCVD_IN_NERDS_SN net
# score    RCVD_IN_NERDS_SN 3.0
#
# header   RCVD_IN_NERDS_SO eval:check_rbl_sub('nerds', '127.0.2.194')
# describe RCVD_IN_NERDS_SO Received from Somalia
# tflags   RCVD_IN_NERDS_SO net
# score    RCVD_IN_NERDS_SO 3.0
#
# header   RCVD_IN_NERDS_SO eval:check_rbl_sub('nerds', '127.0.2.194')
# describe RCVD_IN_NERDS_SO Received from Somaliland (Republic of Somaliland)
# tflags   RCVD_IN_NERDS_SO net
# score    RCVD_IN_NERDS_SO 3.0
#
# header   RCVD_IN_NERDS_SR eval:check_rbl_sub('nerds', '127.0.2.228')
# describe RCVD_IN_NERDS_SR Received from Suriname (Republic of Suriname)
# tflags   RCVD_IN_NERDS_SR net
# score    RCVD_IN_NERDS_SR 3.0
#
# header   RCVD_IN_NERDS_ST eval:check_rbl_sub('nerds', '127.0.2.166')
# describe RCVD_IN_NERDS_ST Received from Sao Tome and Principe (Democratic Republic of Sao Tome and Principe)
# tflags   RCVD_IN_NERDS_ST net
# score    RCVD_IN_NERDS_ST 3.0
#
# header   RCVD_IN_NERDS_SV eval:check_rbl_sub('nerds', '127.0.0.222')
# describe RCVD_IN_NERDS_SV Received from El Salvador (Republic of El Salvador)
# tflags   RCVD_IN_NERDS_SV net
# score    RCVD_IN_NERDS_SV 3.0
#
# header   RCVD_IN_NERDS_SY eval:check_rbl_sub('nerds', '127.0.2.248')
# describe RCVD_IN_NERDS_SY Received from Syria (Syrian Arab Republic)
# tflags   RCVD_IN_NERDS_SY net
# score    RCVD_IN_NERDS_SY 3.0
#
# header   RCVD_IN_NERDS_SZ eval:check_rbl_sub('nerds', '127.0.2.236')
# describe RCVD_IN_NERDS_SZ Received from Swaziland (Kingdom of Swaziland)
# tflags   RCVD_IN_NERDS_SZ net
# score    RCVD_IN_NERDS_SZ 3.0
#
# header   RCVD_IN_NERDS_TA eval:check_rbl_sub('nerds', '127.0.0.0')
# describe RCVD_IN_NERDS_TA Received from Tristan da Cunha
# tflags   RCVD_IN_NERDS_TA net
# score    RCVD_IN_NERDS_TA 3.0
#
# header   RCVD_IN_NERDS_TC eval:check_rbl_sub('nerds', '127.0.3.28')
# describe RCVD_IN_NERDS_TC Received from Turks and Caicos Islands
# tflags   RCVD_IN_NERDS_TC net
# score    RCVD_IN_NERDS_TC 3.0
#
# header   RCVD_IN_NERDS_TD eval:check_rbl_sub('nerds', '127.0.0.148')
# describe RCVD_IN_NERDS_TD Received from Chad (Republic of Chad)
# tflags   RCVD_IN_NERDS_TD net
# score    RCVD_IN_NERDS_TD 3.0
#
# header   RCVD_IN_NERDS_TF eval:check_rbl_sub('nerds', '127.0.1.4')
# describe RCVD_IN_NERDS_TF Received from French Southern and Antarctic Lands (Territory of the French Southern and Antarctic Lands)
# tflags   RCVD_IN_NERDS_TF net
# score    RCVD_IN_NERDS_TF 3.0
#
# header   RCVD_IN_NERDS_TG eval:check_rbl_sub('nerds', '127.0.3.0')
# describe RCVD_IN_NERDS_TG Received from Togo (Togolese Republic)
# tflags   RCVD_IN_NERDS_TG net
# score    RCVD_IN_NERDS_TG 3.0
#
# header   RCVD_IN_NERDS_TH eval:check_rbl_sub('nerds', '127.0.2.252')
# describe RCVD_IN_NERDS_TH Received from Thailand (Kingdom of Thailand)
# tflags   RCVD_IN_NERDS_TH net
# score    RCVD_IN_NERDS_TH 3.0
#
# header   RCVD_IN_NERDS_TJ eval:check_rbl_sub('nerds', '127.0.2.250')
# describe RCVD_IN_NERDS_TJ Received from Tajikistan (Republic of Tajikistan)
# tflags   RCVD_IN_NERDS_TJ net
# score    RCVD_IN_NERDS_TJ 3.0
#
# header   RCVD_IN_NERDS_TK eval:check_rbl_sub('nerds', '127.0.3.4')
# describe RCVD_IN_NERDS_TK Received from Tokelau
# tflags   RCVD_IN_NERDS_TK net
# score    RCVD_IN_NERDS_TK 3.0
#
# header   RCVD_IN_NERDS_TL eval:check_rbl_sub('nerds', '127.0.2.114')
# describe RCVD_IN_NERDS_TL Received from Timor-Leste (East Timor) (Democratic Republic of Timor-Leste)
# tflags   RCVD_IN_NERDS_TL net
# score    RCVD_IN_NERDS_TL 3.0
#
# header   RCVD_IN_NERDS_TM eval:check_rbl_sub('nerds', '127.0.3.27')
# describe RCVD_IN_NERDS_TM Received from Turkmenistan
# tflags   RCVD_IN_NERDS_TM net
# score    RCVD_IN_NERDS_TM 3.0
#
# header   RCVD_IN_NERDS_TN eval:check_rbl_sub('nerds', '127.0.3.20')
# describe RCVD_IN_NERDS_TN Received from Tunisia (Tunisian Republic)
# tflags   RCVD_IN_NERDS_TN net
# score    RCVD_IN_NERDS_TN 3.0
#
# header   RCVD_IN_NERDS_TO eval:check_rbl_sub('nerds', '127.0.3.8')
# describe RCVD_IN_NERDS_TO Received from Tonga (Kingdom of Tonga)
# tflags   RCVD_IN_NERDS_TO net
# score    RCVD_IN_NERDS_TO 3.0
#
# header   RCVD_IN_NERDS_TR eval:check_rbl_sub('nerds', '127.0.3.24')
# describe RCVD_IN_NERDS_TR Received from Turkey (Republic of Turkey)
# tflags   RCVD_IN_NERDS_TR net
# score    RCVD_IN_NERDS_TR 3.0
#
# header   RCVD_IN_NERDS_TT eval:check_rbl_sub('nerds', '127.0.3.12')
# describe RCVD_IN_NERDS_TT Received from Trinidad and Tobago (Republic of Trinidad and Tobago)
# tflags   RCVD_IN_NERDS_TT net
# score    RCVD_IN_NERDS_TT 3.0
#
# header   RCVD_IN_NERDS_TV eval:check_rbl_sub('nerds', '127.0.3.30')
# describe RCVD_IN_NERDS_TV Received from Tuvalu
# tflags   RCVD_IN_NERDS_TV net
# score    RCVD_IN_NERDS_TV 3.0
#
# header   RCVD_IN_NERDS_TW eval:check_rbl_sub('nerds', '127.0.0.158')
# describe RCVD_IN_NERDS_TW Received from Taiwan
# tflags   RCVD_IN_NERDS_TW net
# score    RCVD_IN_NERDS_TW 3.0
#
# header   RCVD_IN_NERDS_TZ eval:check_rbl_sub('nerds', '127.0.3.66')
# describe RCVD_IN_NERDS_TZ Received from Tanzania (United Republic of Tanzania)
# tflags   RCVD_IN_NERDS_TZ net
# score    RCVD_IN_NERDS_TZ 3.0
#
# header   RCVD_IN_NERDS_UA eval:check_rbl_sub('nerds', '127.0.3.36')
# describe RCVD_IN_NERDS_UA Received from Ukraine
# tflags   RCVD_IN_NERDS_UA net
# score    RCVD_IN_NERDS_UA 3.0
#
# header   RCVD_IN_NERDS_UG eval:check_rbl_sub('nerds', '127.0.3.32')
# describe RCVD_IN_NERDS_UG Received from Uganda (Republic of Uganda)
# tflags   RCVD_IN_NERDS_UG net
# score    RCVD_IN_NERDS_UG 3.0
#
# header   RCVD_IN_NERDS_US eval:check_rbl_sub('nerds', '127.0.3.72')
# describe RCVD_IN_NERDS_US Received from United States (United States of America)
# tflags   RCVD_IN_NERDS_US net
# score    RCVD_IN_NERDS_US 3.0
#
# header   RCVD_IN_NERDS_UY eval:check_rbl_sub('nerds', '127.0.3.90')
# describe RCVD_IN_NERDS_UY Received from Uruguay (Oriental Republic of Uruguay)
# tflags   RCVD_IN_NERDS_UY net
# score    RCVD_IN_NERDS_UY 3.0
#
# header   RCVD_IN_NERDS_UZ eval:check_rbl_sub('nerds', '127.0.3.92')
# describe RCVD_IN_NERDS_UZ Received from Uzbekistan (Republic of Uzbekistan)
# tflags   RCVD_IN_NERDS_UZ net
# score    RCVD_IN_NERDS_UZ 3.0
#
# header   RCVD_IN_NERDS_VA eval:check_rbl_sub('nerds', '127.0.1.80')
# describe RCVD_IN_NERDS_VA Received from Vatican City (State of the Vatican City)
# tflags   RCVD_IN_NERDS_VA net
# score    RCVD_IN_NERDS_VA 3.0
#
# header   RCVD_IN_NERDS_VC eval:check_rbl_sub('nerds', '127.0.2.158')
# describe RCVD_IN_NERDS_VC Received from Saint Vincent and the Grenadines
# tflags   RCVD_IN_NERDS_VC net
# score    RCVD_IN_NERDS_VC 3.0
#
# header   RCVD_IN_NERDS_VE eval:check_rbl_sub('nerds', '127.0.3.94')
# describe RCVD_IN_NERDS_VE Received from Venezuela (Bolivarian Republic of Venezuela)
# tflags   RCVD_IN_NERDS_VE net
# score    RCVD_IN_NERDS_VE 3.0
#
# header   RCVD_IN_NERDS_VG eval:check_rbl_sub('nerds', '127.0.0.92')
# describe RCVD_IN_NERDS_VG Received from British Virgin Islands
# tflags   RCVD_IN_NERDS_VG net
# score    RCVD_IN_NERDS_VG 3.0
#
# header   RCVD_IN_NERDS_VI eval:check_rbl_sub('nerds', '127.0.3.82')
# describe RCVD_IN_NERDS_VI Received from U.S. Virgin Islands (United States Virgin Islands)
# tflags   RCVD_IN_NERDS_VI net
# score    RCVD_IN_NERDS_VI 3.0
#
header   RCVD_IN_NERDS_VN eval:check_rbl_sub('nerds', '127.0.2.192')
describe RCVD_IN_NERDS_VN Received from Vietnam (Socialist Republic of Vietnam)
tflags   RCVD_IN_NERDS_VN net
score    RCVD_IN_NERDS_VN 3.0
#
# header   RCVD_IN_NERDS_VU eval:check_rbl_sub('nerds', '127.0.2.36')
# describe RCVD_IN_NERDS_VU Received from Vanuatu (Republic of Vanuatu)
# tflags   RCVD_IN_NERDS_VU net
# score    RCVD_IN_NERDS_VU 3.0
#
# header   RCVD_IN_NERDS_WF eval:check_rbl_sub('nerds', '127.0.3.108')
# describe RCVD_IN_NERDS_WF Received from Wallis and Futuna (Collectivity of the Wallis and Futuna Islands)
# tflags   RCVD_IN_NERDS_WF net
# score    RCVD_IN_NERDS_WF 3.0
#
# header   RCVD_IN_NERDS_WS eval:check_rbl_sub('nerds', '127.0.3.114')
# describe RCVD_IN_NERDS_WS Received from Samoa (Independent State of Samoa)
# tflags   RCVD_IN_NERDS_WS net
# score    RCVD_IN_NERDS_WS 3.0
#
# header   RCVD_IN_NERDS_YE eval:check_rbl_sub('nerds', '127.0.3.119')
# describe RCVD_IN_NERDS_YE Received from Yemen (Republic of Yemen)
# tflags   RCVD_IN_NERDS_YE net
# score    RCVD_IN_NERDS_YE 3.0
#
# header   RCVD_IN_NERDS_YT eval:check_rbl_sub('nerds', '127.0.0.175')
# describe RCVD_IN_NERDS_YT Received from Mayotte (Departmental Collectivity of Mayotte)
# tflags   RCVD_IN_NERDS_YT net
# score    RCVD_IN_NERDS_YT 3.0
#
# header   RCVD_IN_NERDS_ZA eval:check_rbl_sub('nerds', '127.0.2.198')
# describe RCVD_IN_NERDS_ZA Received from South Africa (Republic of South Africa)
# tflags   RCVD_IN_NERDS_ZA net
# score    RCVD_IN_NERDS_ZA 3.0
#
# header   RCVD_IN_NERDS_ZM eval:check_rbl_sub('nerds', '127.0.3.126')
# describe RCVD_IN_NERDS_ZM Received from Zambia (Republic of Zambia)
# tflags   RCVD_IN_NERDS_ZM net
# score    RCVD_IN_NERDS_ZM 3.0
#
# header   RCVD_IN_NERDS_ZW eval:check_rbl_sub('nerds', '127.0.2.204')
# describe RCVD_IN_NERDS_ZW Received from Zimbabwe (Republic of Zimbabwe)
# tflags   RCVD_IN_NERDS_ZW net
# score    RCVD_IN_NERDS_ZW 3.0

endif
SørenR.

“Those who don't know history are doomed to repeat it.”
― Edmund Burke

bkiljan
New user
New user
Posts: 5
Joined: 2015-07-27 19:55

Re: Country blacklisting in hMailserver 5

Post by bkiljan » 2015-07-27 21:22

SorenR wrote:If you search the forum you will find several editions of the same...
=> sure this will work too but my "blacklist" is just one string with space-delimited country codes and (almost) no hard coding.

Also, I think that my script can be adapted for many more parameters that are available in the Geobytes data. This is the result of the query from my example:

{"geobytesforwarderfor":"","geobytesremoteip":"83.162.246.164","geobytesipaddress":"1.2.3.4","geobytescertainty":"100","geobytesinternet":"TH","geobytescountry":"Thailand","geobytesregionlocationcode":"THBM","geobytesregion":"Krung Thep Mahanakhon","geobytescode":"BM","geobyteslocationcode":"THBMBANG","geobytescity":"Bangkok","geobytescityid":"4815","geobytesfqcn":"Bangkok, BM, Thailand","geobyteslatitude":"13.750000","geobyteslongitude":"100.516998","geobytescapital":"Bangkok ","geobytestimezone":"+07:00","geobytesnationalitysingular":"Thai","geobytespopulation":"61797751","geobytesnationalityplural":"Thai","geobytesmapreference":"Southeast Asia ","geobytescurrency":"Baht","geobytescurrencycode":"THB","geobytestitle":"Thailand"}

Nevertheless, thanks for your response.

User avatar
RvdH
Senior user
Senior user
Posts: 1089
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Country blacklisting in hMailserver 5

Post by RvdH » 2015-07-27 21:38

Love your nerds.cf, saved me some work! :mrgreen:
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

User avatar
SorenR
Senior user
Senior user
Posts: 3707
Joined: 2006-08-21 15:38
Location: Denmark

Re: Country blacklisting in hMailserver 5

Post by SorenR » 2015-07-27 22:20

bkiljan wrote:
SorenR wrote:If you search the forum you will find several editions of the same...
=> sure this will work too but my "blacklist" is just one string with space-delimited country codes and (almost) no hard coding.

Also, I think that my script can be adapted for many more parameters that are available in the Geobytes data. This is the result of the query from my example:

{"geobytesforwarderfor":"","geobytesremoteip":"83.162.246.164","geobytesipaddress":"1.2.3.4","geobytescertainty":"100","geobytesinternet":"TH","geobytescountry":"Thailand","geobytesregionlocationcode":"THBM","geobytesregion":"Krung Thep Mahanakhon","geobytescode":"BM","geobyteslocationcode":"THBMBANG","geobytescity":"Bangkok","geobytescityid":"4815","geobytesfqcn":"Bangkok, BM, Thailand","geobyteslatitude":"13.750000","geobyteslongitude":"100.516998","geobytescapital":"Bangkok ","geobytestimezone":"+07:00","geobytesnationalitysingular":"Thai","geobytespopulation":"61797751","geobytesnationalityplural":"Thai","geobytesmapreference":"Southeast Asia ","geobytescurrency":"Baht","geobytescurrencycode":"THB","geobytestitle":"Thailand"}

Nevertheless, thanks for your response.
We all have different requirements :mrgreen:

By the way... This line is open for false positives; "if InStr(IP,"127.")<>1 and InStr(IP,"192.168.")<>1 then"

This might do it... In my mind it works... Have not tried it IRL...

aIP = Split(IP, ".")
If ( aIP(0) <> "127" ) and ( aIP(0) & "." & aIP(1) ) <> "192.168" ) Then
SørenR.

“Those who don't know history are doomed to repeat it.”
― Edmund Burke

User avatar
SorenR
Senior user
Senior user
Posts: 3707
Joined: 2006-08-21 15:38
Location: Denmark

Re: Country blacklisting in hMailserver 5

Post by SorenR » 2015-07-28 00:23

SorenR wrote:aIP = Split(IP, ".")
If ( aIP(0) <> "127" ) and ( aIP(0) & "." & aIP(1) ) <> "192.168" ) Then
Nah....

If (Left(IP,4) <> "127.") And (Left(IP,8) <> "192.168.") Then
SørenR.

“Those who don't know history are doomed to repeat it.”
― Edmund Burke

Aethelwulffe
New user
New user
Posts: 4
Joined: 2008-12-10 21:44

Re: Country blacklisting in hMailserver 5

Post by Aethelwulffe » 2015-12-11 17:53

I used SorenR's comparison change for local addresses, and I changed the set-up to a WHITELIST instead. Operating in the US as a regional concern, the following codes are white-listed for starters:

Code: Select all

 Const WhiteList="US DE CA ES AQ AU BE CH CR DK FI FR GB GU IE IN IS JP NL NO NZ MX PR SE UM VG VI"
The comparison function is thus:

Code: Select all

        '--- Check for non-whitelisted country and abort session if so...
            If InStr(Whitelist,CountryCode)=0 then
                EventLog.Write("Blacklisted: " & IP & ", " & CountryCode)
                Result.Value=Deny

User avatar
mattg
Moderator
Moderator
Posts: 20971
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Country blacklisting in hMailserver 5

Post by mattg » 2015-12-30 06:24

SorenR wrote:I just finished this today for SpamAssassin... Uncomment the country you want to tag as SPAM... Yeah... 1200+ lines to be saved in .\etc\spamassassin\nerds.cf :mrgreen:
Thanks

Looks great
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Jorgo
New user
New user
Posts: 24
Joined: 2018-01-21 19:54
Location: Germany

Re: Country blacklisting in hMailserver 5

Post by Jorgo » 2018-02-23 14:05

Sorry for necroing this thread. I just wanted to say that Geobytes returns massively wrong results. I have only noticed this because some clients complained that their mails don't go through. All the rejected IPs belong to Germany, but Geobytes locates them in IR, HR, AE, RU ... all over the world really.

What is the common opinion which of the free geolocator services is the most accurate?

User avatar
mattg
Moderator
Moderator
Posts: 20971
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Country blacklisting in hMailserver 5

Post by mattg » 2018-02-23 16:18

These days I actually use zz.countries.nerd.dk as a DNSBL

Easy as, I just score on all the results that I don't want

127.0.0.1-35|127.0.0.37-255|127.0.1.*|127.0.2.0-41|127.0.2.43-255|127.0.3.1-71|127.0.3.73-255
Doesn't score for Australia, NZ or the USA, but scores all others
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply