[Perlwebmail-devel] Troubleshooting
Richard Roberts
PerlWebmail@cardorealm.com
Fri, 05 Jul 2002 18:49:17 +0100
Thanks for the help, here are the results.
I've noticed the problem with the images path, and I've fixed that.
./webmail.pl
[cardorealm:/Library/WebServer/CGI-Executables] cardo% ./webmail.pl
(offline mode: enter name=value pairs on standard input)
./webmail.pl username=user password=pass action=listmessages
[cardorealm:/Library/WebServer/CGI-Executables] cardo% ./webmail.pl
username=cardo password=censored action=listmessages
Set-Cookie:
www.cardorealm.com=cardo%20WebMailEncrypt%3A52624e646f6d4956f765ce17654871ae
8837197ef2882dfd; domain=www.cardorealm.com; path=/cgi-bin
Expires: Wed, 03 Jul 2002 13:53:58 GMT
Date: Wed, 03 Jul 2002 13:53:58 GMT
Charset: ISO-8859-1
Pragma: no-cache
Cache-control: no-cache
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>cardorealm.com - Webmail</title></head><body
bgcolor="#ffffff" text="#000000">
<table bgcolor="#ffffff" border=0 cellspacing="0" cellpadding="0"
align="left" width="100%">
<tr><td colspan="1" align="left" valign="top">
<table bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0"
width="100%"><tr><td align="right" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="100%"
bgcolor="#ffffff">
<tr><td align="center">
<form action="/cgi-bin/webmail.pl" method="post">
<input type="hidden" name="action" value="createmessage">
<input type="image" src="http://www.cardorealm.com/images//compose.png"
alt="New Message"><br>
<font face="Arial,Helvetica" size="2" color="#5a7d9b">New
Message</font></form></td></tr>
<tr><td align="center">
<form action="/cgi-bin/webmail.pl" method="post">
<input type="hidden" name="action" value="listmessages">
<input type="image" src="http://www.cardorealm.com/images//mailbox.png"
alt="Back to Mailbox<BR>Or Refresh"><br>
<font face="Arial,Helvetica" size="2" color="#5a7d9b">Back to Mailbox<BR>Or
Refresh</font></form></td></tr>
<tr><td align="center">
<form action="/cgi-bin/webmail.pl" method="post">
<input type="hidden" name="action" value="deleteallconfirm">
<input type="image" src="http://www.cardorealm.com/images//trash.png"
alt="Delete All"><br>
<font face="Arial,Helvetica" size="2" color="#5a7d9b">Delete
All</font></form></td></tr>
<tr><td align="center">
<form action="/cgi-bin/webmail.pl" method="post">
<input type="hidden" name="action" value="logout">
<input type="image" src="http://www.cardorealm.com/images//logout.png"
alt="Logout"><br>
<font face="Arial,Helvetica" size="2"
color="#5a7d9b">Logout</font></form></td></tr>
</table></td><td valign="top" align="right">
</td><td colspan="3" align="right" valign="top">
<form action="/cgi-bin/webmail.pl" method="POST">
<input type="hidden" name="action" value="deletemessage">
<table bgcolor="#5a7d9b" border="0" cellspacing="2" cellpadding="2"
align="center" width="100%">
<tr bgcolor="#ffffff">
<td colspan=5 bgcolor="#5a7d9b" align="left"><font color="#ffffff" size="3"
face="Arial,Helvetica">
[Wednesday July 3 2002,
02:53PM] Current Mail Messages for
<b>cardo@cardorealm.com</b></font></td></tr>
<tr bgcolor="#cccccc">
<td><a href="/cgi-bin/webmail.pl?action=listmessages&sort=from">
<font size="3" face="Arial,Helvetica"><b>From</b></font></a></td>
<td><a href="/cgi-bin/webmail.pl?action=listmessages&sort=subject">
<font size="3" face="Arial,Helvetica"><b>Subject</b></font></a></td>
<td><a href="/cgi-bin/webmail.pl?action=listmessages&sort=date">
<font size="3" face="Arial,Helvetica"><b>Date</b></font></a>
</td>
<td><a href="/cgi-bin/webmail.pl?action=listmessages&sort=size">
<font size="3" face="Arial,Helvetica"><b>Size</b></font></a></td>
<td><font size="2" face="Arial,Helvetica"><b>Delete</b></font></td></tr>
<tr bgcolor="#cccccc">
<td><font size="2"
face="Arial,Helvetica"><b>From</b></font></td>
<td><font size="2"
face="Arial,Helvetica"><b>Subject</b></font></td>
<td><font size="2"
face="Arial,Helvetica"><b>Date &nbs
p; </b></font></td>
<td><font size="2"
face="Arial,Helvetica"><b>Size</b></font></td>
<td><font size="2" face="Arial,Helvetica"><input
type="image" src="http://www.cardorealm.com/images//delete.png"
alt="Delete"></font></td>
</tr></table></form></td><td></td><td></td></tr></table></td></tr>
</table></body></html>
On 03/07/2002 15:45, "woodwardj@jaos.org" <woodwardj@jaos.org> wrote:
> Hi Rich,
>
>> I just updated, reinstalled more like it, PerlWebmail on my server. I=B9ve
>> gone from 2.3.12 to 2.4.0. But I now have the following problem when
>> attempting to access webmail.
>>
>> In the browser, I see an internal server error, and in the error log, the
>> following appears:
>>
>> [Wed Jul 3 12:45:59 2002] [error] [client 10.0.1.100] malformed header fro=
>> m
>> script. Bad header=3Dbootstrap_look_up() failed (ip:
>> /Library/WebServer/CGI-Executables/webmail.pl
>
> Run it from the command line like
>
> ./webmail.pl
>
> and
>
> ./webmail.pl
> 'username={YOURUSERNAMEHERE}&password={YOURPASSWORDHERE}&action=listmessages'
>
> Shove the results in an email back to the list.
>
> take care,
> jason
>
> _______________________________________________
> Perlwebmail-devel mailing list
> Perlwebmail-devel@opensource.jaos.org
> http://opensource.jaos.org/cgi-bin/mailman/listinfo/perlwebmail-devel
>