From e107c246f4be207d95c3d3907fd9802a1d494015 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 20 Mar 2006 00:43:50 +0000 Subject: * Woops, spamd.conf should be in /etc/ ... this has been broken for a long time. --- packages/spamd.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/spamd.inc b/packages/spamd.inc index 4dc11cbf..6b2f7f0d 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -32,7 +32,7 @@ function sync_package_spamd() { global $config, $g; conf_mount_rw(); config_lock(); - $fd = fopen("/usr/local/etc/spamd.conf","w"); + $fd = fopen("/etc/spamd.conf","w"); /* all header */ fwrite($fd, "all:\\\n\t:whitelist:blacklist"); foreach($config['installedpackages']['spamdsources']['config'] as $spamd) { @@ -112,9 +112,9 @@ function sync_package_spamd() { } } $greyparms = " -G {$passtime}:{$greyexp}:{$whiteexp}"; - $start = "/usr/local/sbin/spamd-setup &\n" . + $start = "/sbin/mount_fdescfs fdescfs /dev/fd\n" . + "/usr/local/sbin/spamd-setup -d &\n" . "/sbin/pflogd &\n" . - "/sbin/mount_fdescfs fdescfs /dev/fd\n" . "/usr/local/libexec/spamd {$greyparms}{$identifier}{$greylisting}{$maxcon}{$maxblack}{$window}{$replysmtperror} -b 127.0.0.1 &\n" . "/usr/local/libexec/spamlogd\n"; $stop = "/usr/bin/killall spamd-setup\n" . -- cgit v1.2.3