The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

webmail hangs on attachments

Discussion in 'E-mail Discussions' started by tomitorm, Oct 3, 2007.

  1. tomitorm

    tomitorm Member

    Joined:
    Mar 11, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. cpane1

    cpane1 Well-Known Member

    Joined:
    Jun 10, 2007
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    what value is setup in the php.ini file, max_file_upload size limit ?
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The WHM interface controls the php.ini for Apache, not for cpservd which handles webmail, cPanel and WHM :).
     
  5. tomitorm

    tomitorm Member

    Joined:
    Mar 11, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    upload_max_filesize = 50M

    Those are all cpanel defaults.
     
  6. cpane1

    cpane1 Well-Known Member

    Joined:
    Jun 10, 2007
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    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...
     
  7. tomitorm

    tomitorm Member

    Joined:
    Mar 11, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Yes /usr/local/cpanel/3rdparty/etc/php.ini is default. limit there is that 50M.
     
  8. tomitorm

    tomitorm Member

    Joined:
    Mar 11, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    it hangs on all attachments. I have tried from 1kb to few M but all the same. Without attachments emails are send ok.
     
  9. cpane1

    cpane1 Well-Known Member

    Joined:
    Jun 10, 2007
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  10. tomitorm

    tomitorm Member

    Joined:
    Mar 11, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  11. cpane1

    cpane1 Well-Known Member

    Joined:
    Jun 10, 2007
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    hummmm......

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

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
  13. tomitorm

    tomitorm Member

    Joined:
    Mar 11, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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:
     
  14. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    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?
     
Loading...

Share This Page