Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Destination email address used solely for the interpolations in
- # jail.{conf,local} configuration files.
- destemail = me@hotmail.com
- #
- # Name of the sender for mta actions
- sendername = mailer@example.com
- # Email address of the sender
- sender = mailer@example.com
- "message": {
- "headers": {
- "to": "root",
- "message-id": "20160515041935.56055.7228.B699C442@mg.example.com",
- "from": "Fail2Ban <fail2ban>",
- "subject": "[Fail2Ban] recidive: banned 183.3.202.174 from example.com"
- },
- # E-mail action. Since 0.8.1 Fail2Ban uses sendmail MTA for the
- # mailing. Change mta configuration parameter to mail if you want to
- # revert to conventional 'mail'.
- mta = sendmail
- /etc/fail2ban/jail.local
- destmail = my@email.com
- destemail = my@email.com
- **action_mwl = ....., dest="%(destemail)s, ....**
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement