Hi,
I decided to try spamd to fight spam but I can't get it working with ipfw.
I put the default config and added only "-m ipfw" to spamd. Of course it listens on port 8025 so I added this rule:
And I have that:
This doesn't work...just nothing happens...I don't see anything in /var/log/messages when mails are being sent.
Apparently I need spamlogd but I can't get it running as it requires pflog (I don't have PF enabled at all)
Could you guys give me a hand?
I just want spamd graylisting + ipfw.
cheers
I decided to try spamd to fight spam but I can't get it working with ipfw.
I put the default config and added only "-m ipfw" to spamd. Of course it listens on port 8025 so I added this rule:
Code:
ipfw add 100 fwd ${ext_ip},8025 tcp from any to ${ext_ip} 25 in
Code:
# ps ax |grep spamd
63864 ?? Is 0:00.02 spamd: (ipfw table 1 update) (spamd)
63865 ?? I 0:00.26 spamd: [priv] (greylist) (spamd)
63867 ?? I 0:00.00 spamd: (/var/db/spamd update) (spamd)
Apparently I need spamlogd but I can't get it running as it requires pflog (I don't have PF enabled at all)
Code:
# /usr/local/libexec/spamlogd -D -m ipfw
Listening on pflog0 for all interfaces.
Failed to initialize:
spamlogd: couldn't initialize pcap: Device not configured
I just want spamd graylisting + ipfw.
cheers