diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-28 22:04:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-28 22:04:17 +0000 |
commit | 85daaffffbc13c2b1cc52776e7fcef506f0eddba (patch) | |
tree | 6243fb1bf4d40183cbe2b7076264ab3ec9a8d394 | |
parent | e5254611fded22ec5a2c8611cd1cd0183a9c9b67 (diff) | |
download | pfsense-packages-85daaffffbc13c2b1cc52776e7fcef506f0eddba.tar.gz pfsense-packages-85daaffffbc13c2b1cc52776e7fcef506f0eddba.tar.bz2 pfsense-packages-85daaffffbc13c2b1cc52776e7fcef506f0eddba.zip |
/var/mail -> /var/db
-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"); |