[imp] Installing PHP questions are offtopic
Christopher Stein
stein@eecs.harvard.edu
Wed, 7 Feb 2001 10:49:04 -0500 (EST)
On Wed, 7 Feb 2001, Brent J. Nordquist wrote:
> We're getting a lot of questions on this list related to configuring,
> building and installing PHP. I think it's worth mentioning again that
> those are really offtopic for this list.
I don't agree.
Installing this package in a non-RPM way is a painful
process. My suggestion would be that we err on the side
of a liberal interpretation of the lists mandate.
The few people in the world that have successfully
installed this package can sit around and speculate
about ways to reduce load -OR- the community can grow
and help one another get this thing working.
>I realize that PHP is a hurdle
> to getting Horde/IMP installed, and I don't mind much personally, but many
> people subscribed to the Horde lists are not interested in seeing all the
> PHP traffic.
Let these people speak for themselves. I for one am
very interested in PHP/IMP configuration issues.
Thank you Mr. Hagenbuch for pointing out that I was
chasing down a blind alley.
My phpinfo() says everything is working, so does test.php3
(check out orvieto.eecs.harvard.edu/horde/test.php3), but
still my imapd server receives '^A' in place of the login
name. I'm baffled. I've read all the docs. Has anyone out
there been able to get this package working on FreeBSD?
I'd love to talk to you.
Chris Stein
>From chuck@horde.org Date: Wed, 7 Feb 2001 10:49:00 -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 19067 invoked from network); 7 Feb 2001 15:49:54 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
by horde.org with SMTP; 7 Feb 2001 15:49:54 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 576F939F5; Wed, 7 Feb 2001 10:49:00 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
as user chuck@marina by marina.horde.org with HTTP;
Wed, 7 Feb 2001 10:49:00 -0500
Message-ID: <981560940.3a816e6c3d60b@marina.horde.org>
Date: Wed, 7 Feb 2001 10:49:00 -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] still having MAILER-DAEMON return address problems :(
Quoting doug moore <lordscarlet@idledreams.net>:
> X-Authentication-Warning: firewall.idledreams.net: nobody set sender to @
> using -f
Well, that's certainly the problem, but I have no idea how to reproduce it or
what's causing it. Can you go into compose.php, in the SEND_MESSAGE case, and
put in some debugging code (echo statements) of what the From: value is, where?
Comment out the window.close() so you can see the results. If it's correct when
$mailer->send() is called, trace through that, also...
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me
>From chuck@horde.org Date: Wed, 7 Feb 2001 10:55:33 -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 20941 invoked from network); 7 Feb 2001 15:56:28 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
by horde.org with SMTP; 7 Feb 2001 15:56:28 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id B9E4A39F5; Wed, 7 Feb 2001 10:55:33 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
as user chuck@marina by marina.horde.org with HTTP;
Wed, 7 Feb 2001 10:55:33 -0500
Message-ID: <981561333.3a816ff57d5cf@marina.horde.org>
Date: Wed, 7 Feb 2001 10:55:33 -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] Installing PHP questions are offtopic
Quoting Christopher Stein <stein@eecs.harvard.edu>:
> The few people in the world that have successfully
> installed this package can sit around and speculate
> about ways to reduce load -OR- the community can grow
> and help one another get this thing working.
I think you slightly under-estimate how many people have successfully installed
IMP and are using it, but that's rather beside the point. I agree with Brent
that issues relating to simply compiling php are off-topic; I'm willing to
point people off in the right direction as long as it doesn't get ridiculous.
It seems to come and go in waves, generally.
At any rate, your case is somewhat different, since as you said, you have
test.php3 working and showing IMAP support. So:
> My phpinfo() says everything is working, so does test.php3
> (check out orvieto.eecs.harvard.edu/horde/test.php3), but
> still my imapd server receives '^A' in place of the login
> name. I'm baffled. I've read all the docs. Has anyone out
> there been able to get this package working on FreeBSD?
> I'd love to talk to you.
Yes, people have. You're using 2.3, correct? Make a test script that has in it:
<?php
$stream = imap_open('{your.server:143/imap}', 'username', 'password');
$foo = imap_check($stream);
var_dump($foo);
imap_close($stream);
?>
... and see if you can get that to work (obviously substituting valid
server/user/pass). If that works, I'm willing to bet the problem is with the
password not being successfully decoded in Secret::read(); in that case,
information on whether or not you have mcrypt, what browser you're using, and
do you have cookies enabled/disabled would be useful.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me
>From chuck@horde.org Date: Wed, 7 Feb 2001 11:02:01 -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 22721 invoked from network); 7 Feb 2001 16:02:56 -0000
Received: from r94aag005136.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (209.6.192.126)
by horde.org with SMTP; 7 Feb 2001 16:02:56 -0000
Received: by marina.horde.org (Postfix, from userid 33)
id 22C9C39F5; Wed, 7 Feb 2001 11:02:02 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
as user chuck@marina by marina.horde.org with HTTP;
Wed, 7 Feb 2001 11:02:01 -0500
Message-ID: <981561721.3a817179d0f6d@marina.horde.org>
Date: Wed, 7 Feb 2001 11:02:01 -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 2.3.7-cvs FROM field not being set in message composition
Quoting Steve Paraka <sparaka@hotmail.com>:
> Lets say that we have the following in either the FROM or the TO field:
>
> John Doe <john_doe@site.net>
>
> This won't be accepted. It will return saying that the message could not be
> delivered. The solution to this problem is to have the FROM or TO field
> look like this:
>
> "John Doe" <john_doe@site.net>
>
> Unless those quotes are surrounding the name, it will not send the message.
> For now, I rewrote get_from() to get rid of the rfc stuff and just hack
> together an address that works by surrounding $name with quotes and tacking
> that on to the email address. Am I going to have to do this for the TO field
> also or is there a quick fix that I'm not aware of?
This makes no sense. There is nothing in John Doe <john_doe@site.net> that
requires quoting, and I haven't seen any similar problems. Can you check your
sendmail logs to see what it's actually rejecting the message because of? Can
you track down the one change that caused this problem to start?
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me
>From max@the Date: Wed, 7 Feb 2001 08:01:33 -0800
Return-Path: <max@the-triumvirate.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 23768 invoked from network); 7 Feb 2001 16:05:05 -0000
Received: from cx309195-b.santab1.ca.home.com (HELO zion.the-triumvirate.net) (24.21.86.136)
by horde.org with SMTP; 7 Feb 2001 16:05:05 -0000
Received: (from http@localhost)
by zion.the-triumvirate.net (8.10.2/8.10.2) id f17G1Xc02021
for imp@lists.horde.org; Wed, 7 Feb 2001 08:01:33 -0800
X-Authentication-Warning: zion.the-triumvirate.net: http set sender to max@the-triumvirate.net using -f
Received: from 24.16.85.200 ( [24.16.85.200])
as user max@imap.the-triumvirate.net by www.the-triumvirate.net with HTTP;
Wed, 7 Feb 2001 08:01:33 -0800
Message-ID: <981561693.3a81715d704fa@www.the-triumvirate.net>
Date: Wed, 7 Feb 2001 08:01:33 -0800
From: Max Kalika <max@the-triumvirate.net>
To: imp@lists.horde.org
References: <KCEJINDPCOKHHPPOJNIAKEHECAAA.lordscarlet@idledreams.net>
In-Reply-To: <KCEJINDPCOKHHPPOJNIAKEHECAAA.lordscarlet@idledreams.net>
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: 24.16.85.200
Subject: RE: [imp] still having MAILER-DAEMON return address problems :(
Quoting doug moore <lordscarlet@idledreams.net>:
> i didn't make any, no. :) whether they're there i couldn't tell you for
> CERTAIN. where can i check for that?
I take it back, since the -f parameter happens before you even call sendmail,
it is a problem with your IMP installation. Do as Chuck suggested, putting
echo statements in the SEND_MESSAGE case of compose.php. Also, be sure you
have the latest Mail/rfc822.php file in PHP's PEAR. (There was a problem with
the first iterations of that class).
--mk23