1

Topic: iRedMail-0.8.0 - fail2ban bug fix

OS: CentOS 6.2 x86_64
iRedMail: 0.8.0
Backend: MySQL

Hi, I'm trying the new iRedMail release and after the installation all seems work fine.
But looking the log files, I found a lot of fail2ban's errors:

fail2ban.actions.action: ERROR  iptables -N fail2ban-postfix#012iptables -A fail2ban-postfix -j RETURN#012iptables -I INPUT -p tcp -m multiport --dports 80,443,smtp,submission,pop3,pop3s,imap,imaps,sieve -j fail2ban-postfix returned 200

In accordance with the official fail2ban wiki, I fixed it editing the file

/usr/bin/fail2ban-client

and adding a time.sleep(0.1) nearly the line #145

def __processCmd(self, cmd, showRet = True):
    beautifier = Beautifier()
    for c in cmd:
        time.sleep(0.1)
        beautifier.setInputCmd(c)

Hope it can be helpful.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail-0.8.0 - fail2ban bug fix

Could you please post the URL of the fail2ban wiki article?

= UPDATE =
Found here: http://www.fail2ban.org/wiki/index.php/ … ity_Portal

Checked Fail2ban source code moment ago, seems it doesn't contains this fix: http://github.com/fail2ban/fail2ban
Could you help create an issue here to report this?