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

attachment problem with web-based mail

Discussion in 'Plesk for Linux - 8.x and Older' started by kemhosting, May 20, 2005.

  1. kemhosting

    kemhosting Guest

    0
     
    First up, some stats on the box:
    Redhat ES3
    httpd-2.0.46-44.ent
    courier-imap-3.0.8-rhel3.build75050130.17
    php-imap-4.3.9-11.rhel3.art
    php-4.3.9-11.rhel3.art
    psa-courier-imap-add-7.5.2-rhel3.build75050130.17
    psa-7.5.2-rhel3.build75050130.17


    After I've attached any size/type of file in Horde/Squirrelmail and try to send the email, the window sits there and 'thinks' for several minutes. Finally, it then displays this error:

    Horde:
    ..and in the horde.log:
    Squirrelmail:
    just sits and spins indefinitely...or at least for 10-15 minutes..no errors...


    On the other side, when I try to open attachments, I get this error:

    Horde:
    (when opening via text link)
    when I click the disk icon to download the file, it downloads as the right name and extension, but it really is a text file with this error:

    Squirrelmail:
    (when opening via text link)
    when I click the "Download" link:
    has anyone experienced anything like this? my clients are really upset about this huge limitation (obviously) and I''m hitting a brick wall with my debugging attempts.
     
  2. wulfy@

    wulfy@ Guest

    0
     
    I have an almost identical setup with the same issue.

    I've had SWsoft in troubleshooting it.

    They claimed:

    Their last statement not true. Problem either was never fixed or never went away.
     
  3. techwide

    techwide New Pleskian

    22
    73%
    Joined:
    Sep 12, 2003
    Messages:
    24
    Likes Received:
    0
    Have you guys fixed the problem?

    I am having the same problem that I cannot download attachments on both Horde and SquirrelMail.

    I think the problem is with Courier-IMAP but I cannot find a solution.

    I don't know what to do...

    :(
     
  4. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Just out of curiosity (since it's not listed in the original post), what version of php-pear are you running?

    If you have 'php-imap-4.3.9-11.rhel3.art' then you should also have 'php-pear-4.3.9-11.rhel3.art'

    Apparently the error:

    <br />
    <b>Notice</b>: (null)(): [CLOSED] IMAP connection broken (server response) (errflg=2) in <b>Unknown</b> on line <b>0</b><br />

    can be caused by a number of things (Google it), and line 931 of compose.php is the end of a loop and looks to be reporting PEAR_error on a failure.
     
  5. techwide

    techwide New Pleskian

    22
    73%
    Joined:
    Sep 12, 2003
    Messages:
    24
    Likes Received:
    0
    I am running php-imap-4.3.2-23.ent but I don't seem to have pear at all.

    Would this be a problem?
     
  6. jamesyeeoc

    jamesyeeoc Guest

    0
     
    Hmm, I can't remember if Pear is an absolute requirement since I have it on all servers (even test servers).

    Just to make sure, run the following:

    rpm -qa |grep 'pear'

    and see if anything is listed. You can always install Pear and see if it resolves the problem.
     
  7. techwide

    techwide New Pleskian

    22
    73%
    Joined:
    Sep 12, 2003
    Messages:
    24
    Likes Received:
    0
    It's not there at all.

    I have a test server with a similar setup which works without pear. So I guess pear is not necessary to run Horde or SquirrelMail.
     
  8. jamesyeeoc

    jamesyeeoc Guest

    0
     
    techwide - sorry, I just realized you were not the original poster. Are your error messages identical to kemhosting's?

    And have you tried even a simple text attachment like just 'Hello' in a text file? You didn't mention the attachment file types you tried, but check your /usr/share/psa-horde/imp/config/mime_drivers.php file and verify there are mime types for those files you tried.

    Have you installed any Horde/IMP addons other than those supplied by Plesk? Many of the google results I found were related to addons causing problems.

    You could also force a re-install of the courier-imap related rpms to make sure any corrupted files get re-written. That's all I can think of at the moment...
     
  9. techwide

    techwide New Pleskian

    22
    73%
    Joined:
    Sep 12, 2003
    Messages:
    24
    Likes Received:
    0
    Yes, I have the same problem as kemhosting but my server is CentOS 3.3. That's why I asked whether the problem was resolved.

    A text attachment is also a problem. It seems any attachments cannot be downloaded using Horde or SquirrelMail.

    I am only using the packages supplied by Plesk, no Horde/IMP addons installed.

    I think I should try to re-install related rpms but a few days ago the problem disappeared and came back again today. Nothing was changed.
     
  10. rthrash@

    rthrash@ Guest

    0
     
    Was there ever any solution for the download issues?

    Horde is just timing out with attachments, even when trying to download them or to download them as a .zip file. Zips come across as file size of 0 bytes, too.

    Sounds like it's pretty universal across multiple server configs pointing to a Horde or Horde-integration issue. My server config is a custom PHP 5.0.4 compile with Plesk 7.5.3 and MySQL 4.1.11 + plus a few 4PSA utilities.
     
  11. jamesyeeoc

    jamesyeeoc Guest

    0
     
    If your Horde framework version is the one issued with Plesk 7.5.3, then you'll probably need to update that to Horde 3.05 (or whatever the latest is). Horde is sensitive to the version of PHP you run on the server.

    I have not specifically checked on Horde 3.05 vs PHP 5.0.x issues, but I do know there are/were some issues with Horde lesser versions and PHP 4.4
     
  12. techwide

    techwide New Pleskian

    22
    73%
    Joined:
    Sep 12, 2003
    Messages:
    24
    Likes Received:
    0
    Problem is not on Horde

    The problem is not on Horde since I am getting the same result from SquirrelMail.

    It seems it's a system related problem as I have setup squirrelmail on a different server which works fine to download attachments from the problemed server.
     
  13. kemhosting

    kemhosting Guest

    0
     
    I upgraded to the latest version of PSA (which updated Horde) and now attachments work both in Horde and Squirrelmail... Some client's still report occasional problems, but I assume that's more a client-side issue...hopefully..

    I really wish I knew WHY the problem arose, but it probably had something to do with me upgrading some package and not another. That's the one thing I really don't like about PSA - you're locked into their RPMs(or the AtomicRocketTurtle ones, which are great btw). With my Debian machine at home I can always stay up to date without hesitation. On my web server I have to investigate each update to make sure it doesn't break Plesk, or wait for Plesk to release their customized version of the package.
    Anyways. I guess my advice would be to simply upgrade PSA as a whole.

    FWIW: I can never get the PSA update tool to work in the web admin tool. I always download the tarred batch of RPMs and do it manually.

    good luck.
    ed
     
Loading...