Fix actions template in jail.conf

tags/0.0.1
Daniel Berteaud 12 years ago
parent 3f165421d4
commit 9560117ab7
  1. 2
      root/etc/e-smith/templates/etc/fail2ban/jail.conf/25Actions

@ -1,6 +1,6 @@
action = smeserver[port="<port>", protocol=<protocol>]
{
if (($fail2ban{'Mail'} || 'disabled) eq 'enabled'){
if (($fail2ban{'Mail'} || 'disabled') eq 'enabled'){
my $dest = $fail2ban{'MailRecipient'} || 'root';
$OUT .= " sendmail[name=<name>, dest=$dest]\n";
}

Loading…
Cancel
Save