SPAMD in Blacklist Mode Broken?
-
I'd like to run SPAMD in blacklist mode instead of greylisting mode. I unchecked the greylist box, but the package doesn't change the the rules that are generated into rules.debug.
The rules in there look like this:
spam table
table <whitelist>persist
table <blacklist>persist
table <spamd>persist
table <spamd-white>persist file "/var/db/whitelist.txt"
rdr pass on nfe0 proto tcp from <blacklist>to port smtp -> 127.0.0.1 port spamd
rdr pass on nfe0 proto tcp from <spamd>to port smtp -> 127.0.0.1 port spamd
rdr pass on nfe0 proto tcp from ! <spamd-white>to port smtp -> 127.0.0.1 port sp
amd
rdr pass on nfe0 proto tcp from <spamd-white>to port smtp -> 192.168.1.200 port
smtpbut the man page suggests they should like this:
spam table
table <blacklist>persist
table <spamd-white>persist file "/var/db/whitelist.txt"
rdr pass on nfe0 proto tcp from <blacklist>to port smtp -> 127.0.0.1 port spamd
rdr pass on nfe0 proto tcp from ! <blacklist>to port smtp -> localserverip port
smtpI can't seem to figure out what dictates what gets written there.. any help is much appreciated!</blacklist></blacklist></spamd-white></blacklist></spamd-white></spamd-white></spamd></blacklist></spamd-white></spamd></blacklist></whitelist>
-
I should say that unchecking the box STOPS all e-mail from being delivered unless its' on the whitelist. (I'm assuming because the rules aren't re-written it's trying to send it to spamd internally, which isn't on)
Changing the rules just gets them re-written on reboot obviously so that's no dice either..
Chris