Topic: fail2ban, logrotate and IRedMail default conflict
======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 14.04 LTS
- Related log if you're reporting an issue:
====
I'm doing final tests and adjustments before final migration to iRedMail and found that by default IRedMail install sets
-> export FAIL2BAN_LOGTARGET='SYSLOG' on ~/iRedMail-0.8.7/conf/fail2ban
so,
-> /etc/fail2ban/fail2ban.conf has "logtarget = SYSLOG",
but in logrotate,
-> /etc/logrotate.d/fail2ban on the postrotate the logtarget is set to /var/log/fail2ban.log
Please, could someone tell me what could be the the consequences after the first logrotate run?
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.