aboutsummaryrefslogtreecommitdiffstats
path: root/config/spamd
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-02 13:13:55 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-02 13:13:55 +0200
commit6c0fc7db039914df4f75327076175b119c83987a (patch)
treea729c098e095ba38b4810fee9ac193fd7843a81e /config/spamd
parent5600fbe4164fbd8df618d29ff1ec620f40514577 (diff)
downloadpfsense-packages-6c0fc7db039914df4f75327076175b119c83987a.tar.gz
pfsense-packages-6c0fc7db039914df4f75327076175b119c83987a.tar.bz2
pfsense-packages-6c0fc7db039914df4f75327076175b119c83987a.zip
Fix /var/db/spamd permissions
Diffstat (limited to 'config/spamd')
-rw-r--r--config/spamd/spamd.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc
index d62472ef..9b1849c7 100644
--- a/config/spamd/spamd.inc
+++ b/config/spamd/spamd.inc
@@ -171,6 +171,7 @@ fi
if [ ! -f "/var/db/spamd" ]; then
/usr/bin/touch /var/db/spamd
fi
+/usr/sbin/chown _spamd:proxy /var/db/spamd
/usr/local/sbin/spamd-setup -d -D {$spamd_setup_opts}
{$localpath}/libexec/spamd {$greyparms}{$identifier}{$greylisting}{$maxcon}{$maxblack}{$window}{$replysmtperror} 127.0.0.1 &
{$localpath}/libexec/spamlogd