Hi A.L.E.C,

thank you for response.

On 23 November 2010 15:52, A.L.E.C <alec@alec.pl> wrote:
On 23.11.2010 14:30, Arminas wrote:
> // try to load host-specific configuration
> // see http://trac.roundcube.net/wiki/Howto_Config for more details
> $rcmail_config['include_host_config'] = array(
>    'mydomain1.com' => 'domain1.inc.php',
>    'mydomain2.com' => 'domain2.inc.php',
> );

But you know this setting is for http servers (virtual hosts) names? The
filename must match with PHP's $_SERVER['HTTP_HOST'] value.

No, I didn't :) I thought this is for different mail servers.. 

> Simply these few lines above does nothing. I can write both in
> domain1.inc.php and domain2.inc.php such content as : <?php die(); ?> ,
> but roundcube doesn't die - so these files aren't included and aren't
> merged with main array.

And the files are in config/ directory and are readable?

--
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/c669d4c6

Anyway, is it possible in Roundcube to have different configurations for different mail servers? In our case we need to set different ports, hostnames, namespaces. First two options can be set in 'default_host' setting, but how about namespaces?