From: Jakub Czajka Date: Sun, 7 Jan 2024 09:50:38 +0000 (+0100) Subject: [fail2ban] Notify through email about violations. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=129e3f86cdb3bb5c0dcfc505fd6b748861e4f560;p=server.git [fail2ban] Notify through email about violations. --- diff --git a/fail2ban/jail.local b/fail2ban/jail.local index 8aca5ca..4ff380a 100644 --- a/fail2ban/jail.local +++ b/fail2ban/jail.local @@ -181,10 +181,10 @@ filter = %(__name__)s[mode=%(mode)s] # Destination email address used solely for the interpolations in # jail.{conf,local,d/*} configuration files. -destemail = root@localhost +destemail = server@${private_domain} # Sender email address used solely for some actions -sender = root@ +sender = server@${private_domain} # E-mail action. Since 0.8.1 Fail2Ban uses sendmail MTA for the # mailing. Change mta configuration parameter to mail if you want to