License

Copyright (C) 2008-2017 Oliver Bohlen.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.

A copy of the license is included in the section entitled "GNU Free Documentation License".

Introduction

This documentation comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

Howto: Horde Groupware Webmail for Gentoo Linux

This is a short Howto/Example how I set up my Horde with its applications like Webmail, Groupware, PGP (GnuPG), Sieve filters, LDAP Auth,...
Here are some commands for installing Horde 4 over PEAR.

# Set your paths
BASEDIR=/var/www/horde-test.gabosh.net
PEARDIR=$BASEDIR/pear
WEBDIR=$BASEDIR/htdocs

rm /usr/bin/phpize
ln -s /usr/lib/php*/bin/phpize /usr/bin/phpize

mkdir -p $PEARDIR/pear
mkdir -p $WEBDIR
pear config-create $PEARDIR $PEARDIR/pear.conf
pear -c $PEARDIR/pear.conf install pear

$PEARDIR/pear/pear -c $PEARDIR/pear.conf channel-discover pear.horde.org
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install horde/horde_role
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install run-scripts horde/Horde_Role

$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/imp
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/kronolith
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/ingo
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/nag
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/turba
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/mnemo
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/passwd
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/gollem
$PEARDIR/pear/pear -c $PEARDIR/pear.conf install -a -B horde/wicked

chown -R root:root $BASEDIR
find $BASEDIR -type d -exec chmod 755 {} \;
find $BASEDIR -type f -exec chmod 644 {} \;
chown apache:root $WEBDIR/static
chown apache:root $WEBDIR/config
chown apache:root $WEBDIR/*/config

After these steps you should be able to open your Horde installation into your Webbrowser and create the basic configurations.
Do this in the left menu under "Administration" -> "Configuration"
After that you can follow up with the configuration of the configfiles in the config-directories you see below.



Here some steps for upgrading your Horde:
# Set yout paths
BASEDIR=/var/www/horde-test.gabosh.net
PEARDIR=$BASEDIR/pear
WEBDIR=$BASEDIR/htdocs

rm /usr/bin/phpize
ln -s /usr/lib/php*/bin/phpize /usr/bin/phpize
chmod 755 $PEARDIR/pear/pear
$PEARDIR/pear/pear -c $PEARDIR/pear.conf upgrade -a -B -c horde

