I'd like fail2ban to send me alert emails for any events. There seem to be dest variables littered throughout the config files in
Is there a way to set one destination email for all events? I can't seem to find up to date documentation on this.
# ban & send an e-mail with whois report to the destemail. action_mw = %(banaction)s[name=%(__name__)s, bantime="%(bantime)s", port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"] %(mta)s-whois[name=%(__name__)s, dest="%(destemail)s", protocol="%(protocol)s", chain="%(chain)s"]
But where is
destemail set? It would also be useful to know how to quickly test that the
destemail is working.