I have recently installed ZCS 4.0.3 on a Debian/unstable box, and I am having issues with mail flowing when antivirus/antispam is enabled. I did the install, provisioned accounts, and imported the old mailstore from Kolab into Zimbra using imapsync.

Looking at the mail queues, everything showed up in deferred. I have tried flushing the queues, but no change. /var/log/zimbra.log was showing messages similar to

Code:
Oct 31 22:07:49 merrimac amavis[15888]: (15888-06) (!!) TROUBLE in 
check_mail: parts_decode_ext FAILED: Error reading from file(1) utility: Bad file
 descriptor at (eval 51) line 151, <GEN31> line 2.220749-15888A1114D: 
to=<storm@mydomain.com>, relay=127.0.0.1[127.0.0.1], delay=1, 
status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing,
 id=15888-06, parts_decode_ext FAILED: Error reading from file(1) utility: Bad 
file descriptor at (eval 51) line 151, <GEN31> line 2. (in reply to end of DATA 
command))
and

Code:
Nov  7 06:29:08 merrimac amavis[1498]: (01498-02) (!) ESMTP ABORTING: 
Can't write to mail file: Bad file descriptor at (eval 41) line 584, <GEN8> chunk 7.
Nov  7 06:29:08 merrimac amavis[1498]: (01498-02) (!) ESMTP: NOTICE: 
ABORTING the session: Can't write to mail file: Bad file descriptor at (eval 41) 
line 584, <GEN8> chunk 7.
After researching the issue, I thought that the issue was with amavisd and Net::Server, however, the version of amavisd that Zimbra uses is newer than the version that has the issue.

I am hoping that the developers can help me track down the cause of the issues so I can get antispam back online.

Thanks,
--Storm