[[toc]]
##red|** ------- NOT READY YET!! DO NOT USE UNTIL IT'S COMPLETED!! ------- **##
Horde Groupware Webmail Edition is a free, enterprise ready, browser based communication suite. Users can read, send and organize email messages and manage and share calendars, contacts, tasks and notes with the standards compliant components from the Horde Project. Horde Groupware Webmail Edition bundles the separately available applications IMP, Ingo, Kronolith, Turba, Nag and Mnemo.
||http://www.horde.org/webmail/||
++ Versions
CentOS 5.0 i386 (OS)
Horde Groupware Webmail Edition 1.0.3 (October 2 2007)
Apache (http server)
MySQL 5.0.22 (db server)
Postfix (mail server)
Dovecot (IMAP)
++ Installing prerequisites
yum install -y gettext httpd mysql mysql-server dovecot postfix system-switch-mail perl
yum install -y php php-mysql php-xml php-imap php-mbstring php-mcrypt php-pecl-Fileinfo php-pecl-memcache php-pear-DB php-pear-File php-pear-Log php-pear-Mail-Mime php-pear-Auth-SASL php-pear-Date php-pear-HTTP-Request php-pear-Mail php-pear-Net-Sieve php-pear-Net-Socket php-pear-Net-SMTP
++ Set up your host name and address
Do not remove the following line, or various programs
that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.100 yourhostname.yourdomain.com yourhostname
::1 localhost6.localdomain6 localhost6
++ Configuring Postfix and Dovecot
service sendmail stop
chkconfig sendmail off
system-switch-mail
(select postfix)
postconf -e 'home_mailbox = Maildir/'
mail_location = maildir:~/Maildir
namespace private {
separator = /
prefix = ""
inbox = yes
}
protocols = imap
||http://fedorasolved.org/server-solutions/postfix-mail-server||
++ Start services:
service httpd start
chkconfig httpd on
service postfix start
chkconfig postfix on
service dovecot start
chkconfig dovecot on
service mysqld start
chkconfig mysqld on
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h yourhostname.yordomain.com password 'new-password'
++ Download Horde G. W. Edition and extract
||http://www.horde.org/download/app/?app=webmail||
tar zxf horde-webmail-1.0.3.tar.gz -C /var/www/html/
mv /var/www/html/horde-*/ /var/www/html/horde/
cd /var/www/html/horde/config
rm -rf hooks.php.dist
for d in *.dist; do d0=basename $d .dist; if [ ! -f "$d0" ]; then cp -p $d $d0; fi; done
++ Security configuration
chown root:apache -Rv /var/www/html/horde/
chmod 0770 -Rv /var/www/html/horde
chmod 0640 -v /var/www/html/horde/config/*.dist
chmod 0640 -v /var/www/html/horde/config/.htaccess
chmod go-rwx /var/www/html/horde/test.php
chown -R root:apache /var/www/html/horde/config
chmod -R 750 /var/www/html/horde/config
chown -R root:apache /var/www/html/horde/config/.htaccess
chmod -R 640 /var/www/html/horde/config/.htaccess
chown -R root:apache /var/www/html/horde/config/*.dist
chmod -R 640 /var/www/html/horde/config/*.dist
...
++ Creating database
cd /var/www/html/horde/scripts/
./setup.php
Press 1; choose mysql; Persistent connection 0; Username horde; Choose a password for mysql user horde; Unix sockets; Locatio null; DB name horde;
Press 2; yes; root; root mysql password;
Press 3; specify an existing IMAP user to have horde administration permissions
... (Later I'll continue this howto)