diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/spamd.inc | 2 | ||||
-rw-r--r-- | packages/spamd_whitelist.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc index 41d2d7f3..a324a505 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -15,7 +15,7 @@ function sync_package_spamd() { fwrite($fd, ":\n\n# begin of whitelist\n"); fwrite($fd, "whitelist:\\\n"); fwrite($fd, "\t:white:\\\n"); - fwrite($fd, "\t:file=/var/mail/whitelist.txt\n"); + fwrite($fd, "\t:file=/var/db/whitelist.txt\n"); /* loop through each item and write out its configuration */ fwrite($fd, "\n# begin of user created entries\n"); if($config['installedpackages']['spamdsources']['config'] != "") { diff --git a/packages/spamd_whitelist.xml b/packages/spamd_whitelist.xml index c15bfa71..354a002e 100644 --- a/packages/spamd_whitelist.xml +++ b/packages/spamd_whitelist.xml @@ -59,7 +59,7 @@ global $config; conf_mount_rw(); config_lock(); - $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"); |