1

Topic: iRedMail crash when I try to sync mail client + spamassassin cron err

============ Required information ====
- iRedMail version : 0.9.2
- Linux/BSD distribution name and version: Debian GNU/Linux 8.2 (jessie) 64bit
- Store mail accounts in which backend: MySQL
- Web server : Nginx
- Manage mail accounts with iRedAdmin-Pro? NO
====

Hi everyone, before all I want to thanks everyone who worked on this project for your contribution.

I have installed 3 times in my life, first time it was on a ubuntu 14.04.
I had this problem which crash completely somes services when I try to connect into any webmail using a mail client like thunderbird, mail (mac), ...

It happen only the first time when I try a new sync.
Crash happen before unsigned certificate validation is requested by the client.
After the crash, I can't access any of these services :

So I reinstalled everything to the latest iRedMail version on a fresh debian install, and the problem is still here.
It might be present in the default iRedMail package, and this is very annoying, since there are no error log at all, and it means every user who has a mail account can crash the server.

I also have this cron record that looks unusual :

/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.

My first reaction for solving this bug was to completly restart the server when I saw this happen.

I have a new solution, which is restarting the firewall using a init script in /etc/init.d/firewall

Everytime I see my mail server is crash, I have to run

$ sudo /etc/init.d/firewall restart

This is really annoying, now I have just a few user but the criticity of my mail server is very important.
I need a stable solution, I was surprised that I was the only one to have this problem, especially with a few installations on  different OS.

Can you guys help me find the issue ?
Or do you know any other mail server package known as stable ?

Thanks to all in advance.

----

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

2

Re: iRedMail crash when I try to sync mail client + spamassassin cron err

Looks like caused by password failures and triggered Fail2ban. You can try to disable fail2ban service first, then track whether it happens again.

3

Re: iRedMail crash when I try to sync mail client + spamassassin cron err

Hi ZhangHuangBin,

Thanks for your advice, you might be right on this.
I know exactly how to crash the server :

- create a new mailbox
- sync it once

Do you know where should I track the error ?

4

Re: iRedMail crash when I try to sync mail client + spamassassin cron err

How do you "sync" it?