diff options
-rw-r--r-- | packages/spamd.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc index 84c61c43..e6bdcf0e 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -37,9 +37,6 @@ function sync_package_spamd() { fwrite($fd, $spamd['ip'] . "\n"); } fclose($fd); - conf_mount_ro(); - config_unlock(); - $passtime = "5:4:864"; $identifier = ""; $greylisting = " -g"; @@ -80,6 +77,8 @@ function sync_package_spamd() { "stop" => $stop ) ); + conf_mount_ro(); + config_unlock(); restart_service("spamd"); } |