Advertisement
Guest User

Untitled

a guest
Mar 11th, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. # Destination email address used solely for the interpolations in
  2. # jail.{conf,local} configuration files.
  3. destemail = me@hotmail.com
  4.  
  5. #
  6. # Name of the sender for mta actions
  7. sendername = mailer@example.com
  8.  
  9. # Email address of the sender
  10. sender = mailer@example.com
  11.  
  12. "message": {
  13. "headers": {
  14. "to": "root",
  15. "message-id": "20160515041935.56055.7228.B699C442@mg.example.com",
  16. "from": "Fail2Ban <fail2ban>",
  17. "subject": "[Fail2Ban] recidive: banned 183.3.202.174 from example.com"
  18. },
  19.  
  20. # E-mail action. Since 0.8.1 Fail2Ban uses sendmail MTA for the
  21. # mailing. Change mta configuration parameter to mail if you want to
  22. # revert to conventional 'mail'.
  23. mta = sendmail
  24.  
  25. /etc/fail2ban/jail.local
  26.  
  27. destmail = my@email.com
  28.  
  29. destemail = my@email.com
  30.  
  31. **action_mwl = ....., dest="%(destemail)s, ....**
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement