Add spammers table

This commit is contained in:
Scott Ullrich 2006-01-29 02:59:40 +00:00
parent 2c21de5707
commit aa04e60bfb

View File

@ -546,6 +546,7 @@ function filter_nat_rules_generate() {
/* is SPAMD insalled? */
if (is_package_installed("spamd") == 1) {
$natrules .= "\n# spam table \n";
$natrules .= "table <spammers> persist\n";
$natrules .= "table <spamd> persist\n";
$natrules .= "table <spamd-white> persist\n";
$natrules .= "rdr pass on {$wanif} proto tcp from <spamd> to port smtp -> 127.0.0.1 port spamd\n";