aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-22 18:54:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-22 18:54:17 +0000
commit3dd51a25715af2e97ccf07c6daa21b703d12e218 (patch)
treeef03bbcc0deae253360341e116da1671c620533b /packages/spamd.xml
parent16477efacfec2f0bf0ba5a31b991c0c57edfbfe9 (diff)
downloadpfsense-packages-3dd51a25715af2e97ccf07c6daa21b703d12e218.tar.gz
pfsense-packages-3dd51a25715af2e97ccf07c6daa21b703d12e218.tar.bz2
pfsense-packages-3dd51a25715af2e97ccf07c6daa21b703d12e218.zip
Attempt to correct a spamd xml error
Diffstat (limited to 'packages/spamd.xml')
-rw-r--r--packages/spamd.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml
index ccd97d28..a27b3106 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -120,7 +120,7 @@
fwrite($fd, "\t:file=/var/mail/whitelist.txt\n");
/* loop through each item and write out its configuration */
fwrite($fd, "\n# begin of user created entries\n");
- if($config['installedpackages']['spamd']['config'] != "") {
+ if($config['installedpackages']['spamd']['config'] != "")
foreach($config['installedpackages']['spamd']['config'] as $spamd) {
fwrite($fd, rtrim($spamd['providername']) . ":\\\n");
fwrite($fd, "\t:" . rtrim($spamd['providertype']) . ":\\\n");
@@ -129,7 +129,6 @@
fwrite($fd, "\t:" . rtrim($spamd['providermethod']) . ":\\\n");
fwrite($fd, "\t:file=" . rtrim($spamd['providerurl']) . ":\n\n");
}
- }
fclose($fd);
$fd = fopen("/var/mail/whitelist.txt","w");
if($config['installedpackages']['spamdwhitelist']['config'] != "")