[imp] mailbox

David De Maeyer ddm@ruc.dk
Tue, 4 Sep 2001 14:56:36 +0200


Salut Berengere,

French speaking? Yes? Then check the answer. No? Then give a sign, I will
answer in English... :o)

Une reponse en francais ne devrait donc a priori pas poser de probleme.

Qu'est-ce que IMP? Si on se refere a la page web http:///www.horde.org :

IMP provides webmail access to any IMAP or POP3 mailbox, and handles
internet standard MIME attachments, user defined filters, preferences, and
more.

Cela veut dire que pour se connecter on utilise le nom d'utilisateur et le
mot de passe definis sur le serveur mail. Dans mon cas, mon username est ddm
(ddm@ruc.dk), ce n'est pas la meme chose que les utilisateurs definis sur la
machine ou IMP est installe. Si le serveur POP3 ou IMAP est installe sur la
meme machine, c'est la meme chose, il faut utiliser les usernames et
passwords reconnus par le serveur mail correspondant et non par la machine.
On peut etre utilisateur du service de mail electronique sans etre
utilisateur de la machine.

Concernant le message d'erreur "requested URL... not found", il est fort
probable que le fichier httpd.conf (je fais l'hypothese que tu utilises
Apache) contient une ou plusieurs erreurs. Cela peut egalement provenir de
mauvaises permissions sur certains repertoires. Bref, il y a pas mal a
verifier... :o)

Je conseillerais d'utiliser la FAQ suivante afin d'obtenir de plus amples
informations:
http://www.horde.org/faq/

Ensuite, tu peux m'adresser une description en francais (souvent plus facile
de s'exprimer dans sa langue) du probleme. Cela evitera certaines
confusions. Il important de savoir quelle version est installee, quel
systeme d'exploitation, quel type de serveur mail est utilise (POP3 ou IMAP
?), quelle base de donnees est utilisee (Oracle, MySQL, etc. ?), quel
serveur mail (Apache ?), etc. Sans cela, il est presque totalement
impossible d'aider a la resolution de problemes de ce type. A partir de la,
on peut essayer de resoudre le probleme etape par etape.

Amicalement,

David

________________________________________
David De Maeyer
Roskilde University Center
Computer Sciences Department
Box 260, Hus 42.1
4000 Roskilde
Denmark
voice: (+45) 46 74 38 29
fax:     (+45) 46 74 30 72

----- Original Message -----
From: "pons bérengère" <pons@esigetel.fr>
To: <imp@lists.horde.org>
Sent: Tuesday, September 04, 2001 2:20 PM
Subject: [imp] mailbox


when i want to login me to imp i have: "the requested URL
/horde/imp/mailbox.php3 was not found on this server"
whereas the user is in /etc/passwd and in /home

does i take /usr/local/apache/htdocs/horde/imp in the setup.php3?
i have try and i have the same error

What can i do?

Thanks for your help in advance




>From ash@edutrend.com.my Date: Tue,  4 Sep 2001 21:03:03 +0800
Return-Path: <ash@edutrend.com.my>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 93560 invoked from network); 4 Sep 2001 13:03:24 -0000
Received: from unknown (HELO edutrend.com.my) (202.187.88.38)
  by horde.org with SMTP; 4 Sep 2001 13:03:24 -0000
Received: by edutrend.com.my (Postfix, from userid 48)
	id 2E62E5BEE2; Tue,  4 Sep 2001 21:03:03 +0800 (MYT)
Received: from 210.187.3.66 ( [210.187.3.66])
	as user ash@edutrend.com.my by edutrend.com.my with HTTP;
	Tue,  4 Sep 2001 21:03:03 +0800
Message-ID: <999608583.3b94d1071aafd@edutrend.com.my>
Date: Tue,  4 Sep 2001 21:03:03 +0800
From: ash@edutrend.com.my
To: imp@lists.horde.org
References: <020501c1353c$106d6840$02000080@iutnimes.fr>
In-Reply-To: <020501c1353c$106d6840$02000080@iutnimes.fr>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 210.187.3.66
Subject: Re: [imp] Automatic login IMP form portal

Hi,

I've been following the discussion on how to login to IMP from another page and 
has succesfully done it with the IMP 2.3.7 checked out on July 25th. But when I 
updated it on Sept 2nd, the method didn't work anymore (wrong login/password 
error). Has anything changed that caused the problem?

I only posted the imapuser, pass and server values to redirect.php and also 
called Secret:: setKey('imp'). From my debug, it seems that Authenticate 
(called from redirect.php) succeeded the first time but failed the second time 
(not sure from where) - password seems to be corrupted/encrypted.

