webmail hangs on attachments

tomitorm

Member
Mar 11, 2005
6
0
151
I'm having a problem with webmail (squirrel + horde). Both just hangs when i try send mail with attachment. Problems started when i converted mbox to maildir. Cant get much of errors out of it, cpanel error log, maillog, exim_main dont show any errors. It just hangs and wont timeout. I have tried upgrading to latest stable and release. did run fullhordereset but still same.
 

cpane1

Well-Known Member
Jun 10, 2007
56
0
156
what value is setup in the php.ini file, max_file_upload size limit ?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
what value is setup in the php.ini file, max_file_upload size limit ?
Remember that it's the php.ini for cpservd, not the php.ini for Apache that you need to be concerned about when it comes to webmail.

The php.ini for cpservd is stored in /usr/local/cpanel/3rdparty/etc/php.ini
 

cpane1

Well-Known Member
Jun 10, 2007
56
0
156
well those are not....

the default value is 2MB....

is your attachment file above 50 MB ?

if so increase the value of the upload_max_filesize = as per your requirement...
(it is always recommended not to increased this value above 10MB)

if you increase this value then also increase the value for the memory limit in the php.ini file..



see if that helps...
 

tomitorm

Member
Mar 11, 2005
6
0
151
it hangs on all attachments. I have tried from 1kb to few M but all the same. Without attachments emails are send ok.
 

cpane1

Well-Known Member
Jun 10, 2007
56
0
156
if you increase this value then also increase the value for the memory limit in the php.ini file..
Please notice that memory_limit should be four times more than
upload_max_filesize
 

tomitorm

Member
Mar 11, 2005
6
0
151
I have increased both.. This happens on small attachments too not just big ones. hmm now i got timeout answer from IMAP server. Query: LOGOUT. Using squirrel now. Could it be that IMAP server somehow hangs on attachments? Where can i get some debug out there?
 

cpane1

Well-Known Member
Jun 10, 2007
56
0
156
hummmm......

I guess the guru "cPanelDavidG" can flash some light on this... :)
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
I have increased both.. This happens on small attachments too not just big ones. hmm now i got timeout answer from IMAP server. Query: LOGOUT. Using squirrel now. Could it be that IMAP server somehow hangs on attachments? Where can i get some debug out there?
I know myself sometimes sending large attachments (~1MB) can lag, but that's mostly because of the data transfer involved. It can take sometimes 2 minutes to send a megabyte of email. However, if you are on a good connection and things are checking out alright and you're hanging for 5-10 minutes getting nowhere, perhaps you may want to submit a ticket with your licensing provider and have someone look at it.

EDIT: Note that by default PHP will timeout after 5 minutes, but generally it displays a timeout errror.
 

tomitorm

Member
Mar 11, 2005
6
0
151
Think its some IMAP related problem.. When i try to open an old attachment from webmail i get this error

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

silversurfer

Well-Known Member
Dec 29, 2002
274
0
168
I am seeing this issue.

When I open a .doc, it just shows this:

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


Same for either open directly or save to file and then opening. File is only 150KB.

Anyone can help?