aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'] != "")