configure mail-ratelimit to use destemail var

This commit is contained in:
Matthew Saunders Brown 2022-12-07 10:28:53 -08:00
parent be63b2fb28
commit 87b119995f

View File

@ -1,6 +1,6 @@
# Fail2Ban configuration file
#
# Author: Cyril Jaquier
# Author: Matthew Saunders Brown
#
#
@ -39,7 +39,7 @@ actionban = printf %%b "Hi,\n
<matches>
\n
Regards,\n
Fail2Ban"|mail -s "[Fail2Ban] <name>" <dest>
Fail2Ban"|mail -s "[Fail2Ban] <name>" <destemail>
# Option: actionunban
# Notes.: command executed when unbanning an IP. Take care that the
@ -54,7 +54,3 @@ actionunban =
# Default name of the chain
#
name = exim-ratelimit
# Destination/Addressee of the mail
#
dest = postmaster