Fabian Kurz <[email protected]> wrote:

> 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

yes, I missunderstood that.

>   $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".

yes, but if I set $rcmail_config['default_host'] = '%d'; I can use
roudncube to login to all other domains dovecot is holding. Every
entry correct entry I make is ignored. Even with

$rcmail_config['default_host'] = 'ssl://www.foxmailer.de:993';

I can login to every domain.

> > 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...

ok, but why is 143 appended?

  Andreas
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to