aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-18 18:05:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-18 18:05:44 +0000
commit7ed90b589b5ca599481837ba738eba3f07577174 (patch)
tree6ba7dd82b8405cc98ff6b8823673b6558128e98f /packages
parent49d40e8225cc1a871ed5182c7355376cfd0db574 (diff)
downloadpfsense-packages-7ed90b589b5ca599481837ba738eba3f07577174.tar.gz
pfsense-packages-7ed90b589b5ca599481837ba738eba3f07577174.tar.bz2
pfsense-packages-7ed90b589b5ca599481837ba738eba3f07577174.zip
Correct usage of -b argument. /var/db/spamd is now being created correctly.
Diffstat (limited to 'packages')
-rw-r--r--packages/spamd.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index 67f9cf6d..79d85bcb 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -98,7 +98,7 @@ function sync_package_spamd() {
if($ss['identifier'] <> "")
$identifier = " -n \"" . $ss['identifier'] . "\"";
// Default is greylisting, turn on blacklisting if not checked.
- if(!isset($ss['greylisting']) <> "")
+ if($ss['greylisting'] <> "on")
$greylisting = " -b";
if($ss['maxblack'] <> "")
$maxblack = " -B " . $ss['maxblack'];
@@ -122,7 +122,7 @@ function sync_package_spamd() {
$start = "/sbin/mount_fdescfs fdescfs /dev/fd\n" .
"/usr/local/sbin/spamd-setup -d &\n" .
"/sbin/pflogd &\n" .
- "/usr/local/libexec/spamd {$greyparms}{$identifier}{$greylisting}{$maxcon}{$maxblack}{$window}{$replysmtperror} -b 127.0.0.1 &\n" .
+ "/usr/local/libexec/spamd {$greyparms}{$identifier}{$greylisting}{$maxcon}{$maxblack}{$window}{$replysmtperror} 127.0.0.1 &\n" .
"/usr/local/libexec/spamlogd\n";
$stop = "/usr/bin/killall spamd-setup\n" .
"/usr/bin/killall spamlogd\n" .