Hi!

* Tom Smyth <[email protected]> [160719 15:48]:
> 1)#  Turn off MTA ... this will let our mail server accept mail but it wont
>    forward it ...
> smtpctl pause mta
> 2) less /var/log/maillog       # this will let you look for the offending
>    Source IP ...
> 3) edit /etc/pf.conf and replace SPAM_SRC_IP with ip of spammer
> block in quick on egress proto tcp from SPAM_SRC_IP
> 4) pfctl -nf /etc/pf.conf        # check the syntax of the firewall rule
>   set  (no output is good)
> 5) pfctl -f /etc/pf.conf          # load the rule set
> 6) pfctl -sr                           # show firewall rule set

Using a blacklist in smtpd.conf and updating that list would spare you
the troubles of touching the packet filter rules.

Or am I missing something?

Kind regards,

Christian

--
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to