diff options
author | Peter van der Does <peter@avirtualhome.com> | 2017-04-11 11:13:58 -0400 |
---|---|---|
committer | Peter van der Does <peter@avirtualhome.com> | 2017-04-11 11:13:58 -0400 |
commit | bb79e7f41327983df068119ec48b90a5d0ceab47 (patch) | |
tree | 686ffc67d39425affd6feef6e7ea15eeec0d9019 /config/action.d | |
parent | 61e73b96946f628b1da77798a3ebe004aff9b41a (diff) | |
download | fail2ban-bb79e7f41327983df068119ec48b90a5d0ceab47.tar.gz |
Parameter not needed
The parameter '-s' causes an error as the <mailcmd> already has the parameter.
Diffstat (limited to 'config/action.d')
-rw-r--r-- | config/action.d/mail-whois-lines.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/action.d/mail-whois-lines.conf b/config/action.d/mail-whois-lines.conf index 0852ba8f..7ebb8b9f 100644 --- a/config/action.d/mail-whois-lines.conf +++ b/config/action.d/mail-whois-lines.conf @@ -21,7 +21,7 @@ norestored = 1 actionstart = printf %%b "Hi,\n The jail <name> has been started successfully.\n Regards,\n - Fail2Ban" | <mailcmd> -s "[Fail2Ban] <name>: started on `uname -n`" <dest> + Fail2Ban" | <mailcmd> "[Fail2Ban] <name>: started on `uname -n`" <dest> # Option: actionstop # Notes.: command executed once at the end of Fail2Ban @@ -30,7 +30,7 @@ actionstart = printf %%b "Hi,\n actionstop = printf %%b "Hi,\n The jail <name> has been stopped.\n Regards,\n - Fail2Ban" | <mailcmd> -s "[Fail2Ban] <name>: stopped on `uname -n`" <dest> + Fail2Ban" | <mailcmd> "[Fail2Ban] <name>: stopped on `uname -n`" <dest> # Option: actioncheck # Notes.: command executed once before each actionban command |