Send Fail2Ban logs to multiple addresses

So I was running into an issue where I wanted to send the logs to as well as my own personal email, and my business email. However I found myself running into issues of sending to more than one. So I figured out the proper syntax for the jail.conf and jail.local

sendmail-whois-lines[name=FILTERNAME, dest=”[email protected],[email protected],[email protected]”, [email protected], sendername=”Fail2Ban”]

Just replace the parts in all caps with the appropriate settings for you. I always add to report to a whole community of abusers

Author: Alon Ganon

I serve as a technology research associate for DTG3D. I am a technology specialist, very focused on understanding the details and applications of new technology trends. With a background in Windows, Mac OS X, GNU/Linux, and FreeBSD operating systems, I provide practical approaches to the integration of new technology into an IT and general business environment. I am currently is involved in the analysis of augmented and virtual reality systems. I also spend my free time advocating for freedom in software, and in all facets of our life. I have been working on computers since I was 4 years old under my father's company DTG3D. I built my first computer at 7 years old, and I am primarily self taught and self trained in regards to the majority of his IT skills due to decades of being surrounded by technology everyday. My philosophy is, "You are not dead, until you stop learning."

Leave a Reply

Your email address will not be published. Required fields are marked *