From 129e3f86cdb3bb5c0dcfc505fd6b748861e4f560 Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Sun, 7 Jan 2024 10:50:38 +0100 Subject: [PATCH] [fail2ban] Notify through email about violations. --- fail2ban/jail.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5