I'm missing something, but I can't figure out what. Below is the
contents of the spamd.conf file, nothing but a simple whitelist. A
connection from 10.37.129.2 gets directed to spamd, but the IP should
have been put into spamd-white by spamd-setup, at least that was what
I expected but clearly that did not happen. Hopefully someone can
point me to where I've gone wrong.
all:\
:whitelist:
# Whitelists are done like this, and must be added to "all" after each
# blacklist from which you want the addresses in the whitelist removed.
#
whitelist:\
:white:\
:method=file:\
:file=/etc/pf/smtp.white:
# cat /etc/pf/smtp.white
10.37.129.0/24
# /usr/libexec/spamd-setup -d
whitelist whitelist 1 entries
# pfctl -t spamd-white -T show
#
TRANSLATION RULES:
rdr pass on ne3 inet proto tcp from <spamd> to any port = smtp ->
127.0.0.1 port 8025
rdr pass on ne3 inet proto tcp from ! <spamd-white> to any port =
smtp -> 127.0.0.1 port 8025
FILTER RULES:
pass in on ne3 proto tcp from any to (ne3) port = ssh keep state
pass in log on ne3 proto tcp from any to (ne3) port = smtp keep state
Thanks,
Chad