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