diff --git a/config/jail.conf b/config/jail.conf index 3d74a2f56..ea4f4555c 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -157,6 +157,21 @@ logpath = /var/log/daemon.log maxretry = 6 +[sendmail-auth] + +enabled = false +filter = sendmail-auth +action = iptables-multiport[name=sendmail-auth, port="submission,465,smtp", protocol=tcp] +logpath = /var/log/mail.log + + +[sendmail-spam] + +enabled = false +filter = sendmail-spam +action = iptables[name=sendmail-spam, port=smtp, protocol=tcp] +logpath = /var/log/mail.log + # This jail forces the backend to "polling". [sasl-iptables]