Koozali.org: home of the SME Server

IMP 3.2 RPMs anyone?

Ian Wells

IMP 3.2 RPMs anyone?
« on: February 24, 2003, 08:05:03 PM »
Now that IMP 3.2 has been released has anyone tried this on SME 5.6 and rolled some RPMs?

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #1 on: February 24, 2003, 08:33:50 PM »
Hmmm, wasn't aware it was out (haven't been following the imp list as closely as I should, I guess).  I'll try to get around to it shortly, but it may be a while.

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #2 on: February 25, 2003, 06:07:51 PM »
OK, RPMs of IMP 3.2 and horde 2.2.1 are built and will be in my contrib area tonight.  There are a couple of things that need to be tweaked, though.  I'll work on updating my e-smith-horde and e-smith-imp RPMs, but probably won't have them ready until at least tomorrow night.

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #3 on: February 25, 2003, 06:33:34 PM »
Got to it quicker than I thought.  A new e-smith-imp RPM will also be in my contrib area tonight; a new horde one isn't needed.  To upgrade, do this:

* Install the three RPMs (horde, imp, and e-smith-imp)
* /sbin/e-smith/signal-event email-update
* /sbin/e-smith/expand-template /home/httpd/html/horde/config/horde.php
* /sbin/e-smith/expand-template /home/httpd/html/horde/config/registry.php

That should do it.

Graeme Fleming

Re: IMP 3.2 RPMs anyone?
« Reply #4 on: February 25, 2003, 09:26:58 PM »
.. just went looking for the RPM's and can't find them; where are they Dan??

BTW - any update to the Howto necessary for this update?

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #5 on: February 25, 2003, 09:46:21 PM »
As I wrote (twice), "will be in my contrib area *tonight*."  The mirror runs at 2130 EST; it'll probably show up on the ftp site at 2200 EST.

As far as updates to the HOWTO, I've only tested this on SME 5.6, and the HOWTO for that version appears in my last post.  It'll probably work on <= 5.5, but it may take some tweaking.

Graeme Fleming

Re: IMP 3.2 RPMs anyone?
« Reply #6 on: February 25, 2003, 10:32:22 PM »
Sorry Dan - got my timezones mixed up (as I am in Australia) - spose I will just have to be patient (not my best characteristic) :-)

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #7 on: February 25, 2003, 10:41:03 PM »
Not mine either, I'm sure.  If it helps, I don't see much in the way of visible changes compared to 3.1, which is what I was running before.

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #8 on: February 26, 2003, 05:30:19 AM »
Dan,

For the newbies among us, where is your contrib area?
Peter

Dan Brown wrote:
>
> As I wrote (twice), "will be in my contrib area *tonight*."
> The mirror runs at 2130 EST; it'll probably show up on the
> ftp site at 2200 EST.
>
> As far as updates to the HOWTO, I've only tested this on SME
> 5.6, and the HOWTO for that version appears in my last post.
> It'll probably work on <= 5.5, but it may take some tweaking.

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #9 on: February 26, 2003, 06:45:54 AM »

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #10 on: February 26, 2003, 06:38:31 PM »
Dan,

I downloaded your rpm's and updated my 5.5 server.  the update appeared to go well, but now, post-upgrade, webmail refuses my login, although I can still gain access from my IMAP client. I have tried resetting my password to no avail. Can you suggest where I should look for the problem?

Peter

Thor Anthrax

Re: IMP 3.2 RPMs anyone?
« Reply #11 on: February 26, 2003, 06:47:36 PM »
You have to upgrade to the latest horde and then do the stept Dan wrote earlier. That did the trick for me.

btw, Thanx Dan, for this great update! Nice work.

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #12 on: February 26, 2003, 06:55:52 PM »
Thor,

The three rpms I installed were:
e-smith-imp-1.9.0-01db.noarch.rpm
horde-2.2.1-1es.noarch.rpm
imp-3.2-1es.noarch.rpm

What other rpms do I need?

Peter

Dan Brown

Re: IMP 3.2 RPMs anyone?
« Reply #13 on: February 26, 2003, 07:09:08 PM »
Did you follow the two expand-template steps I indicated above?  If so, what are the contents of /home/httpd/html/horde/imp/config/servers.php?

Peter Walter

Re: IMP 3.2 RPMs anyone?
« Reply #14 on: February 26, 2003, 07:15:57 PM »
Dan,

Yes, I followed your steps carefully.  The contents of servers.php are below.

/*
#------------------------------------------------------------
# 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:'
);
 
Peter

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

Dan Brown

Re: And then came IMP 3.2.1
« Reply #30 on: March 12, 2003, 03:57:41 PM »
3.2.1 will be up in my contrib area tonight.

Zac Ariel

Re: And then came IMP 3.2.1
« Reply #31 on: March 12, 2003, 07:48:25 PM »
dan,

one of the things that 'broke' for me in imp 3.2 was attachments - attempting to download them would result in a 404. is this something that was fixed in 3.2.1? (reason i ask is it that it was bandied about on the horde mailing lists as being an issue (though nothing specific)).

or is there another issue at play here that there's a fix for?

z.

Ian Wells

Re: And then came IMP 3.2.1
« Reply #32 on: March 12, 2003, 10:24:22 PM »
Zac this doesn't really answer your question, but it explains 3.2.1.

>This is a bugfix release fixing several minor but annoying bugs; for all the
>gory details see:
>
>    http://cvs.horde.org/co.php/imp/docs/CHANGES?r=1.389.2.83

------
v3.2.1
------

[mms] Search results page fixed to correctly link to message compose if
from_link set to 'compose'.
[mms] Cancel now works correctly on the redirect screen when not composing
in a new window.
[mms] Don't show popup new mail windows on login.
[jan] Fix bug causing some MIME parts to not be displayed correctly.

Zac Ariel

Re: And then came IMP 3.2.1
« Reply #33 on: March 13, 2003, 06:14:59 AM »
i've actually worked what was going on here -- given that i installed straight from rpms, i find it a little odd - but it fixes the problem.

in a nutshell, i was missing ...horde/imp/download/ and ...horde/imp/download/index.php ... adding the directory and dropping in the index.php file from the horde cvs fixed everything up.

Dan Brown

Re: And then came IMP 3.2.1
« Reply #34 on: March 13, 2003, 04:10:32 PM »
Posted to devinfo last night:

   I have built RPMs of Horde 2.2.1, IMP 3.2.1, and Turba 1.2 for SME
5.6; they'll be available in a couple of hours in my contrib area.
Also available are updated e-smith-horde-1.7.0, e-smith-imp-1.9.0,
and e-smith-turba-1.1.0 (not -1.1) RPMs.  They've been tested a bit
on SME 5.6, not at all on prior versions.  Feedback, as always, is
appreciated.

ryan

Re: And then came IMP 3.2.1
« Reply #35 on: May 15, 2003, 09:51:03 PM »
I have udated IMP on 2 5.6 servers with 3.2.1.  Now I can't use the LDAP address book.....all searches come back with nothing.  Any ideas?

ryan