Topic: After SOGO installation fail2ban ERROR (Solved)
======== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.5-1
- Linux/BSD distribution name and version: Debian 8 (jessie)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): v0.6.3 (MySQL)
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? NO
- Related log if you're reporting an issue:
====
Dear all,
At the beginning I installed iRedmail without SOGO and than I followed the steps from here -> http://www.iredmail.org/forum/topic1044 … stall.html
and added export USE_SOGO='YES' to config file and executed bash iRedMail.sh
It has returned with an error. Can't remember what it was but exactly but it was something regarding sogo users I believe.
So now I saw that on my email I got this
/etc/cron.daily/spamassassin:
Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript spamassassin, action "reload" failed.
Than I also checked fail2ban status and the following ERRORS were displayed
root@mail:/home/ziga# service fail2ban status
● fail2ban.service - LSB: Start/stop fail2ban
Loaded: loaded (/etc/init.d/fail2ban)
Active: active (running) since Tue 2016-12-27 16:37:46 CET; 5s ago
Process: 2654 ExecStop=/etc/init.d/fail2ban stop (code=exited, status=0/SUCCESS)
Process: 2703 ExecStart=/etc/init.d/fail2ban start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/fail2ban.service
└─2714 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid
Dec 27 16:37:46 my.domain.com fail2ban.jail[2714]: INFO Jail 'owncloud' started
Dec 27 16:37:46 my.domain.com fail2ban[2703]: Starting authentication failure monitor: fail2ban.
Dec 27 16:37:46 my.domain.com systemd[1]: Started LSB: Start/stop fail2ban.
Dec 27 16:37:46 my.domain.com fail2ban.actions.action[2714]: ERROR iptables -N fail2ban-apache
iptables -A fail2ban-apache -j RETURN
iptables -I INPUT -p tcp -m multiport --dports http,https -j fail2ban-apache...
Dec 27 16:37:46 my.domain.com fail2ban.actions.action[2714]: ERROR iptables -N fail2ban-apache-noscript
iptables -A fail2ban-apache-noscript -j RETURN
iptables -I INPUT -p tcp -m multiport --dports http,https -j fail2ban-apache-noscript...
Dec 27 16:37:46 my.domain.com fail2ban.actions.action[2714]: ERROR iptables -N fail2ban-apache-overflows
iptables -A fail2ban-apache-overflows -j RETURN
iptables -I INPUT -p tcp -m multiport --dports http,https -j fail2ban-apache-overflows...
Dec 27 16:37:46 my.domain.com fail2ban.actions.action[2714]: ERROR iptables -N fail2ban-sshd
iptables -A fail2ban-sshd -j RETURN
iptables -I INPUT -p tcp -m multiport --dports 22 -j fail2ban-sshd...
Dec 27 16:37:46 my.domain.com fail2ban.actions.action[2714]: ERROR iptables -N fail2ban-sshd-ddos
iptables -A fail2ban-sshd-ddos -j RETURN
iptables -I INPUT -p tcp -m multiport --dports 22 -j fail2ban-sshd-ddos...
Dec 27 16:37:46 my.domain.com fail2ban.actions.action[2714]: ERROR iptables -N fail2ban-roundcube
iptables -A fail2ban-roundcube -j RETURN
iptables -I INPUT -p tcp -m multiport --dports http,https,smtp,submission,pop3,pop3s,imap,imaps,sieve -j fail2ban-roundcube...
Dec 27 16:37:47 my.domain.com fail2ban.actions.action[2714]: ERROR iptables -N fail2ban-dovecot
iptables -A fail2ban-dovecot -j RETURN
iptables -I INPUT -p tcp -m multiport --dports http,https,smtp,submission,pop3,pop3s,imap,imaps,sieve -j fail2ban-dovecot...
Dec 27 16:37:47 my.domain.com fail2ban.actions.action[2714]: ERROR iptables -N fail2ban-postfix
iptables -A fail2ban-postfix -j RETURN
iptables -I INPUT -p tcp -m multiport --dports http,https,smtp,submission,pop3,pop3s,imap,imaps,sieve -j fail2ban-postfix...
Hint: Some lines were ellipsized, use -l to show in full.
Does anyone know what could be the problem. Before I try to reinstall the fail2ban service.
Thanks in advance
Z
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.