We help IT Professionals succeed at work.

Fail2ban and swaks as email

reredok
reredok asked
on
121 Views
Last Modified: 2018-09-03
Hello Experts,
I am trying to change the mail behavior of fail2ban to /etc/fail2ban/jail.local section mta=.
I would like to generate a fail2ban mail filter that uses swaks as mail client although the authentication, mail from, mail to are already pre-set. Unfortunately I don't find any meaningful examples in my internet search and wanted to ask politely if someone has such a configuration already running. Thank you so much

With kind regards reredok
Comment
Watch Question

Fractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
reredokIT Consultant

Author

Commented:
Thanks for the interesting approach. Unfortunately I don't have time to dedicate to my favorite private topic linux. But I assume it will work.  I'll get back to you if it doesn't work.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions