From 7ed90b589b5ca599481837ba738eba3f07577174 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 18 Apr 2008 18:05:44 +0000 Subject: Correct usage of -b argument. /var/db/spamd is now being created correctly. --- packages/spamd.inc | 4 ++-- 1 file 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" . -- cgit v1.2.3