[imp] imp-2.2.4 logging in and ie5.5

Network network@network.shacknet.nu
Tue, 6 Feb 2001 13:19:48 -0500


----- Original Message -----
From: "Chuck Hagenbuch" <chuck@horde.org>
To: <imp@lists.horde.org>
Sent: Tuesday, February 06, 2001 12:25 PM
Subject: Re: [imp] imp-2.2.4 logging in and ie5.5


> Quoting Network <network@network.shacknet.nu>:
>
> > I'm assuming you either mean; scripts that come with horde & imp -or-
> > scripts such as; phpinfo() -and- a simple 'hello world' script.  Answer=
> > yes, simple scripts work.
>
> Something like
>
> <?php
>
> $stream = imap_open('{your.server}', 'username', 'password');
> $check = imap_check($stream);
> var_dump($check);
> imap_close($stream);
>
> ?>
>
> ... gives you reasonable output?

I placed your suggested script in the ~/horde/script.php with the following
results

I used ...
<?php

$stream = imap_open('{tower.swahilie.net}', 'valid-UID', 'valid-password');
$check = imap_check($stream);
var_dump($check);
imap_close($stream);

?>
results=
object(stdClass)(5) { ["Date"]=> string(36) "Tue, 6 Feb 2001 12:54:07 -0500
(EST)" ["Driver"]=> string(4) "imap" ["Mailbox"]=> string(51)
"{localhost.swahilie.net:143/imap/user="tower"}INBOX" ["Nmsgs"]=> int(2)
["Recent"]=> int(0) }

 I've tried this numerous times before sending this reply.  Each time
producing positive results.
I have also gone as far as toggling back and forth by loading your example
script (script.php) & then, loading ~/horde/imp.index.php3 page and back
again.

Your example script (script.php) works everytime, but the
~/horde/imp.index.php3 continues to fail *to many* times. index.php3 will
fail four (4) out of 5-6 times.  However, when index.php3 starts working, it
seems to continue to work for a while.  I'll let it sit idle (logged out),
then come back and play with it a number of hours later and it starts acting
like it has the flu again and preceedes to send me to that "page not found".

APM is disabled on the client (windows) as well as the Freebsd box that Imp
runs on.  The IMP box was soley assembled for IMP.  There are no other
services running on the IMP box Except 'sshd' and what ever imp needs to
fuction.  Apache *only* serves IMP pages.

Sorry for the long wind.  Just trying to give you enough info. :/
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck@horde.org>
> "My intuitive grasp of math often leads me astray." -Me
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>



>From chuck@horde.org Date: Tue,  6 Feb 2001 13:37:06 -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 10984 invoked from network); 6 Feb 2001 18:38:01 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 6 Feb 2001 18:38:01 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id B319D39F4; Tue,  6 Feb 2001 13:37:06 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Tue,  6 Feb 2001 13:37:06 -0500
Message-ID: <981484626.3a8044527818d@marina.horde.org>
Date: Tue,  6 Feb 2001 13:37:06 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] From line creation? (2.2.4)

Quoting Lars Hecking <lhecking@nmrc.ucc.ie>:

>  Check the mail logs on 216.88.237.10 and mail.alpha1.net to find out
>  what the real enveloper sender address is. I _think_ it's possible
>  (although I haven't observed this yet) that IMP somehow passes 
>  "marius@alpha1.net" (literally, including the quotes!) to sendmail -f,
>  which then interprets the address as RFC-822 local-part, and tacks on
>  the missing domain. Or something like that.

That would be both unfortunate and odd - can anyone else provide any insight 
into this?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me


>From chuck@horde.org Date: Tue,  6 Feb 2001 13:41:58 -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 11874 invoked from network); 6 Feb 2001 18:42:53 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
  by horde.org with SMTP; 6 Feb 2001 18:42:53 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 8D12439F4; Tue,  6 Feb 2001 13:41:58 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina by marina.horde.org with HTTP;
	Tue,  6 Feb 2001 13:41:58 -0500
Message-ID: <981484918.3a8045763c113@marina.horde.org>
Date: Tue,  6 Feb 2001 13:41:58 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] imp causes high load ?

Quoting Atif Ghaffar <aghaffar@developer.ch>:

> I dont think that apache will share the process with its children.
> The work around to that is to use shared memory to hold the
> connection... I think..

If you know a way to implement it, submit it to the php developers. It's been 
batted around php-dev a couple of times and so far no one has come up with a 
sane way to manage it.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me