diff options
Diffstat (limited to 'packages/spamd_verify_to_address.php')
-rw-r--r-- | packages/spamd_verify_to_address.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/spamd_verify_to_address.php b/packages/spamd_verify_to_address.php index 5fa4a2ca..1ff4b303 100644 --- a/packages/spamd_verify_to_address.php +++ b/packages/spamd_verify_to_address.php @@ -109,7 +109,9 @@ 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) |