Horde as Webmail / Groupware for ISPconfig

Discussion in 'Tips/Tricks/Mods' started by RSRconnect, Mar 10, 2011.

  1. RSRconnect

    RSRconnect New Member

    Tested on openSUSE 11.3 with ISPconfig installed, here is my little manual for implementing horde as webmail / groupware for ISPconfig 3:

    # PRE-INSTALLATION

    - Create a User Webmail in ISPconfig

    - Create a subdomain or something else you like for this user

    - go to this domain (e.g. openSUSE /srv/www/YOURDOMAIN/web

    # HORDE

    wget ftp://ftp.horde.org/pub/horde/horde-latest.tar.gz
    tar xvfz horde-latest.tar.gz
    rm horde-latest.tar.gz
    mv horde-*/ horde/
    cd horde/config
    cp prefs.php.dist prefs.php
    cp conf.php.dist conf.php
    cp mime_drivers.php.dist mime_drivers.php
    cp nls.php.dist nls.php
    cp registry.php.dist registry.php
    touch conf.bak.php
    chmod 666 conf.php
    chmod 666 conf.bak.php
    cd ..

    # IMP

    wget ftp://ftp.horde.org/pub/imp/imp-latest.tar.gz
    tar xvfz imp-latest.tar.gz
    rm imp-latest.tar.gz
    mv imp-*/ imp/
    cd imp/config
    cp prefs.php.dist prefs.php
    cp mime_drivers.php.dist mime_drivers.php
    cp servers.php.dist servers.php
    touch conf.php
    touch conf.bak.php
    chmod 666 conf.php
    chmod 666 conf.bak.php

    - open servers.php

    - find

    Code:
    /* Example configurations: */
    
    $servers['imap'] = array(
        'name' => 'IMAP Server',
        'server' => 'imap.example.com',
        'hordeauth' => false,
        'protocol' => 'imap/notls',
        'port' => 143,
        'maildomain' => 'example.com',
        'smtphost' => 'smtp.example.com',
        'smtpport' => 25,
        'realm' => '',
        'preferred' => '',
    );
    
    - replace with

    Code:
    $servers['imap'] = array(
        'name' => 'IMAP Server',
        'server' => 'localhost',
        'hordeauth' => true,
        'protocol' => 'imap/notls',
        'port' => 143,
        'folders' => 'INBOX.',
        'namespace' => '',
        'maildomain' => 'domain.com',
        'smtphost' => 'localhost',
        'smtpport' => 25,
        'realm' => '',
        'preferred' => '',
        'dotfiles' => false,
        'hierarchies' => array()
    );
    
    - now browse to "YOURDOMAIN.com/horde"

    - Under "Administration", "Configuration" click on "Horde", then on "Make config"
    - Under "Administration", "Configuration" click on "Horde", then in register "Authentication" do the following settings:

    $conf[auth][admins]: Place your own email account for further admin possibilities
    $conf[auth][driver]: Let an Horde application handle authentication
    $conf[auth][params][app]: Choose imp

    Thats all, have fun.
     
  2. findafriend

    findafriend New Member

    It is not very clear what kind of user in ISPconfig we are talking about.
    Can you be more specific ?

    CP User ?
     

Share This Page