diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-28 01:58:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-28 01:58:49 +0000 |
commit | 750184de6d281fa897079de83f2ff657c81cead6 (patch) | |
tree | 529807abd0c114148fcc2d879581ce51618b8ac0 /packages/spamd.inc | |
parent | 3ea4cf2cf53c525d6194a482ac13aef9d30cb981 (diff) | |
download | pfsense-packages-750184de6d281fa897079de83f2ff657c81cead6.tar.gz pfsense-packages-750184de6d281fa897079de83f2ff657c81cead6.tar.bz2 pfsense-packages-750184de6d281fa897079de83f2ff657c81cead6.zip |
Configure bridges first
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r-- | packages/spamd.inc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc index 61c5cc74..070ff5f4 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -29,7 +29,7 @@ function sync_package_spamd() { } } fclose($fd); - $fd = fopen("/var/mail/whitelist.txt","w"); + $fd = fopen("/var/db/whitelist.txt","w"); if($config['installedpackages']['spamdwhitelist']['config'] != "") foreach($config['installedpackages']['spamdwhitelist']['config'] as $spamd) { fwrite($fd, $spamd['ip'] . "\n"); @@ -42,18 +42,18 @@ function sync_package_spamd() { function custom_php_install_command() { global $config, $g; - system("touch /var/mail/whitelist.txt"); + system("touch /var/db/whitelist.txt"); system("/usr/local/libexec/spamd -G 25:4:864"); - system("/usr/libexec/spamlogd 2>/dev/null &"); - $start = "/usr/local/sbin/spamd-setup &\n" . - "/sbin/pflogd" . - "/sbin/mount_fdescfs fdescfs /dev/fd" . - "/usr/local/libexec/spamlogd &"; + system("/usr/libexec/spamlogd 2>/dev/null &"); + $start = "/usr/local/sbin/spamd-setup &\n" . + "/sbin/pflogd\n" . + "/sbin/mount_fdescfs fdescfs /dev/fd\n" . + "/usr/local/libexec/spamlogd\n"; "/usr/local/libexec/spamd -G 5:4:864 -g -d -b 127.0.0.1\n" . $stop = "/usr/bin/killall spamd-setup\n" . "/usr/bin/killall spamd\n" . - "/usr/bin/killall mount_fdescfs" . - "/usr/bin/killall spamlogd"; + "/usr/bin/killall mount_fdescfs\n" . + "/usr/bin/killall spamlogd\n"; write_rcfile(array( "file" => "spamd.sh", "start" => $start, |