diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-04-17 23:09:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-04-17 23:09:28 +0000 |
commit | 8fa10e549a924194b1997a28449892e117b1c1f3 (patch) | |
tree | 1533b86051f9350a0960165a1c2176f8ace9f842 /packages/spamd_db_ext.php | |
parent | ae7181a14ad66a20c2c16ec57d4e25653893bcad (diff) | |
download | pfsense-packages-8fa10e549a924194b1997a28449892e117b1c1f3.tar.gz pfsense-packages-8fa10e549a924194b1997a28449892e117b1c1f3.tar.bz2 pfsense-packages-8fa10e549a924194b1997a28449892e117b1c1f3.zip |
From the newer man page:
Previous versions of spamd required traps to be entered into the database
including the enclosing <> characters; current versions expect only the
email address without the enclosing <> characters.
Diffstat (limited to 'packages/spamd_db_ext.php')
-rw-r--r-- | packages/spamd_db_ext.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/spamd_db_ext.php b/packages/spamd_db_ext.php index 71bbd41f..087eb793 100644 --- a/packages/spamd_db_ext.php +++ b/packages/spamd_db_ext.php @@ -166,8 +166,8 @@ function delete_from_spamd_db($srcip) { fwrite($fd, "/usr/local/sbin/spamdb -d {$srcip}\n"); fwrite($fd, "/usr/local/sbin/spamdb -d {$srcip} -T\n"); fwrite($fd, "/usr/local/sbin/spamdb -d {$srcip} -t\n"); - fwrite($fd, "/usr/local/sbin/spamdb -d \"<{$srcip}>\" -t\n"); - fwrite($fd, "/usr/local/sbin/spamdb -d \"<{$srcip}>\" -T\n"); + fwrite($fd, "/usr/local/sbin/spamdb -d \"{$srcip}\" -t\n"); + fwrite($fd, "/usr/local/sbin/spamdb -d \"{$srcip}\" -T\n"); fclose($fd); exec("/bin/chmod a+rx /tmp/execcmds"); system("/bin/sh /tmp/execcmds"); |