diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 20:22:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 20:22:40 +0000 |
commit | 13ea4075bc37d301d545f12a0e5bdd21674646c8 (patch) | |
tree | 689a72b9451438351b266dbd553f14d4b0f78c54 | |
parent | 97780a68cb795af90e786f9ed9e3de441b149562 (diff) | |
download | pfsense-packages-13ea4075bc37d301d545f12a0e5bdd21674646c8.tar.gz pfsense-packages-13ea4075bc37d301d545f12a0e5bdd21674646c8.tar.bz2 pfsense-packages-13ea4075bc37d301d545f12a0e5bdd21674646c8.zip |
Eliminate white space after " spamd.xml
-rw-r--r-- | packages/spamd.xml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml index 173c322c..78096548 100644 --- a/packages/spamd.xml +++ b/packages/spamd.xml @@ -108,17 +108,18 @@ fwrite($fd, ":" . rtrim($spamd['providername'])); } fwrite($fd, ":\n\n# begin of whitelist\n"); - fwrite($fd, ":whitelist:\\ \n"); - fwrite($fd, ":white:\\ \n"); - fwrite($fd, ":file=/var/mail/whitelist.txt\n"); + fwrite($fd, "whitelist:\\\n"); + fwrite($fd, "\t:white:\\\n"); + 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"); foreach($config['installedpackages']['spamd']['config'] as $spamd) { - fwrite($fd, rtrim($spamd['providername']) . ":\\ \n"); - fwrite($fd, ":" . rtrim($spamd['providermethod']) . ":\\ \n"); - fwrite($fd, ":msg=\"" . rtrim($spamd['rejectmessage']) . "\":\\ \n"); - fwrite($fd, ":" . rtrim($spamd['providermethod']) . ":\\ \n"); - fwrite($fd, ":file=" . rtrim($spamd['providerurl']) . ":\n\n"); + fwrite($fd, rtrim($spamd['providername']) . ":\\\n"); + fwrite($fd, "\t:" . rtrim($spamd['providertype']) . ":\\\n"); + fwrite($fd, "\t:msg=\"" . rtrim($spamd['rejectmessage']) . "\":\\\n"); + fwrite($fd, "\t:method=" . rtrim($spamd['providermethod']) . ":\\\n"); + 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"); |