Koozali.org: home of the SME Server

IMP 3.2 RPMs anyone?

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #15 on: February 26, 2003, 07:23:25 PM »
OK, that shows that my e-smith-imp RPM is not compatible with SME 5.5.  Here's what it should contain:

/*
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------

*/
// Any entries whose key value ('foo' in $servers['foo']) begin with
// '_' (an underscore character) will be treated as prompts, and you
// won't be able to log in to them. The only property these entries
// need is 'name'. This lets you put labels in the list, like this
// example:
$servers['_prompt'] = array(
    'name' => 'Choose a mail server:'
);

$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => '',
    'maildomain' => 'yourdomain.com',
    'smtphost' => 'mail.yourdomain.com',
    'realm' => 'yourdomain.com',
    'preferred' => ''
);

/*
#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
*/

?>

You'll probably need to make a custom template fragment to do this.

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #16 on: February 26, 2003, 07:38:52 PM »
Dan,

I misled you in my last post. I apologize. The contents of the servers.php file are as follows:
===
/*
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# SME Server software. Instead, modify the source template in
# an /etc/e-smith/templates-custom directory. For more
# information, see http://www.e-smith.org/custom/
#
# copyright (C) 2002 Mitel Networks Corporation
#------------------------------------------------------------

*/
// Any entries whose key value ('foo' in $servers['foo']) begin with
// '_' (an underscore character) will be treated as prompts, and you
// won't be able to log in to them. The only property these entries
// need is 'name'. This lets you put labels in the list, like this
// example:
$servers['_prompt'] = array(
    'name' => 'Choose a mail server:'
);

$servers['imap'] = array(
    'name' => 'IMAP Server',
    'server' => 'localhost',
    'protocol' => 'imap/notls',
    'port' => 143,
    'folders' => '',
    'namespace' => '',
    'maildomain' => 'mydomain.com',
    'smtphost' => 'mail.mydomain.com',
    'realm' => 'mydomain.com',
    'preferred' => ''
);

/*
#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
*/

?>
===

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #17 on: February 26, 2003, 07:54:03 PM »
Then in that case, take a look at /home/httpd/html/horde/config/registry.php

Near the top, you should see these lines:

$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';

...and they should appear that way (i.e., not commented out).  Do they?

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #18 on: February 26, 2003, 08:04:30 PM »
Dan,

Yes, they are.

Peter

Dan Brown wrote:
>
> Then in that case, take a look at
> /home/httpd/html/horde/config/registry.php
>
> Near the top, you should see these lines:
>
> $this->registry['auth']['login'] = 'imp';
> $this->registry['auth']['logout'] = 'imp';
>
> ...and they should appear that way (i.e., not commented
> out).  Do they?

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #19 on: February 26, 2003, 08:19:55 PM »
Curiouser and curiouser...  Is there anything in /tmp/horde.log?

Ian Wells

Re: IMP 3.2 RPMs anyone?
« Reply #20 on: February 26, 2003, 08:19:59 PM »
Thanks for making these RPMs Dan, they installed without a hitch on 5.6.
Ian

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #21 on: February 26, 2003, 08:28:36 PM »
Dan,

No, the log file is empty. btw, after I did the install of the rpm's, I installed  E-Smith update 3 and ran the following commands:
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
Would that have anything to do with this problem?

Peter

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #22 on: February 26, 2003, 09:57:34 PM »
Dan,

I think that I am going to give up for now on fixing this problem on 5.5. Maybe if I (sigh) upgrade to 5.6 the problem will resolve itself. For now, I am happy that I have at least IMAP access.

Thanks for your help
Peter

Markus Antoni

Re: IMP 3.2 RPMs anyone?
« Reply #23 on: February 27, 2003, 02:31:44 AM »
Hi,

on 5.5. i had the same problem like peter. try this:

on servers.php (\home\httpd\html\horde\imp\config) change
'protocol' => 'imap/notls',  to protocol' => 'imap',

for me this works.

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #24 on: February 27, 2003, 06:33:42 AM »
Markus,

Thank you very much!!!. After changing the 'protocol' line as you suggested, the webmail started working again.

Peter
Markus Antoni wrote:
>
> Hi,
>
> on 5.5. i had the same problem like peter. try this:
>
> on servers.php (\home\httpd\html\horde\imp\config) change
> 'protocol' => 'imap/notls',  to protocol' => 'imap',
>
> for me this works.

Shad Lords

Re: IMP 3.2 RPMs anyone?
« Reply #25 on: February 27, 2003, 06:36:03 AM »
Dan,

Thanks for building the RPM's.  I may be able to shed some light on the problem.

Upon attempting to log on to webmail from a 5.6 box, /var/log/messages contains the following errors.

httpd: PHP Notice:  Undefined index:  session_timeout in /home/httpd/html/horde/lib/Registry.php on line 497
httpd: PHP Notice:  Undefined index:  cache_limiter in /home/httpd/html/horde/lib/Registry.php on line 499

If you look at /home/httpd/html/horde/config/horde.php.dist it contains directives for these two items along with a few others.  However the templated version does not contain these items.

-Shad

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #26 on: February 27, 2003, 06:41:58 AM »
Shad,

This indicates a need for an update to e-smith-horde, but isn't the cause of the problem--I get the same notices in messages myself.  Apparently they aren't critical, but looks like I'll need to work on an updated e-smith-horde RPM.

Sebastian

Another issue?
« Reply #27 on: March 12, 2003, 04:29:09 AM »
Thanks for the RPMs Dan. I've installed the three RPMs per your instructions. It all appears to work, however now the main horde menu does not have all the module links.

Please bear with me, I'm new to e-smith AND horde, but it looks like horde/menu.php is checking this:

  if ($params['status'] == 'active') {.....

but the config templates are setting this in horde/config/registry.php:

$this->applications['horde'] = array(

    'show' => true,

);

I added 'status' => 'active' to each, and they are showing up now.

Dan Brown

Re: Another issue?
« Reply #28 on: March 12, 2003, 06:43:18 AM »
Sebastian,

I've finally gotten around to building an e-smith-horde RPM with updated files for horde 2.2.  It will be in my contrib area tomorrow night around 2200 EST.  Shad, this should also fix the issue you reported.

Ian Wells

And then came IMP 3.2.1
« Reply #29 on: March 12, 2003, 10:38:04 AM »
As people on this thread are looking at the latest IMP you may be interested to know that IMP 3.2.1 has just been released

"IMP 3.2.1 (final) is now available. This is a minor bugfix release on top of 3.2. "

Personally I am now waiting for IMP 4.x which should have proper Japanese support.

Ian