Fix pam generic description in mail notification and increase maxretry, so it's not triggerd at the same time as other jails

This commit is contained in:
Daniel Berteaud 2013-05-03 16:57:08 +02:00
parent 0865b67e7c
commit 17dd080c5d
1 changed files with 2 additions and 1 deletions

View File

@ -3,8 +3,9 @@
enabled = true
filter = pam-generic
logpath = /var/log/secure
maxretry = {$maxretry*2}
action = smeserver-iptables[bantime={"$bantime"}]
{
$OUT .= " smeserver-sendmail[name=SSH,dest=$maildest]\n"
$OUT .= " smeserver-sendmail[name=\"PAM generic\",dest=$maildest]\n"
if ($mail eq 'enabled');
}