Author Topic: Getting Rid of Server Option at Login Screen  (Read 4368 times)

Offline kmaven

  • Newbie
  • *
  • Posts: 1
Getting Rid of Server Option at Login Screen
« on: December 11, 2007, 12:40:45 PM »
How can I get rid of the server option at the login screen. I would like to be able to just type in my username and password and log straight into my mailbox.

Thank you.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Getting Rid of Server Option at Login Screen
« Reply #1 on: January 10, 2008, 12:32:19 AM »
You mean the drop-down box that lists the servers? In the config/main.inc.php file, just make this variable (or setting) your domain:
$rcmail_config['mail_domain'] = '';

So for example, here it would be:
$rcmail_config['mail_domain'] = 'roundcubeforum.net';

If you wanted multiple hosts, it would be something like:
$rcmail_config['mail_domain'] = array('imap.roundcubeforum.net'=>'Roundcubeforum.net');
 
  

Offline Peter_T

  • Newbie
  • *
  • Posts: 1
Re: Getting Rid of Server Option at Login Screen
« Reply #2 on: February 27, 2008, 12:30:51 PM »
Hmmm... doesn't do the trick for me. Adding my domain to the "$rcmail_config['username_domain']" variable saved me from writing my whole email address in the "username" field, but I still have to write my domain name into the "server" field...

[update]... maybe you meant the "$rcmail_config['default_host']" field... I set that to my domain and the server field went away. ;)