Topic: fail2ban error
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: Ubuntu 12.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? YES
- Related log if you're reporting an issue:
====
Hi
I make Upgrade iRedMail from 0.9.2 to 0.9.3.
http://www.iredmail.org/docs/upgrade.ir … database_1
And after restart fail2ban I have error
ConfigParser.ParsingError: File contains parsing errors: /etc/fail2ban/filter.d/postfix.iredmail.conf
[line 10]: 'need fully-qualified hostname\n'
file postfix.iredmail.conf
[Definition]
failregex = \[<HOST>\]: SASL (PLAIN|LOGIN) authentication failed
lost connection after AUTH from (.*)\[<HOST>\]
reject: RCPT from (.*)\[<HOST>\]: 550 5.1.1
reject: RCPT from (.*)\[<HOST>\]: 450 4.7.1
reject: RCPT from (.*)\[<HOST>\]: 554 5.7.1
reject: RCPT from (.*)\[<HOST>\]: 504 5.5.2 (.*) Helo command rejected:
reject: RCPT from (.*)\[<HOST>\]:([0-9]{4,5}:)? 550
#need fully-qualified hostname
ignoreregex =
after coment #need fully-qualified hostname
fail2ban start without error.
~$ sudo /etc/init.d/fail2ban status
* Status of authentication failure monitor * fail2ban is running
But i have "Status of authentication failure monitor "
how to prevent this error ?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.