[imp] unable to send mail from IMP 2.2.7

daniel huhardeaux daniel.huhardeaux@tootai.com
Sun, 03 Mar 2002 12:38:13 +0100


Ben Elliston wrote:

 >I am unable to send mail from IMP.  When I hit the "Send" button, the
 >composition window is refreshed and I get a blank new message form to
 >complete--the message being edited is lost and is never sent.
 >...
 >

You are using Mozilla 0.9.7 as browser? If yes, try with another one or
upgrade to 0.9.8

-- 
:  ______ ______ ______ ______ ______ __  daniel.huhardeaux@tootai.com
: /_____// __  // __  //_____// __  // / phone.: +48 32 768 3333/121
:  / /  / /_/ // /_/ /  / /  / /_/ // / fax....: +48 32 768 3334
: /_/  /_____//_____/  /_/  /_/ /_//_/ mobile..: +48 602 284 546



>From chuck@horde.org Date: Sun,  3 Mar 2002 08:58:22 -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 48322 invoked from network); 3 Mar 2002 13:59:00 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 3 Mar 2002 13:59:00 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 3A34B39E8; Sun,  3 Mar 2002 08:58:22 -0500 (EST)
Received: from 192.168.0.112 ( [192.168.0.112])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sun,  3 Mar 2002 08:58:22 -0500
Message-ID: <1015163902.3c822bfe0c524@marina.horde.org>
Date: Sun,  3 Mar 2002 08:58:22 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <001601c1c27e$b19e3d50$7c000180@khchan>
In-Reply-To: <001601c1c27e$b19e3d50$7c000180@khchan>
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] files horde.php problems

Quoting kengheng <kengheng@maxis.net.my>:

>     I found that the file horde/config/horde.php is getting strange problem,
> the php content in the file can't be executed, even I input some error coding
> in the file, no error is displayed.

You probably had an error in it in the first place. Call it seperately, on the 
command line (php -l) or in your browser.

-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 eculp@encontacto.net Date: Sun,  3 Mar 2002 09:26:12 -0800
Return-Path: <eculp@encontacto.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 51120 invoked from network); 3 Mar 2002 17:26:13 -0000
Received: from adsl-64-173-182-158.dsl.mtry01.pacbell.net (HELO encontacto.net) (64.173.182.158)
  by clark.horde.org with SMTP; 3 Mar 2002 17:26:13 -0000
Received: from localhost (localhost [127.0.0.1])
  (uid 0)
  by encontacto.net with local; Sun, 03 Mar 2002 09:26:12 -0800
Received: from 64.173.182.155 ( [64.173.182.155])
	as user eculp@mexcomusa.net@mail.mexcomusa.net by Mail.MexComUSA.Net with HTTP;
	Sun,  3 Mar 2002 09:26:12 -0800
Message-ID: <1015176372.3c825cb49659e@Mail.MexComUSA.Net>
Date: Sun,  3 Mar 2002 09:26:12 -0800
From: Edwin Culp <eculp@encontacto.net>
To: imp@lists.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: 64.173.182.155
Subject: Confusion with imp_get_vinfo and Auth::getAuth results.

Hi,

To use virtual domains in courier without having to type the complete
username@domain.com but only the user name and using imp_get_vinfo in
conf.php and called in login.inc the authentication process works perfectly
and I am able to login with no problems.  The problem is that all calls
to Auth::getAuth() return username@domain.com@mail.domain.com. 
mail.domain.com is the url used to access horde/imp.  I can't find where
this last @mail.domain.com is being added for the life of me.  The slapd.log
file shows the username@domain.com being searched for and found with no
problem and no @mail.domain.com.

I actually discovered this when my prefs were being written with 
username@domain.com@mail.domain.com.  That and the welcome screen
from horde are the only indications that I have seen.  Everything works
perfectly current will about 10 virtual domains.  Absolutely no confusion.
All preferences are separate but have username@domain2.com@mail.domain2.com
and so on.  Actually, I guess I could leave it but it is just ugly:-( and
there has to be an explanation.  I've probably really done something so
stupid that I can't see the forest for the trees.

I have made no changes in imp or horde source, the changes I have made
have been backed out.  The only change was in one line of the prog_replace
return line of the imp_get_vinfo function.  I changed 

 return preg_replace('|\.|', '_', $imp['user'] . '_' . $vdomain);
to
  return $imp['user'] . '@' . $vdomain;

Any help or suggestions would be appreciated.

ed

-------------------------------------------------



>From chuck@horde.org Date: Sun,  3 Mar 2002 13:46:22 -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 52994 invoked from network); 3 Mar 2002 18:47:01 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 3 Mar 2002 18:47:01 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 15D0E39E8; Sun,  3 Mar 2002 13:46:23 -0500 (EST)
Received: from 192.168.0.113 ( [192.168.0.113])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sun,  3 Mar 2002 13:46:22 -0500
Message-ID: <1015181182.3c826f7edf2f6@marina.horde.org>
Date: Sun,  3 Mar 2002 13:46:22 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <1015176372.3c825cb49659e@Mail.MexComUSA.Net>
In-Reply-To: <1015176372.3c825cb49659e@Mail.MexComUSA.Net>
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] Confusion with imp_get_vinfo and Auth::getAuth results.

