Fix maxretry and action order in qpsmtpd jail conf

tags/0.0.1
Daniel Berteaud 11 years ago
parent 57b7e17789
commit 2d41499e2e
  1. 2
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service20qpsmtpd

@ -16,8 +16,8 @@ $OUT .=<<"EOF";
enabled = true
filter = qpsmtpd
logpath = /var/log/*qpsmtpd/current
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
maxretry = $max
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime]
EOF
$OUT .= " smeserver-sendmail[name=\"Qpsmtpd\",dest=$maildest]\n"

Loading…
Cancel
Save