On Sun, Sep 15, 2013 at 08:55:50PM +0200, Andreas Meyer wrote:
I would like to restrict roundcube to one domain and tried the following:
$rcmail_config['default_host'] = '%d = anup.de'; $rcmail_config['default_host'] = '%n = mail.anup.de';
I guess you misunderstood what the replacement variables do. They are set to e. g. %d = hostname ($_SERVER['SERVER_NAME']) so you can just set
$rcmail_config['default_host'] = '%d';
instead of explicitly setting the host name. The way you do it, the %d will be replaced by the hostname and roundcube will try to connect to "anup.de = anup.de".
The log says
Could not connect to anup.de = anup.de:143: php_network_getaddresses: getaddrinfo failed: Der Name oder der Dienst ist nicht bekannt in .... /program/include/rcube_imap.php on line 191
"anup.de = anup.de:143" doesn't resolve...
Best regards, Fabian