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.

Squirrel mail doesn't send read receipt

Discussion in 'E-mail Discussions' started by gabrielmenini, Jan 12, 2006.

  1. gabrielmenini

    gabrielmenini Registered

    Joined:
    Jan 12, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montevideo, URUGUAY
    Hello, there!

    Users can't send Read Receipt from SquirrelMail.

    They report the following error:

    Code:
    Internal Server Error
    
          Unable to open engine binary (php) at cpsrvd.pl line 3681
    	main::phpHandler() called at cpsrvd.pl line 2734
    	main::dodoc_webmaild() called at cpsrvd.pl line 518
    	main::dodoc() called at cpsrvd.pl line 429
    
          
    
    cpsrvd/10.6.1 Server at www.my-domain.org
    Seems to be a CPanel error... I've reported the error to SquirrelMail users list and they suggested to ask CPanel :)

    T.I.A.
     
  2. mdbasco

    mdbasco Member

    Joined:
    Mar 6, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I've got the same error on a fresh install. I tried creating another account - it does the same thing.

    Internal Server Error

    Unable to open engine binary (php) at cpsrvd.pl line 3682
    main::phpHandler() called at cpsrvd.pl line 2735
    main::dodoc_webmaild() called at cpsrvd.pl line 518
    main::dodoc() called at cpsrvd.pl line 429

    Any ideas?
     
  3. blweb

    blweb Active Member

    Joined:
    Oct 1, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    I'm having the same issue as well, funny thing is if you access webmail via https it seems to work perfectly.

     
  4. gabrielmenini

    gabrielmenini Registered

    Joined:
    Jan 12, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montevideo, URUGUAY
    blweb,

    I use the webmail in SSL but the problem persists....
     
  5. TechGuy

    TechGuy Well-Known Member

    Joined:
    Nov 29, 2001
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Anyone find a solution for this?
     
  6. gabrielmenini

    gabrielmenini Registered

    Joined:
    Jan 12, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montevideo, URUGUAY
    Apparently CPanel guys haven't solved this issue yet... :confused:
     
  7. jalmberg

    jalmberg Registered

    Joined:
    May 23, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Same problem... more details

    My client is having the same problem. When he logs in, he gets the error message. This is using either IE or Firefox.

    The odd thing is, I can log in using his username/password from my computer (Linux/Firefox), without problem.

    I'm new to these forums... does CPanel tech support participate? Or are they just for users, trying to sort out their own problems?

    -- John
     
  8. TechGuy

    TechGuy Well-Known Member

    Joined:
    Nov 29, 2001
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    6
    Have your user turn off any Internet accelerators -- Google Accelerator was causing the problem for us.
     
  9. nasid

    nasid Member

    Joined:
    May 31, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    This was occurring as a result of an improperly formed URL query string in squirrelmail's code.

    The string in questions was being built as 'read_body.php&sendreceipt' rather than 'read_body.php?sendreceipt'.
     
  10. marius

    marius Well-Known Member
    PartnerNOC

    Joined:
    Jun 10, 2002
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bucharest
    So after all, whats the fix for this error?
     
  11. radaideht

    radaideht Registered

    Joined:
    Oct 14, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    don't email urself from the same email address u use for recieving forward emails from yourwebsite.com

    I had that problem though ... and it works perfectly now
     
  12. marius

    marius Well-Known Member
    PartnerNOC

    Joined:
    Jun 10, 2002
    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bucharest
    the problem is not when u send yourself mails.
    clients reported the problem. they receive mails from other persons/servers.
     
  13. dooh

    dooh Registered

    Joined:
    Jul 19, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    php-cli

    Hello,

    After doing some research about the squirrelmail send+receive internal error, i figured out (i hope) that it needs the command line interface (CLI), which isn't included in cpanel apache/php options. However, if anyone can reproduce the error on a normal php install and on a CLI one to see if the error persists.

    Thanks.
     
  14. Somethingblue

    Somethingblue Member

    Joined:
    Sep 28, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Does anyone have some further insight into this, such as what file(s) need to be editted and how they need to be editted to resolve this?

    I'm having the same problem with read receipts on one of our servers:

    Internal Server Error

    Unable to open engine binary (php) at cpsrvd.pl line 3792
    main::phpHandler() called at cpsrvd.pl line 2843
    main::dodoc_webmaild() called at cpsrvd.pl line 527
    main::dodoc() called at cpsrvd.pl line 438

    I think I found it in read_body.php

    I changed

    $mdn_url = $PHP_SELF . '&sendreceipt=1';

    to

    $mdn_url = $PHP_SELF . '?sendreceipt=1';

    and am now receiving

    ERROR: Could not complete request.
    Query: SELECT ""
    Reason Given: SELECT failed: Can't open mailbox : no such mailbox
     
    #14 Somethingblue, Jul 21, 2006
    Last edited: Jul 21, 2006
  15. acenetryan

    acenetryan Well-Known Member
    PartnerNOC

    Joined:
    Aug 21, 2005
    Messages:
    197
    Likes Received:
    1
    Trophy Points:
    18
    pico +447 /usr/local/cpanel/base/3rdparty/squirrelmail/src/read_body.php

    Change it from:

    Code:
      $mdn_url = $PHP_SELF . '&sendreceipt=1';
    
    to this instead:

    Code:
      $mdn_url = $PHP_SELF . "?sendreceipt=&mailbox=$mailbox&passed_id=$passed_id";
    
    The mailbox variable needs to be passed to tell it where to return to after sending the receipt. I tried it first with just the mailbox variable added in and it threw another error. I assume it needs to have the ID to know which message to return to.

    This fixed it for me. Hope it helps.

    EDIT:

    I just notice that my post was not enclosed in the code brackets. Somehow there was a space between $passed_ and id"; Please note that there is not supposed to be a space.
     
    #15 acenetryan, Jul 21, 2006
    Last edited: Aug 8, 2006
Loading...

Share This Page