aboutsummaryrefslogtreecommitdiffstats
path: root/config/spamd/spamd_verify_to_address.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/spamd/spamd_verify_to_address.php')
-rw-r--r--config/spamd/spamd_verify_to_address.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/spamd/spamd_verify_to_address.php b/config/spamd/spamd_verify_to_address.php
index 56821370..504107d3 100644
--- a/config/spamd/spamd_verify_to_address.php
+++ b/config/spamd/spamd_verify_to_address.php
@@ -114,9 +114,7 @@ foreach($grey_hosts as $grey) {
if($debug)
echo "/usr/local/sbin/spamdb -a \"<$email_to>\" -T\n";
exec("/usr/local/sbin/spamdb -a \"<$email_to>\" -T");
- config_lock();
system("echo $server_ip >> /var/db/blacklist.txt");
- config_unlock();
$result = mwexec("/usr/local/sbin/spamdb -a $server_ip -t");
} else {
if($debug)
@@ -141,4 +139,4 @@ if($debug) {
mwexec("/sbin/pfctl -q -t blacklist -T replace -f /var/db/blacklist.txt");
-?> \ No newline at end of file
+?>