diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-11 08:23:43 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-11 08:23:43 -0300 |
commit | ac41b35988091a163b5a4e55dc358becdae3de7a (patch) | |
tree | 6a41d7b0aeba59113a0393dcb3d5bf7dfc717445 /config/spamd/spamd_verify_to_address.php | |
parent | c6e18d38e9ad1e0919bbdfc659f4b6b7ace1a87f (diff) | |
parent | 9b36d6b6c1f95574b15dff4e9e8ba794d4502a73 (diff) | |
download | pfsense-packages-ac41b35988091a163b5a4e55dc358becdae3de7a.tar.gz pfsense-packages-ac41b35988091a163b5a4e55dc358becdae3de7a.tar.bz2 pfsense-packages-ac41b35988091a163b5a4e55dc358becdae3de7a.zip |
Merge pull request #984 from doktornotor/patch-26
Diffstat (limited to 'config/spamd/spamd_verify_to_address.php')
-rw-r--r-- | config/spamd/spamd_verify_to_address.php | 4 |
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 +?> |