chown -R root:root $BASEDIR
find $BASEDIR -type d -exec chmod 755 {} \;
find $BASEDIR -type f -exec chmod 644 {} \;
chown apache:root $WEBDIR/static
chown apache:root $WEBDIR/config
chown apache:root $WEBDIR/*/config

If you want to use this solution you need the following howto(s) finished:

Changes in /etc/crontab

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /etc/crontab

Changed on 04.08.11
Issued by olli
Beginning line 47

CronJob for Horde-Alarms - Pleas adjust paths

0 5 * * *	root	/usr/local/bin/horde.sh

Changes in /etc/openldap/schema/horde-turba.schema

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /etc/openldap/schema/horde-turba.schema

Changed on 11.08.11
Issued by olli
Beginning line 1

Horde-LDAP schema for Turba

#
# Turba attribute branch 1.3.6.1.4.1.13040.4.1.*
#
attributetype ( 1.3.6.1.4.1.13040.4.1.2
  NAME 'turbaType'
  DESC 'Turba Object Type: Contact/List'
  EQUALITY caseIgnoreIA5Match
  SUBSTR caseIgnoreIA5SubstringsMatch
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{8} )

attributetype ( 1.3.6.1.4.1.13040.4.1.3
  NAME 'turbaMembers'
  DESC 'Encoded members of a Turba list'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4000} )

attributetype ( 1.3.6.1.4.1.13040.4.1.4
  NAME 'turbaPGPPublicKey'
  DESC 'PGP/GPG Public Key'
  EQUALITY caseIgnoreIA5Match
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4000} )

Changes in /etc/openldap/slapd.conf

File permissions:
Owner: root
Group: ldap
Permissions: -rw-r-----

Click here for a download of the complete file: /etc/openldap/slapd.conf

Changed on 11.08.11
Issued by olli
Beginning line 29

LDAP schema for turba

include         /etc/openldap/schema/horde-turba.schema

Changes in /usr/local/bin/horde.sh

File permissions:
Owner: root
Group: root
Permissions: -rwxr-xr-x

Click here for a download of the complete file: /usr/local/bin/horde.sh

Changed on 04.08.11
Issued by olli
Beginning line 2

CronJob for Horde-Alarms - Pleas adjust paths

#!/bin/bash

exec >/dev/null

PEARDIR=/var/www/horde-test.example.com/pear
rm -f $PEARDIR/pear.conf
pear -c $PEARDIR/pear.conf config-set php_bin /usr/bin/php
pear -c $PEARDIR/pear.conf config-set php_ini /etc/php/cli-php5.6/php.ini
pear -c $PEARDIR/pear.conf config-set bin_dir $PEARDIR/pear
pear -c $PEARDIR/pear.conf config-set doc_dir $PEARDIR/pear/docs
pear -c $PEARDIR/pear.conf config-set ext_dir $PEARDIR/pear/ext
pear -c $PEARDIR/pear.conf config-set php_dir $PEARDIR/pear/php
pear -c $PEARDIR/pear.conf config-set cache_dir $PEARDIR/pear/cache
pear -c $PEARDIR/pear.conf config-set cfg_dir $PEARDIR/pear/cfg
pear -c $PEARDIR/pear.conf config-set data_dir $PEARDIR/pear/data
pear -c $PEARDIR/pear.conf config-set download_dir $PEARDIR/pear/download
pear -c $PEARDIR/pear.conf config-set temp_dir $PEARDIR/pear/temp
pear -c $PEARDIR/pear.conf config-set test_dir $PEARDIR/pear/tests
pear -c $PEARDIR/pear.conf config-set www_dir $PEARDIR/pear/www
pear -c $PEARDIR/pear.conf config-set horde_dir /var/www/horde-test.example.com/htdocs
cat /var/www/horde-test.example.com/pear/pear.conf >/etc/pear.conf
echo 'include_path="$include_path:/var/www/horde-test.example.com/pear/pear:/var/www/horde-test.example.com/pear/pear/php"' >/etc/php/cli-php5.6/ext-active/horde-cli.ini
chmod 644 /etc/php/cli-php5.6/ext-active/horde-cli.ini
su - apache -c "/usr/bin/php /var/www/horde-test.example.com/pear/pear/horde-alarms"
su - apache -c "/usr/bin/php /var/www/horde-test.example.com/pear/pear/kronolith-agenda"
su - apache -c "/usr/bin/php /var/www/horde-test.example.com/pear/pear/horde-db-migrate"

PEARDIR=/var/www/horde.example.com/pear
rm -f $PEARDIR/pear.conf
pear -c $PEARDIR/pear.conf config-set php_bin /usr/bin/php
pear -c $PEARDIR/pear.conf config-set php_ini /etc/php/cli-php5.6/php.ini
pear -c $PEARDIR/pear.conf config-set bin_dir $PEARDIR/pear
pear -c $PEARDIR/pear.conf config-set doc_dir $PEARDIR/pear/docs
pear -c $PEARDIR/pear.conf config-set ext_dir $PEARDIR/pear/ext
pear -c $PEARDIR/pear.conf config-set php_dir $PEARDIR/pear/php
pear -c $PEARDIR/pear.conf config-set cache_dir $PEARDIR/pear/cache
pear -c $PEARDIR/pear.conf config-set cfg_dir $PEARDIR/pear/cfg
pear -c $PEARDIR/pear.conf config-set data_dir $PEARDIR/pear/data
pear -c $PEARDIR/pear.conf config-set download_dir $PEARDIR/pear/download
pear -c $PEARDIR/pear.conf config-set temp_dir $PEARDIR/pear/temp
pear -c $PEARDIR/pear.conf config-set test_dir $PEARDIR/pear/tests
pear -c $PEARDIR/pear.conf config-set www_dir $PEARDIR/pear/www
pear -c $PEARDIR/pear.conf config-set horde_dir /var/www/horde.example.com/htdocs
cat /var/www/horde.example.com/pear/pear.conf >/etc/pear.conf
echo 'include_path="$include_path:/var/www/horde.example.com/pear/pear:/var/www/horde.example.com/pear/pear/php"' >/etc/php/cli-php5.6/ext-active/horde-cli.ini
chmod 644 /etc/php/cli-php5.6/ext-active/horde-cli.ini
su - apache -c "/usr/bin/php /var/www/horde.example.com/pear/pear/horde-alarms"
su - apache -c "/usr/bin/php /var/www/horde.example.com/pear/pear/kronolith-agenda"
su - apache -c "/usr/bin/php /var/www/horde.example.com/pear/pear/horde-db-migrate"

rm /etc/pear.conf
rm /etc/php/cli-php5.6/ext-active/horde-cli.ini

Changes in /usr/local/sbin/hordetestwatch

File permissions:
Owner: root
Group: root
Permissions: -rwxr-xr-x

Click here for a download of the complete file: /usr/local/sbin/hordetestwatch

Changed on 02.03.11
Issued by olli
Beginning line 2

This is a script for watching the hordetest-log.

#!/usr/bin/perl -w

# Load modules
use strict;
use File::Tail;
use Proc::Daemon;
use File::Basename;

# Stop running daemon if exists
my $me=basename("$0");
if (-f "/var/run/$me") {
 open(PID, "</var/run/$me");
 my $pid=<PID>;
 close(PID);
 chomp($pid);
 if (-d "/proc/$pid") {
  print "Killing old daemon with PID: $pid\n";
  kill 9, $pid;
 }
}

# Daemonize
Proc::Daemon::Init();

# Write PID file
open(PID, ">/var/run/$me");
print PID $$;
close(PID);

# The address where notification mails should go to
my $mailto='mail@example.com';
# Targetlogfile
my $logfile="/opt/horde-test/horde.log";

my $file=File::Tail->new(name => $logfile, maxinterval => 1, adjustafter => 1, reset_tail => 0);
while (defined(my $line=$file->read)) {
 if ($line =~ /172\.2.\./) { next }
 if ($line =~ /194\.127\.8\./) { next }
 if ($line =~ / Login success for .+ to horde/) {
  my $date=`date +%Y-%m-%d`;
  chomp($date);
  unless ($line =~ /^$date/) { next }
  $line=~s/\(//g;
  $line=~s/\)//g;
  my @line=split(/ /,$line);
  `echo "Hi,

$line[7] is logging in from $line[10]:

$line

Your $0 [$$]
" | mail -s "HORDETESTWATCH: $line[7] is logging in from $line[10]" $mailto`;
 }
 if ($line =~ / logged out of Horde /) {
  $line=~s/\(//g;
  $line=~s/\)//g;
  my @line=split(/ /,$line);
  `echo "Hi,

$line[5] is closing the session from $line[10]:

$line

Your $0 [$$]
" | mail -s "HORDETESTWATCH: $line[5] is closing the session from $line[10]" $mailto`;
 }
 if ($line =~ / FAILED LOGIN /) {
  if ($line =~ /localhost/) { next }
  $line=~s/\(//g;
  $line=~s/\)//g;
  my @line=split(/ /,$line);
  `echo "Hi,

$line[7] failed login from $line[10]:

$line

Your $0 [$$]
" | mail -s "HORDETESTWATCH: $line[7] failed login from $line[10]" $mailto`;
 }
}



Changes in /usr/local/sbin/hordewatch

File permissions:
Owner: root
Group: root
Permissions: -rwxr-xr-x

Click here for a download of the complete file: /usr/local/sbin/hordewatch

Changed on 02.03.11
Issued by olli
Beginning line 2

This is a script for watching the horde-log.

#!/usr/bin/perl -w

# Load modules
use strict;
use File::Tail;
use Proc::Daemon;
use File::Basename;

# Stop running daemon if exists
my $me=basename("$0");
if (-f "/var/run/$me") {
 open(PID, "</var/run/$me");
 my $pid=<PID>;
 close(PID);
 chomp($pid);
 if (-d "/proc/$pid") {
  print "Killing old daemon with PID: $pid\n";
  kill 9, $pid;
 }
}

# Daemonize
Proc::Daemon::Init();

# Write PID file
open(PID, ">/var/run/$me");
print PID $$;
close(PID);

# The address where notification mails should go to
my $mailto='mail@example.com';
# Targetlogfile
my $logfile="/opt/horde/horde.log";

my $file=File::Tail->new(name => $logfile, maxinterval => 1, adjustafter => 1, reset_tail => 0);
while (defined(my $line=$file->read)) {
 if ($line =~ /172\.2.\./) { next }
 if ($line =~ /194\.127\.8\./) { next }
 if ($line =~ / Login success for .+ to horde/) {
  my $date=`date +%Y-%m-%d`;
  chomp($date);
  unless ($line =~ /^$date/) { next }
  $line=~s/\(//g;
  $line=~s/\)//g;
  my @line=split(/ /,$line);
  `echo "Hi,

$line[7] is logging in from $line[10]:

$line

Your $0 [$$]
" | mail -s "HORDEWATCH: $line[7] is logging in from $line[10]" $mailto`;
 }
 if ($line =~ / logged out of Horde /) {
  $line=~s/\(//g;
  $line=~s/\)//g;
  my @line=split(/ /,$line);
  `echo "Hi,

$line[5] is closing the session from $line[10]:

$line

Your $0 [$$]
" | mail -s "HORDEWATCH: $line[5] is closing the session from $line[10]" $mailto`;
 }
 if ($line =~ / FAILED LOGIN /) {
  if ($line =~ /localhost/) { next }
  $line=~s/\(//g;
  $line=~s/\)//g;
  my @line=split(/ /,$line);
  `echo "Hi,

$line[7] failed login from $line[10]:

$line

Your $0 [$$]
" | mail -s "HORDEWATCH: $line[7] failed login from $line[10]" $mailto`;
 }
}



Changes in /usr/local/sbin/mkhordestable.sh

File permissions:
Owner: root
Group: root
Permissions: -rwxr-xr-x

Click here for a download of the complete file: /usr/local/sbin/mkhordestable.sh

Changed on 04.10.11
Issued by olli
Beginning line 2

This is an optional script for syncing/copying a Horde-Installation into an new path. E.g. for moving a test Horde into production.

#!/bin/bash

# Set paths

set -x

PEARDIR=/var/www/horde.example.com/pear
WEBDIR=/var/www/horde.example.com
TESTWEBDIR=/var/www/horde-test.example.com

mkdir -p /var/www/horde.example.com
rsync -av --delete --exclude=pear/pear/php/.registry $TESTWEBDIR/ $WEBDIR/
BASEDIR=$WEBDIR
WEBDIR=$WEBDIR/htdocs

# Set pear config
rm -f $PEARDIR/pear.conf
pear -c $PEARDIR/pear.conf config-set bin_dir /var/www/horde.example.com/pear/pear
pear -c $PEARDIR/pear.conf config-set doc_dir /var/www/horde.example.com/pear/pear/docs
pear -c $PEARDIR/pear.conf config-set ext_dir /var/www/horde.example.com/pear/pear/ext
pear -c $PEARDIR/pear.conf config-set php_dir /var/www/horde.example.com/pear/pear/php
pear -c $PEARDIR/pear.conf config-set cache_dir /var/www/horde.example.com/pear/pear/cache
pear -c $PEARDIR/pear.conf config-set cfg_dir /var/www/horde.example.com/pear/pear/cfg
pear -c $PEARDIR/pear.conf config-set data_dir /var/www/horde.example.com/pear/pear/data
pear -c $PEARDIR/pear.conf config-set download_dir /var/www/horde.example.com/pear/pear/download
pear -c $PEARDIR/pear.conf config-set temp_dir /var/www/horde.example.com/pear/pear/temp
pear -c $PEARDIR/pear.conf config-set test_dir /var/www/horde.example.com/pear/pear/tests
pear -c $PEARDIR/pear.conf config-set www_dir /var/www/horde.example.com/pear/pear/www
pear -c $PEARDIR/pear.conf config-set horde_dir /var/www/horde.example.com/htdocs

# Do linking
#rm -f $WEBDIR/pear.conf
#ln -sf $PEARDIR/pear.conf $WEBDIR/pear.conf
#rm -f $PEARDIR/lib
#ln -s $WEBDIR/lib $PEARDIR/lib
#rm -f $PEARDIR/../ingo/lib
#ln -s $WEBDIR/ingo/lib $PEARDIR/../ingo/lib
#rm -f $PEARDIR/../imp/lib
#ln -s $WEBDIR/imp/lib $PEARDIR/../imp/lib
#rm -f $PEARDIR/../kronolith/lib
#ln -s $WEBDIR/kronolith/lib $PEARDIR/../kronolith/lib
#rm -f $PEARDIR/../nag/lib
#ln -s $WEBDIR/nag/lib $PEARDIR/../nag/lib
#rm -f $PEARDIR/../turba/lib
#ln -s $WEBDIR/turba/lib $PEARDIR/../turba/lib
#rm -f $PEARDIR/../mnemo/lib
#ln -s $WEBDIR/mnemo/lib $PEARDIR/../mnemo/lib

# Change paths in some pear files
for i in `grep -r horde-test $PEARDIR | cut -d: -f1`
do 
 echo "Changing horde-test to horde in $i"
 sed -e 's/horde-test/horde/g' -i $i
done

# Horde-Config
# DB
sed -e 's/hordetest/horde4/g' -i $WEBDIR/config/conf.php
# LOG
sed -e 's/horde-test/horde/g' -i $WEBDIR/config/conf.php
# LOGLEVEL
sed -e 's/DEBUG/INFO/g' -i $WEBDIR/config/conf.php

# Set some rights
chown -R root:root $BASEDIR
find $BASEDIR -type d -exec chmod 755 {} \;
find $BASEDIR -type f -exec chmod 644 {} \;
chown -R apache:root $WEBDIR/static
#chown -R apache:root $WEBDIR/config
#chown -R apache:root $WEBDIR/*/config

