Not showing contents of mailboxes
Uriah
uriah@tempestnetworks.net
Thu, 7 Mar 2002 22:30:17 -0500 (EST)
I just finish install Imp 3.0 and Horde 2.0 using imap-2001a and
everything seams to work. I can log in, send mail, alter prefs, but I can
not vie what is inside any mail boxes. At first i though that IMP was
trashing my mailboxes until I checked and saw that it was infact moving
all messages from the spool directy into the users mbox. It shows no
errors of any kind while this is going on.
If I try opening up another folder/mailbox it will list all the messages,
but if I try to open one to read, it tells me that the mailbox is empy.
Through out all this time, no error messages are generated, it seams to be
failing quietly.
Any help apreciated.
-uriah
>From chuck@horde.org Date: Thu, 7 Mar 2002 23:52:02 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 50926 invoked from network); 8 Mar 2002 04:52:41 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
by clark.horde.org with SMTP; 8 Mar 2002 04:52:41 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 903EC39B0; Thu, 7 Mar 2002 23:52:02 -0500 (EST)
Received: from 192.168.0.117 ( [192.168.0.117])
as user chuck@localhost by marina.horde.org with HTTP;
Thu, 7 Mar 2002 23:52:02 -0500
Message-ID: <1015563122.3c8843722b512@marina.horde.org>
Date: Thu, 7 Mar 2002 23:52:02 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <Pine.SOL.4.10.10203041708550.13787-100000@www3.fas.harvard.edu>
In-Reply-To: <Pine.SOL.4.10.10203041708550.13787-100000@www3.fas.harvard.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [imp] imp 3.0 - attachments problem - 0x0a being prepended
Quoting Scott Kearney <skearney@fas.harvard.edu>:
> However, IE still has the same problems. Still the same "the site is
> either unavailable or cannot be found" error. And neither browser can
> view the attachments using the filename (as opposed to the diskette icon).
> Netscape gives a "The document contained no data" error, and IE just pulls
> up a blank window.
Do you get this behavior with the demo site as well?
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
and justice is a good dream." - Tariq Ramadan
>From mike@graftonhall.co.nz Date: Fri, 8 Mar 2002 07:15:19 +0000
Return-Path: <mike@graftonhall.co.nz>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 54210 invoked from network); 8 Mar 2002 07:18:28 -0000
Received: from unknown (HELO graftonhall.co.nz) (210.54.179.59)
by clark.horde.org with SMTP; 8 Mar 2002 07:18:28 -0000
Received: from localhost [10.0.0.4]
by graftonhall.co.nz [10.0.0.4]
with SMTP (MDaemon.PRO.v5.0.4.R)
for <imp@lists.horde.org>; Fri, 08 Mar 2002 20:15:19 +1300
Received: from 10.0.0.4 ( [10.0.0.4])
as user mike@10.0.0.4 by webmail.graftonhall.co.nz with HTTP;
Fri, 8 Mar 2002 07:15:19 +0000
Message-ID: <1015571719.3c88650710c4b@webmail.graftonhall.co.nz>
Date: Fri, 8 Mar 2002 07:15:19 +0000
From: Michael Cochrane <mike@graftonhall.co.nz>
To: imp@lists.horde.org
References: <1011786467.3c4ea2e3be353@webmail.graftonhall.co.nz> <1015365572.3c853fc41c51f@marina.horde.org>
In-Reply-To: <1015365572.3c853fc41c51f@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Originating-IP: 10.0.0.4
X-MDRemoteIP: 10.0.0.4
X-Return-Path: mike@graftonhall.co.nz
X-MDaemon-Deliver-To: imp@lists.horde.org
Subject: Re: [imp] Sort by Thread Patch
I haven't fully tested this but i'm pretty sure this diff will sort out all the
missing bits in message.php so sort by thread fully works. Diff against HEAD of
yesterday. May need to be tested with POP3 to make sure it hasn't broken too
many things.
- Mike
----- cut ----
Index: imp/message.php
===================================================================
RCS file: /httpd/horde/imp/message.php,v
retrieving revision 2.292
diff -I$Horde -I$Revision -I$Date -r2.292 message.php
309,310c309,335
< $sorted = imap_sort($imp['stream'], $prefs->getValue('sortby'),
< $prefs->getValue('sortdir'), SE_UID,
'UNDELETED');
---
> if ($prefs->getValue('sortby') != SORTTHREAD) {
> $sorted = imap_sort($imp['stream'], $prefs->getValue('sortby'),
> $prefs->getValue('sortdir'), SE_UID,
'UNDELETED');
> } else {
> $sorted = array();
> $branchsOpen = array();
> $indentLevel = array();
>
> $referencearray = imap_thread($imp['stream'], SE_UID);
> foreach ($referencearray as $key => $val) {
> if (strpos($key, '.num')) {
> $branchsOpen[substr($key,0,-4)] = 'Open';
>
> if ($val > 0) {
> $indentLevel[$val] = count($branchsOpen);
> $overview =
imap_fetch_overview($imp['stream'],$val,FT_UID);
> if (is_array($overview)) {
> if ($overview[0]->deleted == 0) $sorted[] = $val;
> }
> }
> }
> if (strpos($key, '.branch')) {
> unset($branchsOpen[substr($key,0,-7)]);
> }
> }
> unset($branchsOpen);
> }
331c356,357
< $sorted = imap_sort($imp['stream'], $prefs->getValue('sortby'),
---
> if ($prefs->getValue('sortby') != SORTTHREAD) {
> $sorted = imap_sort($imp['stream'], $prefs->getValue('sortby'),
332a359,382
> } else {
> $sorted = array();
> $branchsOpen = array();
> $indentLevel = array();
>
> $referencearray = imap_thread($imp['stream'], SE_UID);
> foreach ($referencearray as $key => $val) {
> if (strpos($key, '.num')) {
> $branchsOpen[substr($key,0,-4)] = 'Open';
>
> if ($val > 0) {
> $indentLevel[$val] = count($branchsOpen);
> $overview =
imap_fetch_overview($imp['stream'],$val,FT_UID);
> if (is_array($overview)) {
> if ($overview[0]->deleted == 0) $sorted[] = $val;
> }
> }
> }
> if (strpos($key, '.branch')) {
> unset($branchsOpen[substr($key,0,-7)]);
> }
> }
> unset($branchsOpen);
> }
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/