We decided after much time trying to solve the problem that we would just reload the server. It has been working for the last month or so and again we have been training the spam filter. Today i noticed that the spam and anti virus services were showing as not running (an x beside them under server status). I restarted the zimbra services (zmcontrol stop; zmcontrol start) and now it is again giving the the "RCPT TO:" "Lost connection" and everything is getting deferred.
I thought an upgrade to 5.06 GA would help but the issue is the same.
I also tried adding:
Code:
LD_LIBRARY_PATH=/opt/zimbra/lib/:/opt/zimbra/openssl/lib/:$LD_LIBRARY_PATH
to zmamavisdctl as suggest by the post of Franck but still no luck - all messages being deferred.