This is somewhat strange behavior...
I'm using a bit patched (mysql authentication mostly) 2.1.1.

I have a message with attachment in my incoming mailbox. When I
choose `forward', and then `send', the login form appears.

I'm using Lynx Version 2.8.3rel.1 (23 Apr 2000).
Here's what I've found with gdb: (stepping with `next')

1678                    cgi_setup();    /* Read CGI environment */
(gdb)
1679                    if (reset_cookie)
(gdb)
1684                    write_sqconfig(".", TIMESTAMP, "");
(gdb)
1688                    if (!*(sqwebmail_folder=cgi("folder")))
(gdb)
1690                            init_default_locale();
(gdb)
1691                            output_form("expired.html");
(gdb)
1692                            free(pi);
(gdb) p sqwebmail_folder
$1 = 0x80a23fb ""
(gdb) kill segv
Kill the program being debugged? (y or n) y
(gdb)

Looks like sqwebmail doesn't find the `folder' variable. But it
is there. Here's a ScriptLog snipet (see the attacment for the
whole relevant piece):
------------------------------------------------------------------------
Content-type: application/x-www-form-urlencoded;
charset=iso-8859-2
Host: localhost:8015
Pragma: no-cache
User-Agent: Lynx/2.8.3rel.1 libwww-FM/2.14

folder=INBOX&form=donewmsg&pos=1&focusto=text&msgtoken=[etc, etc...]
-------------------------------------------------------------------------

Here's my ./configure line:

CFLAGS="-g" ./configure \
        --with-authmysql \
        --with-mysql-libs=/usr/lib \
        --without-authpwd    --without-authshadow --without-authpam \
        --without-authuserdb --without-authvchkpw --without-authldap \
        --without-authdaemon \
        --with-defaultlang=pl-pl \
        --enable-cgibindir=/usr/lib/cgi-bin \
        --enable-imagedir=/var/www/sqw-images \
        --enable-imageurl=http://mail1.expro.pl/sqw-images/ \
        --enable-unicode \
        --with-maxargsize=1269760 \
        --with-maxformargsize=52428800 \
        --with-maxmsgsize=52428800 \
        --enable-hardtimeout=86400 \
        --enable-softtimeout=18000

thanks in advance for any clue...

Marcin
-- 
Marcin Owsiany
[EMAIL PROTECTED]
%response
%% [Mon Jul 16 13:31:41 2001] POST 
[EMAIL PROTECTED]/5A9E23AE1052A475D82F32A67A9DF495/995282204
 HTTP/1.0
%% 500 /usr/lib/cgi-bin/sqwebmail-debug-orig
%request
Accept: text/html, text/plain, application/x-troff-man, application/x-debian-package, 
audio/basic, application/x-tar, application/x-gtar, text/*, text/*, text/*, */*, 
text/sgml, */*;q=0.01
Accept-Charset: preferred_charset, iso-8859-1;q=0.01, us-ascii;q=0.01
Accept-Encoding: gzip, compress
Accept-Language: PREFERRED_LANGUAGE
Cache-Control: no-cache
Content-length: 1259
Content-type: application/x-www-form-urlencoded; charset=iso-8859-2
Host: localhost:8015
Pragma: no-cache
User-Agent: Lynx/2.8.3rel.1 libwww-FM/2.14

folder=INBOX&form=donewmsg&pos=1&focusto=text&msgtoken=995282993-15708&headerfrom=&[EMAIL PROTECTED]&headercc=&headerbcc=&headerreply-to=&headersubject=zal+%28fwd%29&[EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED]%0d%0a---------------------------------&draftmessage=995282993.15708.mail1&fcc=on&sendmsg=Wyslij
%response

Reply via email to