Sice 7 days ago, my zimbra server stop to work in the mornings, the zimbra.log shows the following message:
Oct 19 07:41:07 myserver_hostnamel postfix/qmgr: E7AE0121E00: to=<email@example.com>, relay=none, delay=20516, status=deferred (delivery temporarily suspended: conversation with 127.0.0.1[127.0.0.1] timed out while sending end of data -- message may be sent more than once)
The only way to get it work was disabling the anti-virus and anti-spam functions. After few days trying to resolve problem, viewing logs, server load, etc. i have found that the problem was the zmtrainsa script that run every day at 23:00. The logs was showing constantly the following errors:
ds_diction_touch: ds_diction_term_create() failed: Cannot allocate memory
ds_diction_term_create: calloc() failed: Cannot allocate memory
The spamtraing.log was 10 GiB size. I killed the processes, enabled the anti-spam and anti-virus functions and restar zimbra services and works OK.
I think that the problem is lack off RAM, but when i got this error my server had 4 Gib of RAM , in the moment that the problem happened was 400Mb free. Any suggestion??