PDA

View Full Version : Horde Webmail Install


IrishLad
07-30-2009, 10:52 AM
Hi All,
I hope someone can help guide me here, I am trying to install Horde onto my ISPManager install.

My OS is Debian Lenny with ISPManager as a VPS.

Has someone tried this?

I would like to get it installed as I use the Tasks and Calender as much as the email, and want to move to ISPManager (previously on Kloxo).

Can anyone help with this and explain the process?

Thanks ;)

hugohiram
07-30-2009, 06:58 PM
Hello,

I am also interested in this topic.

Regards.

vadim s. sabinich
07-31-2009, 09:00 AM
I dont understand what is your problem.
Please, loot at http://wiki.debian.org/Horde

khaliki
08-13-2009, 03:15 PM
Follow his instructions for steps 1-6.

7) Change the configure.php in /usr/local/directadmin/customapache. Add these lines:
--with-imap=/usr/local/imap-2000e \
--with-gettext
at the end of the configure statement. Remember to add a "\" to the previous line. The configure statement should look like this:

Code:

./configure

--with-apxs

--with-curl

--with-curl-dir=/usr/local/lib

--with-gd

--with-gd-dir=/usr/local/lib

--with-gettext

--with-jpeg-dir=/usr/local/lib

--with-kerberos

--with-mcrypt

--with-mysql

--with-pear

--with-png-dir=/usr/local/lib

--with-xml

--with-zlib

--with-zlib-dir=/usr/local/lib

--enable-bcmath

--enable-calendar

--enable-ftp

--enable-magic-quotes

--enable-sockets

--enable-track-vars

--with-imap=/usr/local/imap-2000e \

--with-gettext

Finish with steps 8 and 9.

Now, do the following via ssh:

Code:

pear install Log
pear install Mail_Mime
cd /var/www/html
wget
tar xzpf horde-latest.tar.gz
rm -f horde-latest.tar.gz
dir

See what directory is created, for me it's horde-2.2.5. Then edit

/etc/httpd/conf/httpd.conf to add:

Code:

Alias /horde /var/www/html/horde-2.2.5/

If your folder's version # is different, change it to reflect that. Save and then restart apache (/usr/local/etc/rc.d/httpd restart for BSD, service httpd restart for Linux). Back to the shell:

Code:

cd /var/www/html/horde-2.2.5/scripts/db/

edit mysql_drop.sql to the password of your choice, just for security reasons. then do:

Code:

cat /usr/local/directadmin/scripts/setup.txt

Make a note of what adminpass equals. Replace adminpass below with it.

Code:

mysql -u da_admin -padminpass < mysql_create.sql
cd ../../config
for foo in *.dist; do cp $foo `basename $foo .dist`; done

It's time to test it out. Go to [url]http://yourdomain.com/horde/test.php

You should get:

Quote:
Horde Versions

* Horde: 2.2.5

PHP Version

* View phpinfo() screen
* PHP Version: 4.3.8
* PHP Major Version: 4.3
* PHP Minor Version: 8
* PHP Version Classification: release
* You are running a supported version of PHP.

PHP Module Capabilities

* DOM XML Support: No
* FTP Support: Yes
* Gettext Support: Yes
* IMAP Support: Yes
* LDAP Support: No
* MCAL Support: No
* Mcrypt Support: Yes
* MySQL Support: Yes
* PostgreSQL Support: No
* XML Support: Yes

Miscellaneous PHP Settings

* magic_quotes_runtime disabled: Yes
* file_uploads enabled: Yes
* safe_mode disabled: Yes
* trans_sid disabled: Yes

PHP Sessions

* Session counter: 6
* To unregister the session: click here

PEAR

* PEAR - Yes
* Recent PEAR - Yes
* Mail - Yes
* Log - Yes
* DB - Yes
* Net_Socket - Yes
* Date - Yes
* HTML_Common/HTML_Select - No
* Horde requires the HTML_Common and HTML_Select classes only for Kronolith 1.0 to

display forms correctly.
Everything that's displaying "No" on my page above won't hinder performance. If you want

all "Yes"/green, I'm sure you can find tutorials elsewhere to get them working.

So, you've installed Horde. Now, that's nice and all, but it's not useful at all right now.

Everything (even mail checking) are external projects you need to add. I'll only get into installing IMP for now, which is their email client.

Code:

cd /var/www/html/horde-2.2.5
wget
tar xzpf imp-latest.tar.gz
rm -f imp-latest.tar.gz
mv imp-3.2.5 imp

Edit /var/www/html/horde-2.2.5/config/registry.php and change:
Code:

/* auth: Handler for user authentication.
* Uncomment the auth/login/logout lines if you want to let
* IMP handle the authentication for Horde. This avoids the
* "double login" while accessing IMP.
*/
// $this->registry['auth']['login'] = 'imp';
// $this->registry['auth']['logout'] = 'imp';

to:
Code:

/* auth: Handler for user authentication.
* Uncomment the auth/login/logout lines if you want to let
* IMP handle the authentication for Horde. This avoids the
* "double login" while accessing IMP.
*/
$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';

and further down in the file, make sure the status for horde is set to active:

Quote:
$this->applications['horde'] = array(
'fileroot' => dirname(__FILE__) . '/..',
'webroot' => '/horde',
'initial_page' => 'login.php',
'icon' => '/horde/graphics/home.gif',
'name' => _("Horde"),
'allow_guests' => true,
'status' => 'active',
'templates' => dirname(__FILE__) . '/../templates',
'cookie_domain' => $_SERVER['SERVER_NAME'],
// ** If IE will be used to access Horde modules, you should read
// this discussion about the cookie_path setting (discussing issues
// with IE's Content Advisor):
// [url]http://lists.horde.org/archives/imp/...13/029149.html
'cookie_path' => '/horde',
'server_name' => $_SERVER['SERVER_NAME'],
'server_port' => $_SERVER['SERVER_PORT']
);
then in the shell:
Code:

cd /var/www/html/horde-2.2.5/imp/config
for foo in *.dist; do cp $foo `basename $foo .dist`; done

The documentation says to do some more configuring, but I didn't and it worked immediately.

vadim s. sabinich
08-27-2009, 05:35 AM
so, and what is your question?

Nerd17
10-09-2009, 01:36 AM
Have you been able to implement it now? Just so you know, I think horde is a great email program so here's to a good decision on your behalf.

GakcaT
10-09-2009, 03:26 AM
At the present time we are fixing bugs and we aren't going to add new features till November.