From fe1725c603a2a1f32c686a7c5f16942585968999 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Wed, 26 Feb 2014 19:31:09 +1100 Subject: [PATCH] BF: add jail.conf definitions for sendmail* filters --- config/jail.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/config/jail.conf b/config/jail.conf index 3d74a2f5..ea4f4555 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]