parent
8b8e59de61
commit
08b187212a
7 changed files with 12 additions and 4 deletions
@ -1,7 +1,7 @@ |
||||
action = smeserver[port="<port>", protocol=<protocol>] |
||||
{ |
||||
our $action = "action = smeserver[port=\"<port>\", protocol=<protocol>, bantime=<bantime>]"; |
||||
if (($fail2ban{'Mail'} || 'disabled') eq 'enabled'){ |
||||
my $dest = $fail2ban{'MailRecipient'} || 'root'; |
||||
$OUT .= " sendmail[name=<name>, dest=$dest]\n"; |
||||
$action .= " sendmail[name=<name>, dest=$dest]\n"; |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue