aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-17 22:33:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-17 22:33:58 +0000
commitdf8077907befd62b44c0e586544db2ebcf3e4247 (patch)
treef246f89eaaf9e8df04d402ea399099270a02cb28 /packages/spamd.inc
parent9ed4bbb921f75968a9124b3a957dad8084134fc0 (diff)
downloadpfsense-packages-df8077907befd62b44c0e586544db2ebcf3e4247.tar.gz
pfsense-packages-df8077907befd62b44c0e586544db2ebcf3e4247.tar.bz2
pfsense-packages-df8077907befd62b44c0e586544db2ebcf3e4247.zip
Greylisting is now the default in recent spamd. Set -b for blacklisting
ONLY if the grey listing option is not checked.
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r--packages/spamd.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index 08d47028..5df4170d 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -79,7 +79,6 @@ function sync_package_spamd() {
$greyexp = "4";
$whiteexp = "864";
$identifier = "";
-// $greylisting = " -g";
$maxcon = "";
$maxblack = "";
$stuttersecs = "";
@@ -92,8 +91,9 @@ function sync_package_spamd() {
$passtime = " -G " . $ss['greylistingparms'];
if($ss['identifier'] <> "")
$identifier = " -n \"" . $ss['identifier'] . "\"";
-// if(isset($ss['greylisting']) <> "")
-// $greylisting = " -g";
+ // Default is greylisting, turn on blacklisting if not checked.
+ if(!isset($ss['greylisting']) <> "")
+ $greylisting = " -b";
if($ss['maxblack'] <> "")
$maxblack = " -B " . $ss['maxblack'];
if($ss['maxcon'] <> "")