Pb with IMP 3.0 / Horde 2.0

Nicolas JOUANIN n.jouanin@regie-france.com
Tue, 8 Jan 2002 15:40:15 +0100


---------------------- multipart/alternative attachment
    Hi,

 I experience some problems with the new version of IMP and Horde.

When connected i usually get unterminated pages. For example here the =
source code of the maintenance task page:

You can see that the page doens't terminate. I don't know why, and I =
can't see any message in Apache or Horde log files.

Does anyone ever seen this pb ?

Thanks.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" =
"DTD/xhtml1-transitional.dtd">
<!-- IMP: Copyright 2001, The Horde Project. IMP is under the GPL. -->
<!-- Horde Project: http://horde.org/ | IMP: http://horde.org/imp/ -->
<!--    GNU Public License: http://www.fsf.org/copyleft/gpl.html   -->
<html lang=3D"fr-FR"><head>
<title>Courrier</title>
<link href=3D"/css.php?app=3Dimp" rel=3D"stylesheet" type=3D"text/css" =
/>
</head>

<body>
<form method=3D"post" =
action=3D"/imp/mailbox.php?Horde=3Df6aab059d78b0bd5d8fd09f42f528527" =
name=3D"maint_confirm"><input type=3D"hidden" name=3D"Horde" =
value=3D"f6aab059d78b0bd5d8fd09f42f528527" />
<input type=3D"hidden" name=3D"Horde" =
value=3D"f6aab059d78b0bd5d8fd09f42f528527" />
<input type=3D"hidden" name=3D"newmail_popup" value=3D"no" />
<input type=3D"hidden" name=3D"mailbox" value=3D"INBOX" />
<input type=3D"hidden" name=3D"confirm_maintenance" value=3D"1" />
<table border=3D"0" align=3D"center" width=3D"95%" cellpadding=3D"3" =
cellspacing=3D"2">
<tr class=3D"header">
    <td class=3D"header">
        <b>IMP Op=E9rations de Maintenance - Confirmation</b>
    </td>
</tr>
<tr>
    <td>&nbsp;</td>
</tr>
<tr>
    <td class=3D"light">
        <b><font color=3D"red">Attention</font>
        IMP est pr=EAt =E0 effecuter les op=E9rations de maintenance =
s=E9lectionn=E9es ci-bas.        <br />
        Cochez les cases appropri=E9es, en relation =E0 ou aux =
op=E9ration(s) que vous voulez effectuer.</b>
    </td>
</tr>
<tr>
    <td>&nbsp;</td>
</tr>
<script language=3D"JavaScript" type=3D"text/javascript">
<!--

function uncheckAll()
{
    for (var i =3D 0; i < document.maint_confirm.elements.length; i++) {
        document.maint_confirm.elements[i].checked =3D false;
    }
}

//-->
</script>
<tr>
    <td class=3D"light">
        <input type=3D"checkbox" =
name=3D"rename_sentmail_monthly_confirm"></input>
        &nbsp&nbsp;
        The current folder(s) "sent-mail" will be renamed to =
"sent-mail-d=E9c-2001".    </td>
</tr>
<tr>
    <td class=3D"light">
        <input type=3D"checkbox" =
name=3D"delete_sentmail_monthly_confirm"></input>
        &nbsp&nbsp;
        Tout vos vieux dossiers de messages envoy=E9s plus vieux que 12 =
mois seront effac=E9s.    </td>
</tr>
<tr>
    <td class=3D"light">
        <input type=3D"checkbox" name=3D"purge_trash_confirm"></input>
        &nbsp&nbsp;
        Tout les messages de votre dossier trash qui sont plus vieux que =
"30" jours seront effac=E9s.    </td>
</tr>
<tr>
    <td>&nbsp;</td>
</tr>
<tr>
    <td>
        <input type=3D"submit" class=3D"button" value=3D"Effectuer les =
