I've set up spamd on a soekris bridge. It seems to be working for the most part. However, when I used spamdb to view the database - it only shows WHITE entries. It appears there are no GREY entries. Have I configured things incorrectly?

Also, if I try to send mail from a remote mail client, using the mail server behind spamd, it won't allow the connection. I have to use my shaw smtp server, or some other one to get the mail to send. Any ideas on how to configure it so that I can use my main mail server to send messages?

Config files:
pf.conf:

ext_if="sis1"
mailserver="<my mail server IP>"

table <spamd> persist
table <spamd-white> persist

rdr pass on $ext_if proto tcp from <spamd> to port smtp \
        -> 127.0.0.1 port spamd
rdr pass on $ext_if proto tcp from !<spamd-white> to port smtp \
        -> 127.0.0.1 port spamd

# "log" so you can watch the connections getting trapped
pass in log on $ext_if route-to lo0 inet proto tcp to 127.0.0.1 port spamd

# log smtp sessions to and from the mailserver
pass in log on $ext_if proto tcp to $mailserver port smtp keep state
pass out log on $ext_if proto tcp from $mailserver to any port smtp keep state


rc.conf:

spamd_flags="-v"
spamd_grey=YES
spamlogd_flags=""

Reply via email to