+ Reply to Thread
Results 1 to 5 of 5

Thread: sending email gets stuck with medium sized attachemenets

  1. #1
    x1024 is offline Registered User
    Join Date
    Jan 2008
    Posts
    3
    Downloads
    0
    Uploads
    0

    Smile sending email gets stuck with medium sized attachemenets

    hi, recently i have installed roundcubemail-0.2.2 on my server. previously i was using 0.1.x fine, but since the server reinstalled i was required to reinstall/upgrade the lovely roundcube application.

    unfortunately i am encountering a problem where i can't send medium and large sized attachments, below i am attaching a 2 minutes live video describing the problem. i would really love to hear any suggestions on how to fix this, i have never faced a problem like this before.

    YouTube - Help with roundcube

    Below these formats as attachment cannot be sent:

    ZIP about 500kb+
    RAR about 500kb+

    These formats as attachment could be sent:

    JPG larger than 500kb+
    PNG larger than 500kb+
    GIF larger than 500kb+

  2. #2
    rosali's Avatar
    rosali is offline Super Moderator
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    2,392
    Downloads
    36
    Uploads
    0

    Default

    check ./logs/errors ... most likely it is a php memory limit or a post size restiction issue.
    Regards,
    Rosali

    __________________
    MyRoundcube Project http://myroundcube.googlecode.com
    MyRoundcube Online Demo - Free Email Address http://mail4us.net
    MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube/index.php
    Mailing List http://mail4us.net/?_action=plugin.nabble

  3. #3
    corbosman's Avatar
    corbosman is offline Registered User
    Join Date
    Dec 2008
    Location
    Amsterdam, The Netherlands
    Posts
    235
    Downloads
    1
    Uploads
    0

    Default

    Roundcube seems to use an insane amount of memory for attachments. Ive had to increase our memory limit to 200MB. And we only allow 20MB attachments.

  4. #4
    x1024 is offline Registered User
    Join Date
    Jan 2008
    Posts
    3
    Downloads
    0
    Uploads
    0

    Smile

    Quote Originally Posted by rosali View Post
    check ./logs/errors ... most likely it is a php memory limit or a post size restiction issue.
    thanks for the quick reply, it does seem to be the case. how awkwardly it only happens to compressed files like ZIP and RAR's.

    below is the output in the log, btw how do we increase the allowed memory to be used for Roundcube? i have 1g physical memory on the server.

    -----------------------------------------------


    [11-Jul-2009 00:22:46 +0200] DB Error: _doQuery: [Error message: Could not execute statement]
    [Last executed query: PREPARE mdb2_statement_mysql_13f4dbb9084b087bbca26db6c4d22 39b614ecf590 FROM 'SELECT vars, ip, UNIX_TIMESTAMP(changed) AS changed\n FROM session\n WHERE sess_id=?']
    [Native code: 1146]
    [Native message: Table 'mooo.session' doesn't exist]
    in /home/mooo/sd/mail/www/program/include/rcube_mdb2.php on line 255 (GET /)
    [11-Jul-2009 00:33:08] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1312236 bytes) in /home/mooo/sd/mail/www/program/lib/Mail/mimePart.php on line 317
    [11-Jul-2009 00:44:40 +0200] IMAP Error: Authentication for cyril@xxx.fr failed (LOGIN): "a001 NO Login failed." (POST /?_task=&_action=login)
    [11-Jul-2009 00:46:39] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1312236 bytes) in /home/mooo/sd/mail/www/program/lib/Mail/mimePart.php on line 317

  5. #5
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    Take a look in your php config file for memory_limit or in the .htaccess file in the RC root, changing the .htaccess file doesnt always work, it depends on your setup.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts