QUESTION Incredible PBX 13/13: Need to disable F2B/IP Tables Email Notifications

nateornat

Member
Joined
May 15, 2009
Messages
52
Reaction score
5
Location
Arizona
Asterisk 13.22.0 Incredible 13.0.120.10
Hopefully a quick question/solution. I'm running a couple servers with Incredible PBX and the "whole enchilada" installed. Fail2Ban is apparently working great because i am getting a ton of emails saying alot of IPs have been blocked.
Which is great, but because of the amount of emails being relayed, google is looking at the email I used in setup, to say the message is coming from, as a spamming email. Now a lot of my regular emails aren't going through.
I am just wondering if there is an easy way to disable Fail2Ban from using sendmail. I don't necessarily need to know every ip blocked.

Thanks everyone for your help.
 

AndyInNYC

Active Member
Joined
May 23, 2013
Messages
524
Reaction score
77
Look in /etc/fail2ban/jail.conf (or search for this file if it isn't in that location on your machine)

Each of your jails is shown in brackets (like [ssh-iptables])
each section likely has a line which reads something like:

sendmail-whois[name=SSH, [email protected], [email protected]]

comment (# at front of line) this line and see if your emails stop.

Andrew
 

Members online

No members online now.

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,262
Messages
136,420
Members
14,501
Latest member
yeoldroundabout