Changes in /var/www/horde.gabosh.net/htdocs/config/prefs.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/config/prefs.local.php

Changed on 04.11.09
Issued by olli
Beginning line 2

Some preference settings for the Horde Framework.

// Enlarge the sidebar
$_prefs['sidebar_width'] = array('value' => 220);
$_prefs['show_last_login'] = array('value' => false);
$_prefs['language'] = array('value' => 'de_DE');
$_prefs['first_week_day'] = array( 'value' => '1');
$_prefs['twentyFour'] = array('value' => 'true');
$_prefs['timezone'] = array( 'value' => 'Europe/Berlin' );

Changes in /var/www/horde.gabosh.net/htdocs/config/registry.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/config/registry.local.php

Changed on 04.08.11
Issued by olli
Beginning line 2

Use IMP as the first page after login

$this->applications['horde']['initial_page']='imp/';

Changes in /var/www/horde.gabosh.net/htdocs/imp/config/backends.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/imp/config/backends.local.php

Changed on 04.08.11
Issued by olli
Beginning line 2

This configures Horde-IMP for accessing a IMAP-Server with the gabosh.net-Domain and Horde-Auth credentials

$servers['imap']['maildomain'] = 'example.com';
$servers['imap']['hordeauth'] = true;
$servers['imap']['secure'] = false;

Changes in /var/www/horde.gabosh.net/htdocs/imp/config/mime_drivers.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/imp/config/mime_drivers.local.php

Changed on 04.11.09
Issued by olli
Beginning line 2

Some mime settings for Horde-IMP.

// Display HTML Mails in Horde IMP
$mime_drivers['html']['inline'] = true;

Changes in /var/www/horde.gabosh.net/htdocs/imp/config/prefs.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/imp/config/prefs.local.php

Changed on 04.11.09
Issued by olli
Beginning line 2

Some preference settings for Horde-IMP.

// The default sent-Mail folder on the IMAP-Server
#$_prefs['sent_mail_folder']['value'] = Horde_String::convertCharset('Versendet', 'UTF-8', 'UTF7-IMAP');
// The default drafts folder on the IMAP-Server
#$_prefs['drafts_folder']['value'] = Horde_String::convertCharset('Entw&uuml;rfe', 'UTF-8', 'UTF7-IMAP');
// auto-save-drafts every minute
$_prafs['auto_save_drafts']['value'] = 1;
// When deleting messages, move them to your Trash folder instead of marking them as deleted
$_prefs['use_trash']['value'] = 1;
// The default trash folder on the IMAP-Server
#$_prefs['trash_folder']['value'] = Horde_String::convertCharset('Papierkorb', 'UTF-8', 'UTF7-IMAP');
// Move spam message(s) to spam folder when reported as spam
$_prefs['delete_spam_after_report']['value'] = 2;
// Display the 'Empty Spam' link in the menubar
$_prefs['empty_spam_menu']['value'] = 1;
// Check every minute for new mail
$_prefs['refresh_time']['value'] = 60;
// Notify if new mail arrives
$_prefs['newmail_notify']['value'] = 1;
// Sort messages descending by date
$_prefs['sortdir']['value'] = 1;
// Check for new mail in all folders
$_prefs['nav_poll_all']['value'] = 1;
# Show an icon to allow stripping of attachments from messages
$_prefs['strip_attachments']['value'] = 1;
// View Images in Mails only fom adresses in addrbook
$_prefs['image_replacement']['value'] = 1;
# Convert textual emoticons into graphical ones
$_prefs['emoticons']['value'] = 1;
# Show non-private mailboxes in separate folders
$_prefs['tree_view']['value'] = 1;
# No IMAP Subscribe
$_prefs['subscribe']['value'] = 0;
# Save attachments in Sent
$_prefs['save_attachments']['value'] = always;
# Sortierung
$_prefs['mailbox_start']['value'] = IMP::MAILBOX_START_LASTUNSEEN;
$_prefs['sortby']['value'] = IMP::IMAP_SORT_DATE;
$_prefs['sortdir']['value'] = 1;

Changes in /var/www/horde.gabosh.net/htdocs/ingo/config/backends.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/ingo/config/backends.local.php

Changed on 04.08.11
Issued by olli
Beginning line 2

This configures horde-ingo for cyrus-sieve on port 2000

$backends['imap']['disabled'] = true;
$backends['sieve'] = array(
    // Disabled by default
    'disabled' => false,
    'transport' => array(
        Ingo::RULE_ALL => array(
            'driver' => 'timsieved',
            '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' => 4190,
                // Name of the sieve script
                'scriptname' => 'ingo',
                // Enable debugging. The sieve protocol communication is logged
                // with the DEBUG level.
                'debug' => false,
            ),
        ),
    ),
    'script' => array(
        Ingo::RULE_ALL => array(
            'driver' => 'sieve',
            'params' => array(
                // If using Dovecot or any other Sieve implementation that
                // requires folder names to be UTF-8 encoded, set this
                // parameter to true.
                'utf8' => false,
             ),
        ),
    ),
    'shares' => false
);
#$backends['sieve']['disabled'] = false;
#$backends['sieve']['driver'] = 'timsieved';
#$backends['sieve']['params']['hostspec'] = 'example.com';
#$backends['sieve']['params']['port'] = 2000;

Changes in /var/www/horde.gabosh.net/htdocs/kronolith/config/prefs.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/kronolith/config/prefs.local.php

