Squirrel mail doesn't send read receipt

gabrielmenini

Registered
Jan 12, 2006
3
0
151
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.
 

mdbasco

Member
Mar 6, 2006
7
0
151
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?
 

blweb

Active Member
Oct 1, 2004
41
0
156
I'm having the same issue as well, funny thing is if you access webmail via https it seems to work perfectly.

mdbasco said:
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?
 

jalmberg

Registered
May 23, 2006
1
0
151
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
 

TechGuy

Well-Known Member
Nov 29, 2001
62
0
306
Have your user turn off any Internet accelerators -- Google Accelerator was causing the problem for us.
 

nasid

Member
May 31, 2004
9
0
151
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'.
 

radaideht

Registered
Oct 14, 2004
4
0
151
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
 

marius

Well-Known Member
PartnerNOC
Jun 10, 2002
157
0
316
Bucharest
the problem is not when u send yourself mails.
clients reported the problem. they receive mails from other persons/servers.
 

dooh

Member
Jul 19, 2006
6
0
151
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.
 

Somethingblue

Member
Sep 28, 2005
16
0
151
nasid said:
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'.
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
 
Last edited:

acenetryan

Well-Known Member
PartnerNOC
Aug 21, 2005
197
1
168
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.
 
Last edited: