Hello everyone,
I am using Roundcube 0.3.1 on SmartCommunity mail :: Selamat datang di SmartCommunity mail (http://mail.jsmart.web.id)
I serve e-mail on domains jsmart.web.id, jabberid.org, unmondeparfait.org and fakhri.ru.
My IMAP server (dovecot) accepts full e-mail as username, but I'd like my users to be able to type only username and select the domain from a drop-down list.
It was OK when I had IMAP server installed on the same server as these domains' A records:
...
$rcmail_config['default_host'] = array('jsmart.web.id','jabberid.org', 'fakhri.ru', 'unmondeparfait.org');
...
$rcmail_config['username_domain'] = array('jsmart.web.id'=>'jsmart.web.id', 'jabberid.org'=>'jabberid.org', 'fakhri.ru'=>'fakhri.ru', 'unmondeparfait.org'=>'unmondeparfait.org');
...
Today I have moved dovecot to another server, it's IP differs from A records of these domains. How to save ability to type only username and select domain from drop-down list? Roundcube seems to display $rcmail_config['default_host'] as the servers list, but I need it to display $rcmail_config['username_domain'] to suit my target.
:confused:
Found a stupid solution
DNS:
us5_1.jsmart.web.id. CNAME us5.jsmart.web.id.
us5_2.jsmart.web.id. CNAME us5.jsmart.web.id.
us5_3.jsmart.web.id. CNAME us5.jsmart.web.id.
us5_4.jsmart.web.id. CNAME us5.jsmart.web.id.
RC config:
$rcmail_config['default_host'] = array('us5_1.jsmart.web.id'=>'jsmart.web.id', 'us5_2.jsmart.web.id'=>'jabberid.org', 'us5_3.jsmart.web.id'=>'fakhri.ru', 'us5_4.jsmart.web.id'=>'unmondeparfait.org');
$rcmail_config['username_domain'] = $rcmail_config['default_host'];