0

I have an IP address showing up in /var/log/maillog trying to connect to SMTPD. The attempt to connect always fails, but I want to send him to spamd instead so I ran the command:

pfctl -t spamd -T add 123.456.78.90

pfctl -t spamd -T show shows that the IP address is there.

I reloaded pf, but the IP still shows up in maillog and not the spamd log.

Am I missing a step?

Joe Blough
  • 77
  • 4
  • With this configuration, you add IP address in your `spamd` PF table, you don't redirect incoming adress to `spamd` daemon. See https://man.openbsd.org/spamd.8 to how configure `spamd` with PF. – lcheylus Sep 12 '22 at 07:49

0 Answers0