Author Topic: Multi-domain  (Read 19 times)

Offline alain25

  • Newbie
  • *
  • Posts: 7
Multi-domain
« on: Today at 01:09:18 PM »
Hello everyone,

Server: unbuntu 20.04
Mail server: postfix

I am on ubuntu 20.04 with a postfix and postfixadmin for the mutidomain with a database.
Also, I installed Roundcube 1.6.5 with a database.
It works very well for a single domain.

I tried to put Roundcube in multi-domain.
I followed the following tutorial: https://github.com/roundcube/roundcubemail/wiki/Configuration%3A-Multi-Domain-Setup

First, I added the variable $config['include_host_config to the config.inc.php file.
Then I added the lines below:

Code: [Select]
$config['include_host_config'] = array(
    mail.rdomain1.tld' => 'domain1_config.inc.php',
    mail.domain2.tld' => 'domain2_config.inc.php',
    mail.domain3.tld' => 'domain3_config.inc.php',
);

Then I created one file per domain. But it doesn't work.

Do you have a solution?

Thanks

Alain