Changed on 04.11.09
Issued by olli
Beginning line 2

Some preference settings for Horde-Kronolith.

// Display the timeslots between each day column, in week view
$_prefs['time_between_days']['value'] = 1;
// Start a week with Monday
$_prefs['week_start_monday']['value'] = 1;
// Sets timeslots to 30 Minutes
$_prefs['slots_per_hour']['value'] = 2;
// Event notifications on all calendars a user has read access to
$_prefs['event_notification']['value'] = 'read';
// Reminder notifications on on all calendars a user has read access to
$_prefs['event_reminder']['value'] = 'read';
// Remind with email
$_prefs['event_alarms']['value'] = 'a:1:{s:4:"mail";a:1:{s:5:"email";s:0:"";}}';
# Create default alarm 
#$_prefs['default_alarm']['value'] = '504000';

Changes in /var/www/horde.gabosh.net/htdocs/passwd/config/backends.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/passwd/config/backends.local.php

Changed on 17.11.11
Issued by olli
Beginning line 2

This is a configuration for changing LDAP-Passwords and Samba-LDAP passwords with Horde-passwd

#unset($backends['myscript']);
$backends['hordesql']['disabled'] = true;
$backends['myscript']['disabled'] = false;
$backends['myscript']['logout'] = true;
$backends['myscript']['name'] = 'example.com';
$backends['myscript']['preferred'] = '';
$backends['myscript']['policy']['minLength'] = 6;
$backends['myscript']['policy']['maxLength'] = 20;
$backends['myscript']['policy']['minNumeric'] = 1;
$backends['myscript']['driver'] = 'Procopen';
$backends['myscript']['params']['program'] = "/usr/local/sbin/ldappws.pl -b -r localhost -d ou=Users,ou=People,dc=example,dc=com -p /usr/local/share/pwlist.txt -s /usr/local/sbin/pwscript.sh";

Changes in /var/www/horde.gabosh.net/htdocs/turba/config/prefs.local.php

File permissions:
Owner: root
Group: root
Permissions: -rw-r--r--

Click here for a download of the complete file: /var/www/horde.gabosh.net/htdocs/turba/config/prefs.local.php

Changed on 04.11.09
Issued by olli
Beginning line 2

Default settings for Horde turba

// Sort by last name
$_prefs['name_format'] = array('value' => 'last_first');
$_prefs['name_sort'] = array('value' => 'last_first');
// Show list as initial page
$_prefs['initial_page'] = array('value' => 'browse.php');
$_prefs['perpage'] = array('value' => '500');

Please send a feedback to: doc<at>gabosh.net

Howto listing
File Index

Here you can find the official Gentoo Linux Forums where you can find a lot of answers.

Here a link to the official Gentoo Linux Homepage.

Edit Howto

About / Impressum

Click here for About / Impressum

Wishlist

If you want to support my work you can find my Amazon whishlist here