initial commit of file from CVS for smeserver-wbl on Sat Sep 7 21:14:56 AEST 2024
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
use esmith::ConfigDB;
|
||||
|
||||
my $wdb = esmith::ConfigDB->open_ro('wbl')
|
||||
|| die "Unable to open wbl configuration dbase.";
|
||||
my %list = $wdb->get('badmailfrom')->props;
|
||||
|
||||
$OUT = '';
|
||||
my $parameter = "";
|
||||
my $value = "";
|
||||
while (($parameter,$value) = each(%list)) {
|
||||
if ($parameter eq "type") {next;}
|
||||
|
||||
if ($value eq "Black") {
|
||||
$OUT .= "$parameter\n";
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
use esmith::ConfigDB;
|
||||
|
||||
my $wdb = esmith::ConfigDB->open_ro('wbl')
|
||||
|| die "Unable to open wbl configuration dbase.";
|
||||
my %list = $wdb->get('badhelo')->props;
|
||||
|
||||
$OUT = '';
|
||||
my $parameter = "";
|
||||
my $value = "";
|
||||
while (($parameter,$value) = each(%list)) {
|
||||
if ($parameter eq "type") {next;}
|
||||
|
||||
if ($value eq "Black") {
|
||||
$OUT .= "$parameter\n";
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
use esmith::ConfigDB;
|
||||
|
||||
my $wdb = esmith::ConfigDB->open_ro('wbl')
|
||||
|| die "Unable to open wbl configuration dbase.";
|
||||
my %list = $wdb->get('badmailfrom')->props;
|
||||
|
||||
$OUT = '';
|
||||
my $parameter = "";
|
||||
my $value = "";
|
||||
while (($parameter,$value) = each(%list)) {
|
||||
if ($parameter eq "type") {next;}
|
||||
|
||||
if ($value eq "Black") {
|
||||
$OUT .= "$parameter\n";
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
return ("whitelist") ;
|
||||
# for SME 8 and after RequireResolvableFromHost key is obsolete and always on
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
use esmith::ConfigDB;
|
||||
|
||||
my $wdb = esmith::ConfigDB->open_ro('wbl')
|
||||
|| die "Unable to open wbl configuration dbase.";
|
||||
my %list = $wdb->get('whitelisthelo')->props;
|
||||
|
||||
$OUT = '';
|
||||
my $parameter = "";
|
||||
my $value = "";
|
||||
while (($parameter,$value) = each(%list)) {
|
||||
if ($parameter eq "type") {next;}
|
||||
|
||||
if ($value eq "White") {
|
||||
$OUT .= "$parameter\n";
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
use esmith::ConfigDB;
|
||||
|
||||
my $wdb = esmith::ConfigDB->open_ro('wbl')
|
||||
|| die "Unable to open wbl configuration dbase.";
|
||||
my %list = $wdb->get('whitelisthosts')->props;
|
||||
|
||||
$OUT = '';
|
||||
my $parameter = "";
|
||||
my $value = "";
|
||||
while (($parameter,$value) = each(%list)) {
|
||||
if ($parameter eq "type") {next;}
|
||||
|
||||
if ($value eq "White") {
|
||||
$OUT .= "$parameter\n";
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
use esmith::ConfigDB;
|
||||
|
||||
my $wdb = esmith::ConfigDB->open_ro('wbl')
|
||||
|| die "Unable to open wbl configuration dbase.";
|
||||
my %list = $wdb->get('whitelistsenders')->props;
|
||||
|
||||
$OUT = '';
|
||||
my $parameter = "";
|
||||
my $value = "";
|
||||
while (($parameter,$value) = each(%list)) {
|
||||
if ($parameter eq "type") {next;}
|
||||
|
||||
if ($value eq "White") {
|
||||
$OUT .= "$parameter\n";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user