Commit e0e896d2 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Display logging message if we're disabled but loaded

parent 78ab01c8
......@@ -59,6 +59,8 @@ sub init {
if ($config{'enable'} =~ /^\s*(y|yes|1|on)\s*$/i) {
$server->log(LOG_NOTICE," => AccessControl: enabled");
$config{'enable'} = 1;
} else {
$server->log(LOG_NOTICE," => AccessControl: disabled");
}
}
......
......@@ -65,6 +65,8 @@ sub init {
$config{'enable'} = 1;
# Enable tracking, we need this to recipients for the message in END-OF-DATA
$server->{'config'}{'track_sessions'} = 1;
} else {
$server->log(LOG_NOTICE," => Accounting: disabled");
}
}
......
......@@ -63,6 +63,8 @@ sub init {
if ($config{'enable'} =~ /^\s*(y|yes|1|on)\s*$/i) {
$server->log(LOG_NOTICE," => CheckHelo: enabled");
$config{'enable'} = 1;
} else {
$server->log(LOG_NOTICE," => CheckHelo: disabled");
}
}
......
......@@ -65,6 +65,8 @@ sub init {
$server->log(LOG_NOTICE," => CheckSPF: enabled");
$config{'enable'} = 1;
$spf_server = Mail::SPF::Server->new();
} else {
$server->log(LOG_NOTICE," => CheckSPF: disabled");
}
}
......
......@@ -71,6 +71,8 @@ sub init {
if ($config{'enable'} =~ /^\s*(y|yes|1|on)\s*$/i) {
$server->log(LOG_NOTICE," => Greylisting: enabled$moreInfo");
$config{'enable'} = 1;
} else {
$server->log(LOG_NOTICE," => Greylisting: disabled");
}
}
......
......@@ -63,6 +63,8 @@ sub init {
$config{'enable'} = 1;
# Enable tracking, we need this to recipients for the message in END-OF-DATA
$server->{'config'}{'track_sessions'} = 1;
} else {
$server->log(LOG_NOTICE," => Quotas: disabled");
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment