![]() |
|
#1
|
||||||
|
||||||
|
How-To: Horde Webmail
Hi guys, seems like it's been sometime since the previous how-to guide for horde webmail, since I see someone needing help, I might as well post how I did it
, oh yeah the previous thread is http://www.directadmin.com/forum/sho...ighlight=hordeThis is only tested on CENTOS 4.2 1) First we need c-client to be installed if you have not done so. But there will be some things that is needed to be install first, so let's use yum first. # yum install pam # yum install pam-devel Now we download c-client file # wget ftp://ftp.cac.washington.edu/imap/c-client.tar.Z # tar -zxvf c-client.tar.Z # cd imap-2004g (this is the latest for now) # nano Makefile (read inside which format you need to use, eg "slx", "lnp", "lrh", or "lsu") For centos, we will use this # make lrh EXTRACFLAGS=-I/usr/kerberos/include EXTRALDFLAGS=-I/usr/kerberos/lib Let's create directories for c-client, name varies on version. # mkdir /usr/local/imap-2004g Create libraries dir # mkdir /usr/local/imap-2004d/lib Create include dir # mkdir /usr/local/imap-2004d/include Change dir into the c-client dir. # cd c-client/ Copy all .h files into /usr/local/imap-2004d/include/ # cp *.h /usr/local/imap-2004d/include/ Copy all .c files. # cp *.c /usr/local/imap-2004d/lib/ Copy c-client.a # cp c-client.a /usr/local/imap-2004d/lib/libc-client.a Now configure the ./configuration.php (or _ap2 if you are on apache2) , please take note of the directory name you created. --with-imap=/usr/local/imap-2004g \ --with-gettext It should look like this Quote:
# /usr/local/directadmin/customapache # ./build php or if you are using other php version, follow this guide (taken from http://www.directadmin.com/forum/sho...ght=update+php done by fusionictnl) # cd php-version -#/usr/local/directadmin/customapache/configure.php ( _ap2 for Apache2) # make # make install # service httpd restart Now check your phpinfo, you should see something like this : Quote:
Basic instruction taken from http://www.directadmin.com/forum/sho...ighlight=horde done by james99 # pear install Log # pear install Mail_Mime # cd /var/www/html # wget http://ftp.horde.org/pub/horde/horde-latest.tar.gz # tar xzpf horde-latest.tar.gz # rm -f horde-latest.tar.gz # dir Horde 3.1 is the version i got, so we will.. # nano /etc/httpd/conf/httpd.conf add this line Quote:
alias /phpmyadmin /var/www/html/PhpMyadmin/ lets restart apache for the change in httpd.conf to take effect # service httpd restart Now we go to horde's database folder # cd /var/www/html/horde-3.1/scripts/sql Quote:
#mysqladmin --user=root --password=sqlrootpassword reload #mysql --user=horde --password=horde horde # cd ../../config # for foo in *.dist; do cp $foo `basename $foo .dist`; done Okay, we have done phase 1 for the horde webmail, let's test it out go to http://www.yourdomain.com/horde-3.1/test.php you should see something like this: Quote:
I realise I missed alot of pear module when I installed, so some of them are... Quote:
# cd /var/www/html/horde-3.1 # wget http://ftp.horde.org/pub/imp/imp-latest.tar.gz # tar xzpf imp-latest.tar.gz # rm -f imp-latest.tar.gz # mv imp-h3-4.1 imp # cd /var/www/html/horde-3.1/imp/config # for foo in *.dist; do cp $foo `basename $foo .dist`; done Now, this just installs Horde and IMP. Lets go to http://www.yourdomain.com/horde-3.1 and go under administration, and do setup for horde and IMP. You should be good to go now Last edited by koh; 03-12-2006 at 04:03 AM. |
|
#2
|
||||
|
||||
|
i have installed horde on my servers long time ago. but never be OK
1 server got this when sending email: There was an error sending your message: Validation failed for: admin@.SYNTAX-ERROR another 1 can send email...but all plugins such as nag, mnemo, kronolith, turbo do not work at all. for example, you would never find a "Add a new note" button in mnemo but the first server doesnt have this problem any idea?
__________________
Rails in DA - Ruby on Rails plugin with an AJAX shell DA-Tomcat - Tomcat manager plugin DA-PgSQL - PostgreSQL plugin IP Deny Manager - prevent someone from accessing your web site and prevent hotlinking. DeeperAdmin - Manager your server "deeper" DA-PEAR - Free plugin to view installed PEAR packages Order at http://www.daplugin.com daplugin.build Shell Script to install PgSQL, JDK, Tomcat, Ruby, RubyGems...etc |
|
#3
|
|||
|
|||
|
Quote:
Quote:
and from horde side, i found this: Quote:
|
|
#4
|
||||
|
||||
|
yes your are right
logging in with username will lead to an send mail error ok for logging with email address
__________________
Rails in DA - Ruby on Rails plugin with an AJAX shell DA-Tomcat - Tomcat manager plugin DA-PgSQL - PostgreSQL plugin IP Deny Manager - prevent someone from accessing your web site and prevent hotlinking. DeeperAdmin - Manager your server "deeper" DA-PEAR - Free plugin to view installed PEAR packages Order at http://www.daplugin.com daplugin.build Shell Script to install PgSQL, JDK, Tomcat, Ruby, RubyGems...etc Last edited by hehachris; 03-12-2006 at 07:31 AM. |
|
#5
|
||||
|
||||
|
solution:
the user should set his From Address Options -> Mail -> Fill the From Address
__________________
Rails in DA - Ruby on Rails plugin with an AJAX shell DA-Tomcat - Tomcat manager plugin DA-PgSQL - PostgreSQL plugin IP Deny Manager - prevent someone from accessing your web site and prevent hotlinking. DeeperAdmin - Manager your server "deeper" DA-PEAR - Free plugin to view installed PEAR packages Order at http://www.daplugin.com daplugin.build Shell Script to install PgSQL, JDK, Tomcat, Ruby, RubyGems...etc |
|
#6
|
||||
|
||||
|
horde.org does not seem to respond, so an alternative to get the horde tarball is:
http://public.www.planetmirror.com/p...-latest.tar.gz |
![]() |
| Thread Tools | |
| Display Modes | |
|
|