Fail2ban add more info to email notificationd -
I want to add 2 failed login entries related to the notification emails already received for any event.
Does anyone know how this can be done?
It depends on what you want - you can find the appropriate action.d
Version will override the .conf
Segment .conf
by copying the version .conf
version to .local
For example, I've personally modified my sendmail-whois.conf
code (which I used to use Main post Action is - you can send it in the same way, for example if you use it for example) sendmail-whois.local
which I used to say ' to:
' The server was then edited to include server hostnames on the line.
You can send the command to the email sent with your output, as long as you follow the correct syntax and fully qualify the path of the relevant command - for example, you will see that sendmail-whois
in the action configuration is the line within the actionban
segment;
` / usr / bin / whois & lt; Ip & gt; Note, as I mentioned above - includes the complete path of the relevant command (in this case, Code> whois
), and the entire command should be delimited by backquotes with its option. At the end of the line,\ n
indicates that a new line will be printed after this one in the output.Hope that clarifies things for you!
Comments
Post a Comment