[imp] HEAD: Reply from any but INBOX not working

Marcus I. Ryan marcus@riboflavin.net
Wed, 27 Feb 2002 09:49:41 -0600


Okay...I've found the problem - or at least, I've found a problem that I
fixed and it started working again.  I'll let those more intimate with
the code decide the proper place to fix it.

lib/IMP.php line 277 (I think...I may be off a line or two of whitespace
due to various echo checks added and removed).

At any rate, the line
$mailbox = Horde::getFormData('thismailbox', $imp['mailbox']);
returns a url-encoded mailbox, e.g. .imap%2FHorde-INBOX, not
.imap/Horde-INBOX as imap_open expects.  When the imap_open call is
made, it seems it ignores the urlEncoded mailbox name and automatically
opens the INBOX thus leaving $imp['stream'] as a stream to the inbox,
NOT the current mailbox.  When you go to reply, that's a problem. I put
a urlDecode call around that line and it now works fine.  I have not
tested this to ANY real degree other than  now when I reply to a message
everything works fine.

Quoting Jan Kuipers <jrkuipers@lauwerscollege.nl>:

> Citeren Jan Schneider <jan@horde.org>:
> 
> > > > Warning: Bad message number in
> /usr/local/www/horde/imp/compose.php on
> > > > line 499
> > > 
> > > I can't reproduce this. Anyone else?
> 
> Same here.
> 
> Strange thing is that it only occurs with NN-4.7x, Mozilla 0.9.8 and
> Opera 
> 6.0x! 
> IE-5.x or > works fine! 
> 
> -- 
> Jan Kuipers
> Systeembeheer Lauwers College
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


-- 
Marcus I. Ryan, marcus@riboflavin.net
-----------------------------------------------------------------------
 "Love is a snowmobile racing across the tundra and then suddenly it
 flips over, pinning you underneath.  At night, the ice weasels come."
                 -- Matt Groening
-----------------------------------------------------------------------

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


>From mmonka@netzquadrat.de Date: 27 Feb 2002 16:59:08 +0000
Return-Path: <mmonka@netzquadrat.de>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 61941 invoked from network); 27 Feb 2002 15:52:11 -0000
Received: from erdbert.netzquadrat.de (217.10.64.130)
  by clark.horde.org with SMTP; 27 Feb 2002 15:52:11 -0000
Received: from [217.10.64.184] (helo=markus.netzquadrat.de)
	by erdbert.netzquadrat.de with esmtp (Exim 3.12 #1 (Debian))
	id 16g6N5-0006Pg-00
	for <imp@lists.horde.org>; Wed, 27 Feb 2002 16:51:59 +0100
From: markus monka <mmonka@netzquadrat.de>
To: imp@lists.horde.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.1 
Date: 27 Feb 2002 16:59:08 +0000
Message-Id: <1014829148.14883.228.camel@markus>
Mime-Version: 1.0
Subject: Problem with session:

Horde: 3.0-cvs
IMP: 4.0-cvs
You are running a supported version of PHP.

I use IMAP - Auth and can see the successful logging in
the MAILSERVERlog and in the HORDELog.

But then i got a redirect to:

horde/imp/login.php?1=1&reason=session

With the Error:

Your Mail session has expired. Please login again.

I read some Threads from the list but could not
find any mistakes ...?

-- 
greetings
Markus Monka	

--
[netzquadrat] GmbH      Fon: +49 - 211 - 30 20 33 27
Ronsdorferstrasse 74    Fax: +49 - 211 - 30 20 33 22
40233 Duesseldorf
http://www.netzquadrat.de




>From alexis@sukria.net Date: 27 Feb 2002 16:57:43 +0100
Return-Path: <alexis@sukria.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 63607 invoked from network); 27 Feb 2002 15:59:48 -0000
Received: from smtp-ft3.fr.colt.net (213.41.78.27)
  by clark.horde.org with SMTP; 27 Feb 2002 15:59:48 -0000
Received: from sukria (access-178.93.rev.fr.colt.net [213.41.93.178])
	by smtp-ft3.fr.colt.net with ESMTP id g1RG9r422917
	for <imp@lists.horde.org>; Wed, 27 Feb 2002 17:09:53 +0100
From: Alexis Sukrieh <alexis@sukria.net>
To: imp mailing list <imp@lists.horde.org>
In-Reply-To: <1014824381.3c7cfdbdebf15@jan.dip.ammma.net>
References: <20020227151611.58040.qmail@web9706.mail.yahoo.com> 
	<1014824381.3c7cfdbdebf15@jan.dip.ammma.net>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/1.0.1 
Date: 27 Feb 2002 16:57:43 +0100
Message-Id: <1014825463.1083.246.camel@sukria.startup>
Mime-Version: 1.0
Subject: Where is my sent-mail box ???

With IMP 3.0 I4m not able to see my "sent-mail" box ...

is anyone here knows what to do ?

thanks ;)


 
-- 
----------------------------------
Alexis Sukrieh | alexis@sukria.net

... sometimes seen as sukria ...

http://www.sukria.net
----------------------------------