[Definition] actionstart = actionstop = actioncheck = actionban = printf %%b "Subject: [Fail2Ban] : banned From: Fail2Ban <> To: \n Hi,\n The IP has just been banned by Fail2Ban after attempts against .\n Regards,\n Fail2Ban" | /usr/sbin/sendmail -f actionunban = [Init] name = default dest = root sender = fail2ban