CentOS 8.x Roundcube web based installer for Gmail IMAP and SMTP

From Notes_Wiki

Home > CentOS > CentOS 8.x > Web based tools > CentOS 8.x Roundcube > CentOS 8.x Roundcube web based installer for Gmail IMAP and SMTP

After installation as per CentOS 8.x Roundcube installation visit http://<server-fqdn-or-ip>/installer to proceed further as follows:

  1. Check environment -- click NEXT button in the bottom of page
  2. Create Config
    1. In database setup section, fill Database password as configured during the intial setup.
      In CentOS 8.x Roundcube installation we have setup database with name 'roundcubemail', database user 'roundcube' and database host 'localhost'.
    2. In IMAP Settings for default_host use value ssl://imap.gmail.com For default_port use 993
    3. In SMTP Settings for smtp_server use value tls://smtp.gmail.com For smtp_port use 587
    4. Click CREATE CONFIG Button in the bottom of page
    5. Scroll the page UP and click CONTINUE button
  3. Test config
    1. Under check DB config section, Click button INITILIZE DB
    2. Under test SMTP config provide necessary username and password, sender email id, recipient email id, etc. for test email.
      Note that ideally application password should be created and used in this case to authentication against gmail as roundcube installer wont support OAUTH or 2FA for Gmail. Other less preferred option is to enable "less secured apps" for this particular gmail account.
    3. Test IMAP config
  4. Based on above we can validate that 'roundcube/config/config.inc.php' has:
    $config['default_host'] = 'ssl://imap.gmail.com';
    $config['default_port'] = 993;
    $config['smtp_server'] = 'tls://smtp.gmail.com';
    $config['smtp_port'] = 587;
  5. We can open http://<server-fqdn-or-ip> in browser and login with gmail username and password.



Home > CentOS > CentOS 8.x > Web based tools > CentOS 8.x Roundcube > CentOS 8.x Roundcube web based installer for Gmail IMAP and SMTP