aboutsummaryrefslogtreecommitdiffstats
path: root/config/spamd
diff options
context:
space:
mode:
Diffstat (limited to 'config/spamd')
-rw-r--r--config/spamd/spamd.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc
index a7be4587..bceafd09 100644
--- a/config/spamd/spamd.inc
+++ b/config/spamd/spamd.inc
@@ -285,21 +285,14 @@ function custom_php_install_command() {
system("touch /var/db/whitelist.txt");
system("touch /var/db/blacklist.txt");
sync_package_spamd();
- conf_mount_rw();
exec("/usr/sbin/pw usermod _spamd -g proxy -G _spamd,proxy");
exec("/bin/cp /usr/local/etc/spamd/spamd.conf.sample /usr/local/etc/spamd/spamd.conf");
- conf_mount_ro();
}
function custom_php_deinstall_command() {
global $config, $g;
- conf_mount_rw();
- exec("killall -9 spamd");
unlink_if_exists("/usr/local/pkg/pf/spamd_rules.php");
- unlink_if_exists("/usr/local/www/spamd_rules.php");
- unlink_if_exists("/usr/local/etc/rc.d/spamd.sh");
spamd_install_cron(false);
- conf_mount_ro();
filter_configure();
}