aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-20 00:43:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-20 00:43:50 +0000
commite107c246f4be207d95c3d3907fd9802a1d494015 (patch)
treefe7ed9ad9637f13da6e596de1297595cf96dde10
parentd12e12f817bb9b06193d7a00d5064f0791d1f816 (diff)
downloadpfsense-packages-e107c246f4be207d95c3d3907fd9802a1d494015.tar.gz
pfsense-packages-e107c246f4be207d95c3d3907fd9802a1d494015.tar.bz2
pfsense-packages-e107c246f4be207d95c3d3907fd9802a1d494015.zip
* Woops, spamd.conf should be in /etc/ ... this has been broken for a long time.
-rw-r--r--packages/spamd.inc6
1 files 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" .