configure mail-ratelimit to use destemail var
This commit is contained in:
parent
be63b2fb28
commit
87b119995f
|
@ -1,6 +1,6 @@
|
||||||
# Fail2Ban configuration file
|
# Fail2Ban configuration file
|
||||||
#
|
#
|
||||||
# Author: Cyril Jaquier
|
# Author: Matthew Saunders Brown
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ actionban = printf %%b "Hi,\n
|
||||||
<matches>
|
<matches>
|
||||||
\n
|
\n
|
||||||
Regards,\n
|
Regards,\n
|
||||||
Fail2Ban"|mail -s "[Fail2Ban] <name>" <dest>
|
Fail2Ban"|mail -s "[Fail2Ban] <name>" <destemail>
|
||||||
|
|
||||||
# Option: actionunban
|
# Option: actionunban
|
||||||
# Notes.: command executed when unbanning an IP. Take care that the
|
# Notes.: command executed when unbanning an IP. Take care that the
|
||||||
|
@ -54,7 +54,3 @@ actionunban =
|
||||||
# Default name of the chain
|
# Default name of the chain
|
||||||
#
|
#
|
||||||
name = exim-ratelimit
|
name = exim-ratelimit
|
||||||
|
|
||||||
# Destination/Addressee of the mail
|
|
||||||
#
|
|
||||||
dest = postmaster
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user