[horde] multiple instances of Horde Webmail

Ralf Lang lang at b1-systems.de
Sun Aug 1 14:28:10 UTC 2021


Am 31.07.21 um 11:59 schrieb Ivajlo Karabojkov:
> Hi, all!
>
> I've been using Horde for a long time as a single instance on a given 
> server, by PEAR install.
> Now I have to make some more instances for separate subdomains.
> What is the correct method to do this? Should I use separate PEAR 
> installation for each instance? Or I can just handle one "main" 
> distribution (eg. in /var/www/html/horde) installed and updated by 
> system-wide PEAR and copy the files for each instance (eg. 
> /var/www/html/maildomain1, etc.) with corresponding configuration files?
>
> Thank you in advance for your advises!
>
Horde supports multiple tenants.
You can even modify the registry to show a different menu structure for 
individual hosts.

The vhosts feature can be turned on in horde/config/conf.php

config will be the merge of conf.php and conf-$vhost.php

Registry will process in this order:

registry.php (do not edit this file)
registry.d/*.php (for snippets)
registry-$vhost.php
registry.local.php

The latter will overwrite the former.
Having a vhost specific conf.php will impair usability of the config UI 
as the config will be populated with the vhost specific content. Do not 
copy/paste conf.php to vhost config but only copy&adapt the vhost 
specific items.

Generally, your .local or -$vhost files should only contain explicitly 
changed entries.

See also https://wiki.horde.org/Doc/Admin/Config/Local



-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537



More information about the horde mailing list