MIlos Prudek | 1 Jul 2006 15:14
Picon

Re: XML-RPC woes


> Not necessarily, only if you setup SSO for Horde and IMP. But even
> then, you could simply use the basic authentication to test the user
> credentials, with any RPC call.

Actually I do have a single sign on for Horde and IMP. Do I need to add basic 
HTTP auth data to my XML-RPC IMP authenticate call?

-- 
Milos Prudek
--

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe <at> lists.horde.org

P.V.Anthony | 1 Jul 2006 20:57
Picon

Zip download not working for me

Hi,

When I click on the "download attachments as zip", the file does 
download but I am not able to unzip it.

What am I doing wrong?

Please let me know if I have to add any special flags when compiling 
php. Or if I have to install any pear extensions to make the zip 
download work.

Please do advise.

I am currently using the following.

Fedora Core 1
php 4.3.11
Horde 3.1.1
Imp 4.1.2

P.V.Anthony
--

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe <at> lists.horde.org

Jan Schneider | 2 Jul 2006 15:20
Favicon
Gravatar

Re: XML-RPC woes

Zitat von MIlos Prudek <prudek <at> bvx.cz>:

>
>> Not necessarily, only if you setup SSO for Horde and IMP. But even
>> then, you could simply use the basic authentication to test the user
>> credentials, with any RPC call.
>
> Actually I do have a single sign on for Horde and IMP. Do I need to add basic
> HTTP auth data to my XML-RPC IMP authenticate call?

Yes.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe <at> lists.horde.org

Mike Cisar | 2 Jul 2006 18:27

Access to "name" parameter from servers.php

I'm running the latest Horde/IMP, using IMP for authentication.  It is
configured for a hidden server list, using the 'preferred' mechanism to
determine the server settings.

I have made some changes to imp/login.php and imp/templates/login/login.inc
to customize the login page.  One of these changes involves replacing the
"welcome to horde" banner with something more specific to the individual
domain that the person is logging into (ie. "Welcome to Big Company
Webmail").  

I've currently got these values hardcoded, but what I am wondering is how I
might access the value of the 'name' field in servers.php for the currently
active server (ie. the appropriate '$servers' section has been chosen by the
'preferred' mechanism... now I need to extract the 'name' value from that
particular "$servers" section).  This seems like the easiest method for us
to maintain since the appropriate welcome string can be placed in that field
when the rest of the server parameters are added when configuring a new
server.

I've poked around the code a bit and have tried a few things based on the
code that generates the servers pulldown on the login screen.  But the grand
total of those efforts so far has been either a crash or an empty string.
Chalk it up to lack of understanding of the code as a result of weak PHP
programming skills :-)

If someone could post a code snippet or some pointers that would help to
extract that piece of information that would be greatly appreciated.

Regards,
>>>>> Mike <<<<<
(Continue reading)

Jan Schneider | 3 Jul 2006 09:36
Favicon
Gravatar

Re: Access to "name" parameter from servers.php

Zitat von Mike Cisar <mlists <at> starmania.net>:

> I'm running the latest Horde/IMP, using IMP for authentication.  It is
> configured for a hidden server list, using the 'preferred' mechanism to
> determine the server settings.
>
> I have made some changes to imp/login.php and imp/templates/login/login.inc
> to customize the login page.  One of these changes involves replacing the
> "welcome to horde" banner with something more specific to the individual
> domain that the person is logging into (ie. "Welcome to Big Company
> Webmail").
>
> I've currently got these values hardcoded, but what I am wondering is how I
> might access the value of the 'name' field in servers.php for the currently
> active server (ie. the appropriate '$servers' section has been chosen by the
> 'preferred' mechanism... now I need to extract the 'name' value from that
> particular "$servers" section).  This seems like the easiest method for us
> to maintain since the appropriate welcome string can be placed in that field
> when the rest of the server parameters are added when configuring a new
> server.

$_SESSION['imp']['server']

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--

-- 
(Continue reading)

Kimberly Schnarrs | 3 Jul 2006 15:41

Form Response

Can someone please explain to me what exactly “form response” means?

Kimberly Schnarrs

Patient Care Coordinator

Michael J. Brown MD, PLLC

297 Herndon Parkway, Suite 101

Herndon, VA  20170

Tel: 703.435.0041

Fax: 703.435.5991

HYPERLINK "http://www.rejuven8u.com"www.rejuven8u.com

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006

  
--

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
(Continue reading)

P.V.Anthony | 3 Jul 2006 16:00
Picon

Zip download not working for me

Sorry for sending this again but please do advise.

P.V.Anthony

Hi,

When I click on the "download attachments as zip", the file does
download but I am not able to unzip it.

What am I doing wrong?

Please let me know if I have to add any special flags when compiling
php. Or if I have to install any pear extensions to make the zip
download work.

Please do advise.

I am currently using the following.

Fedora Core 1
php 4.3.11
Horde 3.1.1
Imp 4.1.2

P.V.Anthony

--

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe <at> lists.horde.org
(Continue reading)

Mike Cisar | 3 Jul 2006 20:26

Re: Access to "name" parameter from servers.php

Hi Jan,

> > the 'name' value from that particular "$servers" section).  This
> > like the easiest method for us to maintain since the appropriate
> > welcome string can be placed in that field when the rest of the server
> > parameters are added when configuring a new server.
> 
> $_SESSION['imp']['server']

