View Single Post
Old 18th November 2008, 04:19
_X_ _X_ is offline
Senior Member
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts

i got rid of those with fail2ban.

simply copy jail.conf to jail.local

cp /etc/fail2ban/jail.conf /etc/fail2ban/jail.local

edit jail.local

and if you want you can enable [couriersmtp]
and if you need

i didnt create custom filter and stuff ... used default values and it works.
set retry to 3 times and you can set seconds as much as you want.

Used Ubuntu 8.04 and after last update I hope fail2ban will work after restart and if not after restart of server:
uninstall fail2ban
install fail2ban
on ubuntu:
apt-get purge fail2ban
apt-get install fail2ban
to confirm that it is running:
/etc/init.d/fail2ban restart

no need to edit jail.local since file will not be deleted on uninstall.
Reply With Quote