Quoting Edwin Culp <eculp@encontacto.net>:

> To use virtual domains in courier without having to type the complete
> username@domain.com but only the user name and using imp_get_vinfo in
> conf.php and called in login.inc the authentication process works perfectly
> and I am able to login with no problems.  The problem is that all calls
> to Auth::getAuth() return username@domain.com@mail.domain.com. 

You have a 'realm' setting in servers.php. Set it to ''.

-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 eculp@encontacto.net Date: Sun,  3 Mar 2002 11:15:56 -0800
Return-Path: <eculp@encontacto.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 54239 invoked from network); 3 Mar 2002 19:15:59 -0000
Received: from adsl-64-173-182-158.dsl.mtry01.pacbell.net (HELO encontacto.net) (64.173.182.158)
  by clark.horde.org with SMTP; 3 Mar 2002 19:15:59 -0000
Received: from localhost (localhost [127.0.0.1])
  (uid 0)
  by encontacto.net with local; Sun, 03 Mar 2002 11:15:56 -0800
Received: from 64.173.182.155 ( [64.173.182.155])
	as user eculp@mexcomusa.net@mail.mexcomusa.net by Mail.MexComUSA.Net with HTTP;
	Sun,  3 Mar 2002 11:15:56 -0800
Message-ID: <1015182956.3c82766cb0c95@Mail.MexComUSA.Net>
Date: Sun,  3 Mar 2002 11:15:56 -0800
From: Edwin Culp <eculp@encontacto.net>
To: imp@lists.horde.org
References: <1015176372.3c825cb49659e@Mail.MexComUSA.Net> <1015181182.3c826f7edf2f6@marina.horde.org>
In-Reply-To: <1015181182.3c826f7edf2f6@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: 64.173.182.155
Subject: Re: [imp] Confusion with imp_get_vinfo and Auth::getAuth results.

Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Edwin Culp <eculp@encontacto.net>:
> 
> > To use virtual domains in courier without having to type the complete
> > username@domain.com but only the user name and using imp_get_vinfo in
> > conf.php and called in login.inc the authentication process works
> perfectly
> > and I am able to login with no problems.  The problem is that all calls
> > to Auth::getAuth() return username@domain.com@mail.domain.com. 
> 
> You have a 'realm' setting in servers.php. Set it to ''.

Chuck,

Duh?  Duh?  That was it.  I set it so long ago that I had forgotten 
it even existed.  To make matters worse, I had it set as $HTTP_HOST.  
If it had not been changing with $vdomain, I MIGHT have found it.  

That is a releaf.  Thanks for the tip.  The good part is, I understand
the login process much better, now:-)

ed

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

-------------------------------------------------



>From imp.list@markchitti.com Date: Sun,  3 Mar 2002 15:04:40 -0500
Return-Path: <imp.list@markchitti.com>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 55639 invoked from network); 3 Mar 2002 20:04:43 -0000
Received: from unknown (HELO topeth.markchitti.com) (207.246.101.19)
  by clark.horde.org with SMTP; 3 Mar 2002 20:04:43 -0000
Received: (from apache@localhost)
	by topeth.markchitti.com (8.11.6/8.11.2) id g23K4e007499
	for imp@lists.horde.org; Sun, 3 Mar 2002 15:04:40 -0500
X-Authentication-Warning: topeth.markchitti.com: apache set sender to imp.list@markchitti.com using -f
Received: from 207.246.101.18 ( [207.246.101.18])
	as user mchitti@mail.markchitti.com by webmail.markchitti.com with HTTP;
	Sun,  3 Mar 2002 15:04:40 -0500
Message-ID: <1015185880.3c8281d8641a0@webmail.markchitti.com>
Date: Sun,  3 Mar 2002 15:04:40 -0500
From: Mark Chitti <imp.list@markchitti.com>
To: imp@lists.horde.org
References: <Pine.LNX.4.44.0203032200520.24536-100000@mailhub.air.net.au> <3C820B25.80401@tootai.com>
In-Reply-To: <3C820B25.80401@tootai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252;q=1.0
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.0
X-Originating-IP: 207.246.101.18
Subject: Re: [imp] unable to send mail from IMP 2.2.7

Make sure that you haven't turned file uploads off (in /etc/php.ini) if you are using a php version less than 4.0.6.  If you have (and you might have because of the hole in php) then you won't be able to send mail, since it is done via POST and turning off file uploads affects this (though it shouldn't.)

Quoting daniel huhardeaux <daniel.huhardeaux@tootai.com>:

>> Ben Elliston wrote:
>> 
>>  >I am unable to send mail from IMP.  When I hit the "Send" button, the
>>  >composition window is refreshed and I get a blank new message form to
>>  >complete--the message being edited is lost and is never sent.
>>  >...
>>  >
>>