Install horde-webmail-groupware

This will install horde-webmail-groupware with postgresql8-support

install proper php

* you can compile your own php that fits the needs as described in http://www.goldfisch.at/knowwiki/howtos/install_php_5.2.5

* use ubuntu-php and install the following addons:

apt-get  install php5-pgsql php5-imap

you will be asked a complex question about maildirs .. dont worry and press YES

install horde-webmail-groupware

  1. download horde-webmail-groupware 1.1rc3 (or newer !!), extract and rename folder to horde
  2. run scripts/setup.php
  3. edit config/registry.php
    • remove the webroot=>autodetect
    • replace with ‘webroot’ => ‘/horde’
  4. if you play around a bit and things dont work, be sure to clear your local cached cookies before trying again, cause cookie-managment is weird with horde.
  5. in config/conf.php you might want change
$conf['cookie']['path'] = '/';

configure default-values

[application]/config/prefs.php has defaultvalues you like to change:

imp/config/prefs.php

$_prefs['delete_attachments_monthly'] = array(
    'value' => 0,

$_prefs['subscribe'] = array(
    'value' => 1,

$_prefs['spam_folder'] = array(
    'value' => 'Junk',

$_prefs['trash_folder'] = array(
    'value' => 'Trash',

$_prefs['save_attachments'] = array(
    'value' => 'always',

$_prefs['purge_trash_interval'] = array(
    'value' => '5',

$_prefs['purge_trash'] = array(
    'value' => 1,

$_prefs['save_recipients'] = array(
    'value' => 1,
$_prefs['add_source'] = array(
  'value' => 'localsql',


configure ingo

  • test sieve as described in install-sieve.html (part of cyrus-imap-documentation). If you are sure sieve works, go on with step 2.
  • edit ingo/config/backend.php and remove all backends, but the sieve-backend.
<?php

$backends['sieve'] = array(
    'driver' => 'timsieved',
    'preferred' => 'localhost',
    'hordeauth' => true,
    'params' => array(
        // Hostname of the timsieved server
        'hostspec' => 'localhost',
        // Login type of the server
        'logintype' => 'PLAIN',
        // Enable/disable TLS encryption
        'usetls' => false,
        // Port number of the timsieved server
        'port' => 2000,
        // Name of the sieve script
        'scriptname' => 'ingo',
        // The following settings can be used to specify an administration
        // user to update all users' scripts. If you want to use an admin
        // user, you also need to disable 'hordeauth' above. You have to use
        // an admin user if you want to use shared rules.
        // 'username' => 'cyrus',
        // 'password' => '*****',
    ),
    'script' => 'sieve',
    'scriptparams' => array(),
    'shares' => false
);
  • Dont change ingo/config/conf.php
  • Dont change anything in horde -> adminstration -> setup -> ingo
  • log off and log on and if it doesnt work,do it more often
  • under filters you should have the new templates from sieve
  • check if you have specified sendmail and its path proper in /etc/imapd.conf
 
knowwiki/howtos/horde-webmail-groupware.txt · Last modified: 2008/04/15 00:02 by peter