initial commit of file from CVS for smeserver-geoip on Sat Sep 7 20:26:07 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 20:26:07 +10:00
parent 668d7517d0
commit ca710f1de3
25 changed files with 1033 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
{
my @badcountries = split /[,:]/, ${qpsmtpd}{BadCountries} || '';
return "# No BadCountries are defined" unless (scalar @badcountries);
return join "\n", @badcountries;
}

View File

@@ -0,0 +1 @@
../../plugins/18check_badcountries

View File

@@ -0,0 +1,6 @@
{
return "# geoip disabled" unless (${qpsmtpd}{GeoIP} eq "enabled");
"check_badcountries";
}