I've tried your suggestion and get a blank string... corresponding with the
following error in the httpd error log... "PHP Notice:  Undefined index:
imp in /var/www/html/horde/imp/login.php on line 157"

What I have done is take the existing line...
"$title = sprintf(_("Welcome to %s"), $registry->get('name', ($imp_auth) ?
'horde' : null));"

and changed it to...
$myservername = $_SESSION['imp']['server'];
"$title = "Welcome to the $myservername Web Portal";

I don't think there is a session yet before we log in, is that why it would
give that error?

Also, have checked the value of that variable after login just to see the
value, and it doesn't look like the info I was looking for anyway... it's
showing "mail.testdomain.com"

$servers['mail.testdomain.com'] = array(
    'name' => 'Big Test Corporation',
(Continue reading)

Jan Schneider | 3 Jul 2006 23:12
Favicon
Gravatar

Re: Access to "name" parameter from servers.php

Zitat von Mike Cisar <mlists <at> starmania.net>:

> Hi Jan,
>
>> > the 'name' value from that particular "$servers" section).  This
>> > like the easiest method for us to maintain since the appropriate
>> > welcome string can be placed in that field when the rest of the server
>> > parameters are added when configuring a new server.
>>
>> $_SESSION['imp']['server']
>
> I've tried your suggestion and get a blank string... corresponding with the
> following error in the httpd error log... "PHP Notice:  Undefined index:
> imp in /var/www/html/horde/imp/login.php on line 157"
>
> What I have done is take the existing line...
> "$title = sprintf(_("Welcome to %s"), $registry->get('name', ($imp_auth) ?
> 'horde' : null));"
>
> and changed it to...
> $myservername = $_SESSION['imp']['server'];
> "$title = "Welcome to the $myservername Web Portal";
>
> I don't think there is a session yet before we log in, is that why it would
> give that error?

Correct. You need to loop through $servers then and use  
IMP::isPreferredServer().

Jan.
(Continue reading)

Joan Bryan | 4 Jul 2006 11:09
Picon
Favicon

Apache sessions filling up

Dear List

I am using PHP 4.4.1 with Turck mmcache, horde-3.0.6, imp-h3-4.0.4 
ingo-h3-1.0.2 turba-h3-2.0.4, and an up-imap-proxy1.2.3 server and 
apache-2.0.48

Since upgrading from imp 3.2.8 I have to restart apache as sessions 
remain idle for ever - far past the default session timeout, and apache 
sessions are gradually used up to the server maximum (unless restarted)

As well, no user is being automatically logged out as was the case 
previously, and may be related to this problem.

I'd be grateful for any pointers on this, as sometimes the cache does 
not appear to clear properly after apache is restarted and the user 
sees garbled message until the next restart (automatic or otherwise).

An extract of Apache server-status showing rather large seconds since 
beginning of most recent request - although
theses users may be forwarding or composing, because of the resource 
being used up - I have to get rid of them eventually.

Srv    PID Acc     M   CPU  SS Req Conn Child Slot Client VHost Request 
183-0 2734 0/1/747 W  0.07 5524 0 0.0 0.000 1.94  10.10.10.10 impmail 
GET/horde-3.0.6/services/portal/sidebar.php?httpclient=1 HTTP 232-0 
21741 0/9/90 W  1.27 5718 0 0.0 0.01 0.18  10.10.10.11 impmail
GET /horde-3.0.6/imp/view.php?actionID=compose_attach_preview&i

Srv Child Server number - generation PID OS process ID Acc Number of 
accesses this connection / this child / this slot M Mode of operation 
(Continue reading)


Gmane