Access Gmail with Roundcube

If you administer emails using Google Apps (like I do) and you want to setup webmail access other than using the Gmail login, you can setup Roundcube to achieve this. This is useful especially if you're restricting access to webmails like Gmail, Yahoo, Hotmail, etc. Here's what you need to do:

  1. Download and install Roundcube into your web server.
  2. After successful installation, change the main.inc.php parameters as follows:
    // IMAP Settings
    $rcmail_config['default_host'] = 'ssl://imap.gmail.com';
    $rcmail_config['defaul_port'] = 993;
    $rcmail_config['imap_auth_type'] = null;
    $rcmail_config['username_domain'] = 'your_domain_name';
    $rcmail_config['mail_domain'] = 'you_domain_name';
    // SMTP Settings
    $rcmail_config['smtp_server'] = 'ssl://smtp.gmail.com';
    $rcmail_config['smtp_port'] = 465;
    $rcmail_config['smtp_user'] = '%u';
    $rcmail_config['smtp_pass'] = '%p';
    //MBOX Settings
    $rcmail_config['drafts_mbox'] = '[Gmail]/Drafts';
    $rcmail_config['junk_mbox'] = '[Gmail]/Spam';
    $rcmail_config['sent_mbox'] = '';
    $rcmail_config['trash_mbox'] = '';
  3. You can experiment on the other parameters but the settings above should already work.

Post Title : Access Gmail with Roundcube

Access Gmail with Roundcube,

Access Gmail with Roundcube

Powered by Blogger.