How to install Horde Webmail

Started by darkness, December 17, 2016, 12:05:01 AM

Previous topic - Next topic

darkness

Here`s how I installed my Horde Webmail. I assume that you already have CWP with Apache, PHP and MySQL.
1. Register Horde PEAR channel:
   pear channel-discover pear.horde.org
2. Set Horde installation directory:
  cd /usr/local/apache/htdocs
  pear install horde/horde_role
  pear run-scripts horde/horde_role
3. Install Horde Groupware Webmail Edition:
  pear install -a -B horde/webmail
4. Run installation script:
  webmail-install
5. Test Horde Groupware Webmail Edition:
  cd /usr/local/apache/htdocs/horde/config/
  nano -w conf.php
  find $conf['testdisable'] = true; and change it to $conf['testdisable'] = false;
6. Making it visible
  Go to CWP -> Apache Settings -> Apache Include Conf -> domain-redirects.conf
  Add this line at the end of the file: Alias /horde /usr/local/apache/htdocs/horde
  Save and restart Apache
7. Check if everything is ok
  Go to http://your_ip/horde/test.php or http://your_domain/horde/test.php
  If you see everything in green than you are ok. Change back to $conf['testdisable'] = true; and enjoy your new horde webmail.
  If you see something in red install/fix it. Check test.php again until you see everything in green.

When you`re ready with all the stuff in test.php DON`T FORGET to edit again /usr/local/apache/htdocs/horde/config/conf.php and set $conf['testdisable'] = true;
Hope this helps. I`ll try to answer all the questions if you have any.
 
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

joaomach


darkness

Sorry for my late reply. This was on CentOS 6.8 (Final), but in the same time it would be the same on CentOS 7.x as Horde Webmail is downloading only PEAR modules. If you are not sure - check the install instructions on their web page.
Best regards.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...

paskal

Quote from: darkness on December 17, 2016, 12:05:01 AM


hi, what if I want to install Afterlogic WebmailPro as server's default webmail instead of Horde/Roundcube? I've read the WebmailPro documentation, but didn't found anything about installing it as admin.

Could you please guide me?

ninja

I get error 500

I  followed same instruction except that I installed horde in /var/www/horde


domain/horde gives 5000 error

darkness

@ninja just fix the permissions of the horde webmail folder.
UNIX is a very simple OS, but you have to be a GENIUS to understand it ...