diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-20 00:02:49 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-20 00:02:49 +0000 |
commit | 0c49881f427d0ace6b74c7aefcc1b52e42c4e982 (patch) | |
tree | 4cf364beb1fc9691355bb1f5da6b714ce77e78bc | |
parent | eee673cfa4b384ae6d92a76e6fbfeb96776f69da (diff) | |
download | pfsense-packages-0c49881f427d0ace6b74c7aefcc1b52e42c4e982.tar.gz pfsense-packages-0c49881f427d0ace6b74c7aefcc1b52e42c4e982.tar.bz2 pfsense-packages-0c49881f427d0ace6b74c7aefcc1b52e42c4e982.zip |
* Missing :
* Add blacklist notice
-rw-r--r-- | packages/spamd.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc index 7bf21ee7..e7f6a780 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -42,12 +42,15 @@ function sync_package_spamd() { } fwrite($fd, ":\n\n# begin of whitelist\n"); fwrite($fd, "whitelist:\\\n"); + fwrite($fd, "\t:method=file:\\\n"); fwrite($fd, "\t:white:\\\n"); - fwrite($fd, "\t:file=/var/db/whitelist.txt\n"); + fwrite($fd, "\t:file=/var/db/whitelist.txt:\n"); fwrite($fd, ":\n\n# begin of blacklist\n"); fwrite($fd, "blacklist:\\\n"); fwrite($fd, "\t:black:\\\n"); - fwrite($fd, "\t:file=/var/db/blacklist.txt\n"); + fwrite($fd, "\t:msg=\"Sorry, you spammed us before.\":\\\n"); + fwrite($fd, "\t:method=file:\\\n"); + fwrite($fd, "\t:file=/var/db/blacklist.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'] != "") { |