1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Problems with attachments in Horde in Plesk 7.3

Discussion in 'Plesk for Linux - 8.x and Older' started by ncc@sgcom.com.s, May 14, 2005.

  1. ncc@sgcom.com.s

    ncc@sgcom.com.s Basic Pleskian

    23
    57%
    Joined:
    Mar 25, 2004
    Messages:
    44
    Likes Received:
    0
    This problem occurs in FC1 in Plesk 7.53 with Horde webmail.

    When we send out emails without attachments, it was successful. However, it failed to send out with any composed mail with attachment.

    When we attached an attachment of size less than 2MB, there is no problem.

    When we send out the email with the attachment, we encountered that the "Page cannot be displayed."

    is there any setting that needed to be corrected?

    Ng Cher Choon
     
  2. Starwing

    Starwing Guest

    0
     
    I have had that problem with Horde in 7.5.2 Reloaded. What I did is to change in my php.ini setting

    upload_max_filesize = number of bytes

    The default was 2MB. Hope this helps.
     
  3. ncc@sgcom.com.s

    ncc@sgcom.com.s Basic Pleskian

    23
    57%
    Joined:
    Mar 25, 2004
    Messages:
    44
    Likes Received:
    0
    Well, I did that changes in pho.ini before I posted up this forum. But it just did not help. Anyway, the attachment is only 1MB and it fails. I am running on the ioncube too.

    Small attachments seem to work wonderfully.
     
  4. its_genetic

    its_genetic Guest

    0
     
    im with you on this one. i still cant find a solution that sets the master variable for upload_max_filesize
     
  5. aaargh

    aaargh Guest

    0
     
    here the same problem:

    plesk 7.5.3 @ FC1, mail attachement > 1MB fails.

    in /etc/php.ini:
    upload_max_filesize = 8M

    anyone with a workaround, and willing to share this info with us ? :)

    Regards,

    Maurice
     
  6. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Along with the upload_max_filesize, you may want to consider bumping the following values:

    /etc/httpd/conf.d/php.conf
    <Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    # max attachment size: 512 kbytes
    LimitRequestBody 524288
    </Files>
    (by default, these lines are not in the file, you must add them! Change the value to BIGGER. Had to do this since Plesk 6 and when I used to sell web appliances... :( )

    /etc/php.ini
    post_max_size = 20M
    upload_max_filesize = 20M
    memory_limit = -1

    (I am lazy, so I set both these values to the same) Setting memory_limit to -1 or to a really big value may also help out. There are posts elsewhere which indicate if it's too small (like 16K default) that IMP will misbehave and attachments fail. I think I set it to 32M or 64M (must be larger than post_max_size and upload_max_size)

    See if that helps, too tired to think of any other things I change by habit...
     
  7. potato

    potato Guest

    0
     
    fixed the file attached problem. now download attached problem??

    Thks very much james your advice worked perfect for me. I just changed the php.ini file setting and reboot and worked great with file attachement now.

    however, when I tried to download the attachement >1M received from another person, I had problem in downloading it.


    did u have any experience in fixing this?

    thx.
    :confused:
     
  8. jamesyeeoc

    jamesyeeoc Guest

    0
     
    You may want to check Outlook's (or whatever mail client) timeout value setting. Also try increasing the php.ini 'max_execution_time' value.

    If neither of those help, please provide more details and any specific errors from the mail client and server logs.

    /usr/local/psa/var/log/maillog
    /var/log/messages
     
  9. potato

    potato Guest

    0
     
    *I was using horde webmail.
    *Received an email with attachement 1.6M.
    *I clicked on the download icon, it did allow me to download but the file downloaded and saved was 0 bytes?

    Will look into the log and get back to u...

    thx.
     
  10. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Hmm, that is strange. So it showed the download progress and then ended up as a 0 byte file.

    Do you have the Windows Firewall enabled? I seem to recall some other posts where it was suspected as a cause of transfer problems.
     
  11. Starwing

    Starwing Guest

    0
     
    Encountered the same problem. Increasing the memory size solved my problem. Maybe you can try.
     
Loading...