Opened 5 years ago

Closed 3 years ago

#1485438 closed Feature Requests (fixed)

dynamic host names

Reported by: anilj Owned by:
Priority: 4 Milestone: 0.4-stable
Component: Core functionality Version: 0.2-beta
Severity: normal Keywords:
Cc:

Description

Right now I have an implementation where multiple users (username is: user@…) can login to the RoundCube interface. There could be any number of domains.

I would like a feature where I don't have to hard code the host name with a specific domain (this is how it is currently):

$rcmail_configdefault_host? = 'imap.entic.net';
$rcmail_configmail_domain? = 'entic.net';
$rcmail_configsmtp_server? = 'smtp.entic.net';

I am filing an RFE to allow something like this:

$rcmail_configdefault_host? = 'imap.%d';
$rcmail_configmail_domain? = '%d';
$rcmail_configsmtp_server? = 'smtp.%d';

Change History (3)

comment:1 Changed 5 years ago by anilj

Right now I have an implementation where multiple users (username is: user@…) can login to the RoundCube interface. There could be any number of domains.

I would like a feature where I don't have to hard code the host name with a specific domain (this is how it is currently):

$rcmail_config['default_host'] = 'imap.entic.net';
$rcmail_config['mail_domain'] = 'entic.net';
$rcmail_config['smtp_server'] = 'smtp.entic.net';

I am filing an RFE to allow something like this:

$rcmail_config['default_host'] = 'imap.%d';
$rcmail_config['mail_domain'] = '%d';
$rcmail_config['smtp_server'] = 'smtp.%d';

comment:2 Changed 4 years ago by dan

issue #1484897 has a solution. Mapping $_SERVER['SERVER_NAME'] to %d like you suggest may simplify things.

comment:3 Changed 3 years ago by alec

  • Component changed from Other to Core functionality
  • Milestone changed from later to 0.4-stable
  • Resolution set to fixed
  • Status changed from new to closed

Implemented %d and %n variables in [bb8721aa].

Note: See TracTickets for help on using tickets.