Install Fail2ban
yum install epel-release
yum install fail2ban
#: CentOS
yum install jwhois
#: CentOS 6.X
chkconfig postfix on
service postfix start
#: CentOS 7.X
systemctl start postfix
systemctl enable postfix
Only make changes in the jail.local file , not inside jail.conf
If...