Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Do you try to use sendmail, or just an MTA compatible with sendmail?
In case of the former, I would suggest doing the latter. -
how about using a webhook?
there is this fail2ban webhook for slack you could adapt to sendmail maybe?
https://github.com/coleturner/... -
@waldz hmm while googling for that webhook i learned about ntopng network traffic monitoring tool. Looks interesting and it offers an integrated notification system for various server tools like fail2ban.
https://ntop.org/products/...
ntop alerts
https://ntop.org/guides/ntopng/... -
@waldz In case you still want some mails:
- Postfix itself is well documented.
- If a "fully equipped" MTA is to much work, try mstmp. Just give it a username, password and server of an email account and you are done. On Debian/Ubuntu, install mstmp-mta for a sendmail compatible binary.
Related Rants
-
omom36Da Fuck!?! Yesterday I found some abnormal activity on my server, someone was trying to brute force my ssh as ...
-
gitpush20For fucks sack I just created my server and fail2ban already blocked 6 IP addresses dafuq is going on on the i...
-
gitpush17Something strange just happened, activated Fail2ban on another server and instantly blocked me when I already ...
Hi everyone,
Does anyone have experience setting up email notifications for fail2ban?
I am trying to set sendmail MTA (mail transfer agent) to send an email with my gmail account when fail2ban bans an IP address but without success.
Any help is appreciated.
question
sendmail
fail2ban