I'm using Redhat 7.1 & PHP 4.0.6/latest cvs PEAR.

Can anyone help?

ASH.

Quoting kanareykin@denison.edu:

> What I mean is that I don't want to send the username and password
> to the user's browser and then 'log in' the user with JavaScript
> or something like that, making the browser send imapuser and pass
> to redirect.php (or remote_login). In this case the password shows
> up in the page's source.
> 
> It's the web server that will open the conection to IMP and 
> send username/pass to IMP via POST, sort of mimicking the login 
> form.

I think you're making this more complicated than it needs to be. You should 
just make a modified copy of redirect.php from IMP. In it, take whatever form 
data you have - the uid, the session for your portal, whatever - and use it to 
lookup username/password/server/etc. Then put those values where IMP expects to 
find them - $HTTP_POST_VARS['imapuser'], etc. - and let the rest of the code 
handle it like it normally does. The session will be created for you and you'll 
be redirected to the mailbox index.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.

-- 
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


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


>From janmailing@gmx.de Date: Tue,  4 Sep 2001 15:10:15 +0200
Return-Path: <janmailing@gmx.de>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 96481 invoked from network); 4 Sep 2001 13:15:22 -0000
Received: from mailout06.sul.t-online.com (HELO mailout06.sul.t-online.de) (194.25.134.19)
  by horde.org with SMTP; 4 Sep 2001 13:15:22 -0000
Received: from fwd00.sul.t-online.de 
	by mailout06.sul.t-online.de with smtp 
	id 15eG2z-0006qO-02; Tue, 04 Sep 2001 15:15:21 +0200
Received: from linux.wg.de (320034214675-0001@[217.80.111.8]) by fmrl00.sul.t-online.com
	with esmtp id 15eG2j-143aQSC; Tue, 4 Sep 2001 15:15:05 +0200
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 f84DAGV18755
	for <imp@lists.horde.org>; Tue, 4 Sep 2001 15:10:16 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Tue,  4 Sep 2001 15:10:15 +0200
Message-ID: <999609015.3b94d2b7b43d1@linux.wg.de>
Date: Tue,  4 Sep 2001 15:10:15 +0200
From: Jan Schneider <janmailing@gmx.de>
To: imp@lists.horde.org
References: <020501c1353c$106d6840$02000080@iutnimes.fr> <999608583.3b94d1071aafd@edutrend.com.my>
In-Reply-To: <999608583.3b94d1071aafd@edutrend.com.my>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] Automatic login IMP form portal

There changed a lot since July. Did you already update your config files from
the latest .dist files and get a fresh pear from cvs?

Jan.

Zitat von ash@edutrend.com.my:

> Hi,
> 
> I've been following the discussion on how to login to IMP from another page
> and 
> has succesfully done it with the IMP 2.3.7 checked out on July 25th. But when
> I 
> updated it on Sept 2nd, the method didn't work anymore (wrong login/password
> 
> error). Has anything changed that caused the problem?
> 
> I only posted the imapuser, pass and server values to redirect.php and also
> 
> called Secret:: setKey('imp'). From my debug, it seems that Authenticate 
> (called from redirect.php) succeeded the first time but failed the second
> time 
> (not sure from where) - password seems to be corrupted/encrypted.
> 
> I'm using Redhat 7.1 & PHP 4.0.6/latest cvs PEAR.
> 
> Can anyone help?
> 
> ASH.
> 
> Quoting kanareykin@denison.edu:
> 
> > What I mean is that I don't want to send the username and password
> > to the user's browser and then 'log in' the user with JavaScript
> > or something like that, making the browser send imapuser and pass
> > to redirect.php (or remote_login). In this case the password shows
> > up in the page's source.
> > 
> > It's the web server that will open the conection to IMP and 
> > send username/pass to IMP via POST, sort of mimicking the login 
> > form.
> 
> I think you're making this more complicated than it needs to be. You should
> 
> just make a modified copy of redirect.php from IMP. In it, take whatever form
> 
> data you have - the uid, the session for your portal, whatever - and use it
> to 
> lookup username/password/server/etc. Then put those values where IMP expects
> to 
> find them - $HTTP_POST_VARS['imapuser'], etc. - and let the rest of the code
> 
> handle it like it normally does. The session will be created for you and
> you'll 
> be redirected to the mailbox index.
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> Some fallen angels have their good reasons.
> 
> -- 
> 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
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> -- 
> 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
> 
> 


:::::::::::::::::::::::::::::::::::::::: 
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
::::::::::::::::::::::::::::::::::::::::::::::