op=E9rations de maintenance" =
onclick=3D"document.maint_confirm.submit();" />
        &nbsp;&nbsp;
        <input type=3D"button" class=3D"button" value=3D"Annuler =
maintenance" onclick=3D"uncheckAll(); document.m

---------------------- multipart/alternative attachment--



>From jan@horde.org Date: Tue,  8 Jan 2002 15:31:49 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 61341 invoked from network); 8 Jan 2002 14:46:27 -0000
Received: from mailout01.sul.t-online.com (194.25.134.80)
  by clark.horde.org with SMTP; 8 Jan 2002 14:46:27 -0000
Received: from fwd04.sul.t-online.de 
	by mailout01.sul.t-online.de with smtp 
	id 16NxR7-0000K8-03; Tue, 08 Jan 2002 15:41:09 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.46.67]) by fmrl04.sul.t-online.com
	with esmtp id 16NxQr-0ayFguC; Tue, 8 Jan 2002 15:40:53 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g08EVn925707
	for <imp@lists.horde.org>; Tue, 8 Jan 2002 15:31:49 +0100
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Tue,  8 Jan 2002 15:31:49 +0100
Message-ID: <1010500309.3c3b02d55b26d@jan.dip.ammma.net>
Date: Tue,  8 Jan 2002 15:31:49 +0100
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <3C3AEFAB.8050003@manas.kg> <1010496498.3c3af3f2d082e@jan.dip.ammma.net> <3C3AFEF7.2030607@manas.kg>
In-Reply-To: <3C3AFEF7.2030607@manas.kg>
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-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] mime_drivers doesn't work?

Zitat von Roman Serbski <libser@manas.kg>:

> Jan Schneider wrote:
> > Zitat von Roman Serbski <libser@manas.kg>:
> > 
> > 
> >>Hi list
> >>
> >>I have small problem with attachments type icons (Horde 2.0, IMP
> 3.0).
> >>In fact I noticed this behavior in my installation, but I also tried
> to
> >>
> >>reproduce it under demo.horde.org - same results.
> >>When I receive a letter with Word doc attachment - IMP shows text.gif
> >>icon.
> >>Here is small screenshot, that was made under *demo.horde.org* :
> >>http://linux.manas.kg/img/mime_drivers.jpg
> >>
> >>I suppose it should be msword.gif? wvHtml part in 
> >>horde/config/mime_drivers.php is OK and uncommented.
> >>After looking at horde/imp/config/mime_drivers.php I noticed that
> there
> >>
> >>are only two drivers: 'text' and 'html'. If I add 'msword' driver here
> 
> >>and copy msword.gif to horde/imp/graphics/mime everything works OK.
> But
> >>
> >>from the other side - all graphic attachments have correct attachment
> 
> >>icons - so looks like horde/config/mime_drivers.php works correct.
> >>
> >>Am I missed something in configuration or it is normal behavior since
> I
> >>
> >>use imp for user authentication?
> >>
> > 
> > The mime_drivers.php file just extends or adapts the global mime driver
> 
> > settings in horde/config.
> 
> Hi Jan
> 
> Thank you for reply.
> That's strange - it doesn't work for me even under demo.horde.org... I 
> changed several servers - no effect.
> 
> I didn't touch anything in mime_drivers.php, to be sure I copied 
> mime_drivers.php.dist to mime_drivers.php.
> 
> 
> > I have no idea why the wrong icon appeared. I just checked it again to
> be 
> > sure and it works fine here with the default configuration. 
> 
> Wait a minute but with the default configuration wvHtml part in 
> horde/config/mime_drivers.php is commented (disabled). I think it is 
> responsible for msword.gif ('default' => 'msword.gif')? How did you get
> 
> msword.gif appeared? :) Maybe there is another place to look for?

Of course I uncommented the lines before. :-)

If you can't get it running it's perhaps a problem with the email. You can 
bounce it to me, but please tell me the subject before. Spam gets killed. 
;-)

Jan.

--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::