Webmail horde3/imp4
aptitude install imp4 ingo1 turba2 kronolith2 nag2 mnemo2 touch /etc/horde/horde3/conf.bak.php touch /etc/horde/imp4/conf.bak.php touch /var/log/horde/horde3.log chmod 777 /etc/horde/*/conf.{php,bak.php} chown root.www-data /var/log/horde/horde3.log chmod 770 /var/log/horde/horde3.log
- Vhost config: /etc/apache2/sites-available/webmail:
<VirtualHost _default_:443> ServerName webmail.example.com ServerAlias webmail.* Alias /horde3 /usr/share/horde3 Alias /Microsoft-Server-ActiveSync /usr/share/horde3/rpc.php DocumentRoot /usr/share/horde3 <Directory /usr/share/horde3> Options FollowSymLinks AllowOverride Limit </Directory> <Files ~ "\.(inc|bak)$"> deny from all </Files> SSLEngine on </VirtualHost>
- Datenbank installieren
unzip < /usr/share/doc/horde3/examples/scripts/\ sql/create.mysql.sql.gz \ | mysql -u root -p
- DB User: horde
- DB Name: horde
- DB Password: horde CHANGE ME!
- Die 2. und 3. Zeile aus /etc/horde/horde3/conf.php löschen
- Im Browser „<SERVERIP>/horde3/“ öffnen
- Administration→Database mysql einstellen und Zugangsdaten eingeben
- In /etc/horde/horde3/registry.php den Abschnitt „imp4“ aktivieren:
... $this->applications['imp'] = array( 'fileroot' => '/usr/share/horde3/lib' . '/../imp', 'webroot' => $this->applications['horde']['webroot'] . '/imp', 'name' => _("Mail"), 'status' => 'active', 'provides' => array('mail', 'contacts/favouriteRecipients') ); ...
- Unter /etc/horde/imp4/servers.php den gewünschten IMAP Server einstellen und den Rest der Beispielconfig weglöschen:
... $servers['imap'] = array( 'name' => 'IMAP Server', 'server' => '<IMAPSERVER>', 'hordeauth' => false, 'protocol' => 'imap/notls', 'port' => 143, 'maildomain' => '', 'smtphost' => '<SMTPSERVER>', 'smtpport' => 25, 'realm' => '', 'preferred' => '', ); ...
- Horde und IMP Config festmachen:
chmod 644 /etc/horde/*/conf.{php,bak.php}
- /etc/horde/imp4/trailer.txt evtl. verändern.
- Ingo DB:
mysql-u root -p horde < /usr/share/doc/ingo1/examples/scripts/sql/ingo.sql
- Turba DB:
mysql -u root -p horde < /usr/share/doc/turba2/examples/scripts/sql/turba.sql
- Kronolith DB:
mysql-u root -p horde < /usr/share/doc/kronolith2/examples/scripts/sql/kronolith.mysql.sql
- Nag DB:
mysql-u root -p horde < /usr/share/doc/nag2/examples/scripts/sql/nag.sql