Hello,

I'm trying to make Sqwebmail 2.1.1 under WN 2.4.0. 
I've got problem sending messages. When I post filled new message form 
I get the form back with "Unable to send message" error. But the mail is
actually sent. When I run Sqwebmail under Apache this works with no
problem; the mail is sent and I get Folder listing page.

The Sqwebmail is binary CGI program so obviously the problem is in
interaction between Sqwebmail and WN.

I would appreciate any help or suggestions concerning this problem. 
I like the WN design but otherwise I would have to use Apache.

Here is comparison of WN and Apache logs showing what's happening. These
are logs of following identical Sqwebmail actions under Wn and Apache:
login; compose new message; send message; logout

Is it possible to learn something from the logs what's happening (or
what's not happening)? I don't understand C code so I can't look into
sources and analyse what is the cgi doing, so I have to ask here.
How does sqwebmail know that the message was successfully sent?

Thanks in advance.

WN:

Login:
tverp - - [17/Jul/2001:23:35:44 +0200] "POST /cgi-bin/sqwebmail HTTP/1.0" 200 0 
<(5508/1) Sent redirection: 
http://tverp/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=folders><Lynx/2.8.3rel.1
 libwww-FM/2.14> <> <> <>
tverp - - [17/Jul/2001:23:35:44 +0200] "CGI redirect to 
http://tverp/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=folders";
 302 699 <(5508/1) Sent redirection: 
http://tverp/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=folders><Lynx/2.8.3rel.1
 libwww-FM/2.14> <> <> <>
tverp - - [17/Jul/2001:23:35:45 +0200] "GET 
/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=folders
 HTTP/1.0" 200 10544 <(5512/1) Sent CGI output: 
/var/www/cgi-bin/sqwebmail><Lynx/2.8.3rel.1 libwww-FM/2.14> <> <> <>
Compose new message:
tverp - - [17/Jul/2001:23:35:47 +0200] "GET 
/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&newmsg=1&form=newmsg
 HTTP/1.0" 200 6134 <(5515/1) Sent CGI output: 
/var/www/cgi-bin/sqwebmail><Lynx/2.8.3rel.1 libwww-FM/2.14> <> <> <>
Send message:
tverp - - [17/Jul/2001:23:36:05 +0200] "POST 
/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744 
HTTP/1.0" 200 0 <(5518/1) Sent redirection: 
http://tverp/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=newmsg&pos=&draft=995405765.5520.tverp&foldermsg=Unable+to+send+message.%0A><Lynx/2.8.3rel.1
 libwww-FM/2.14> <> <> <>
Unable to send message:
tverp - - [17/Jul/2001:23:36:05 +0200] "CGI redirect to 
http://tverp/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=newmsg&pos=&draft=995405765.5520.tverp&foldermsg=Unable+to+send+message.%0A";
 302 903 <(5518/1) Sent redirection: 
http://tverp/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=newmsg&pos=&draft=995405765.5520.tverp&foldermsg=Unable+to+send+message.%0A><Lynx/2.8.3rel.1
 libwww-FM/2.14> <> <> <>
tverp - - [17/Jul/2001:23:36:07 +0200] "GET 
/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=newmsg&pos=&draft=995405765.5520.tverp&foldermsg=Unable+to+send+message.%0A
 HTTP/1.0" 200 6291 <(5524/1) Sent CGI output: 
/var/www/cgi-bin/sqwebmail><Lynx/2.8.3rel.1 libwww-FM/2.14> <> <> <>
Logout:
tverp - - [17/Jul/2001:23:36:10 +0200] "GET 
/cgi-bin/sqwebmail/login/dj.authshadow/2C1692E5421D9F24054FB74DD34F1E1C/995405744?folder=INBOX&form=logout
 HTTP/1.0" 200 0 <(5527/1) Sent redirection: 
http://tverp/cgi-bin/sqwebmail><Lynx/2.8.3rel.1 libwww-FM/2.14> <> <> <>
tverp - - [17/Jul/2001:23:36:10 +0200] "CGI redirect to 
http://tverp/cgi-bin/sqwebmail"; 302 432 <(5527/1) Sent redirection: 
http://tverp/cgi-bin/sqwebmail><Lynx/2.8.3rel.1 libwww-FM/2.14> <> <> <>


Apache:

Login:
127.0.0.1 - - [17/Jul/2001:23:19:00 +0200] "POST /cgi-bin/sqwebmail HTTP/1.0" 302 303
Compose new message:
127.0.0.1 - - [17/Jul/2001:23:19:03 +0200] "GET 
/cgi-bin/sqwebmail/login/dj.authshadow/5DD40BBBDFD75877BB641AED763A264D/995404740?folder=INBOX&newmsg=1&form=newmsg
 HTTP/1.0" 200 5904
Send message:
127.0.0.1 - - [17/Jul/2001:23:19:19 +0200] "POST 
/cgi-bin/sqwebmail/login/dj.authshadow/5DD40BBBDFD75877BB641AED763A264D/995404740 
HTTP/1.0" 302 303
Foldeer listing (message sent):
127.0.0.1 - - [17/Jul/2001:23:19:20 +0200] "GET 
/cgi-bin/sqwebmail/login/dj.authshadow/5DD40BBBDFD75877BB641AED763A264D/995404740?folder=INBOX&form=folders
 HTTP/1.0" 200 10314
Logout:
127.0.0.1 - - [17/Jul/2001:23:19:24 +0200] "GET 
/cgi-bin/sqwebmail/login/dj.authshadow/5DD40BBBDFD75877BB641AED763A264D/995404740?folder=INBOX&form=logout
 HTTP/1.0" 302 210
-- 
________________________________________________________________________________

                                                 e-mail: [EMAIL PROTECTED]
    Dusan Jiricny                                      fax: (+420 2) 24 91 35 40
                                            Czech Technical University in Prague

Reply via email to