IMAP problem

I've spent long time to solve a problem that a webmail cannot download attachments or be able to open encoded emails.

The symptom is that it times out and displays following errors.

ERROR:
ERROR: Unknown IMAP response.
Query: FETCH 725 BODY[1]
Server responded:

Body retrieval error. The reason for this is most probably that the message is malformed.
Command: FETCH 725 BODY[1]
Response:
Message:
FETCH line:

ERROR:
ERROR: Connection dropped by IMAP server.
Query: FETCH 725 BODY[]


Both Horde and SquirrelMail are having the same problem. It seems that IMAP (courier-imap) stops responding during the decoding process.

Recently I have found that SquirrelMail on a remote server works fine. It will only fail if the webmail is running in the same server as IMAP.

Has anyone seen this problem?

The server I am using is CentOS 3.3 with Plesk 7.5.3 and has a few active domains but the most time it is 95% idle.

Any suggest or comments would be appreciated.

Thanks.

 

 

 

 

Top