Avatar of reredok
reredok
Flag for Germany asked on

Fail2ban and swaks as email

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
Linux Networking

Avatar of undefined
Last Comment
reredok

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
David Favor

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
reredok

ASKER
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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy