The GlobalSolutions

Roundcube Webmail Powered by GlobalSolutions

Roundcube is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an email client, including MIME support, address book, folder manipulation, message searching, and spell checking.

We have installed and configured all the components that make up this solution. All you need is your domain and you can build your email framework with this offering. Why pay per inbox to other vendors when you can build your own for less? We have hardened the image and made it production ready.

Why Subscribe to Our Offering in AWS Marketplace

Accessing Your AMI from AWS Marketplace

To get started with your Roundcube stack:

  1. Subscribe: Purchase the Roundcube AMI from the AWS Marketplace.
  2. Connect via RDP:
    • In the AWS Console, select your launched instance and click Connect.
    • Choose RDP Client, upload your .pem key file, and decrypt the password using your private key.
    • Download the .rdp file and connect using the username Administrator and the decrypted password.
For more information, refer to the AWS Windows Instance Connection Guide.

Installation Paths and Versions

The Roundcube stack is installed in standard Windows directories for easy access:

Category Packages Version Location
RDBMS MySQL 8.0.34 C:\Program Files\MySQL
Web Server Apache 2.4.66 C:\Apache24
PHP PHP 8.5.5 C:\PHP
phpMyAdmin phpMyAdmin 5.2.1 C:\Apache24\htdocs\phpmyadmin
Roundcube Roundcube 1.6.15 C:\Apache24\htdocs\roundcube
hMailAdmin Console hMailServer 5.6.8 C:\Program Files (x86)\hMailServer

phpMyAdmin and hMailServer Login

Username Password
root global
Administrator hmailserver
Important: It is advisable to change the password after logging into phpMyAdmin.

Getting Started with Roundcube

Understanding SMTP and IMAP

SMTP (Simple Mail Transfer Protocol) is used when email is delivered from an email client to an email server, or between email servers. The port may be 25 or 587 depending on your SMTP configuration.

IMAP (Internet Message Access Protocol) is a protocol that an email client uses to download email from a server. IMAP is designed to keep emails on the server and normally uses port 143.

Setting Up Your Domain

To use Roundcube in its full extent, you need an existing domain or must create one. Even without a domain, you can still access the Roundcube application and send emails to other addresses — but you will not be able to receive emails from external senders without a properly configured domain.

  1. Register a domain with any domain registrar (costs range from $0.99 with discounts to ~$15/year).
  2. Once you have a domain, set the MX record in your DNS settings to point to the public DNS name of the EC2 instance running hMailServer/Roundcube, with a priority of 10.
  3. Make sure your domain registrar gives you access to DNS configuration settings before purchasing.
Once the MX record is set, external email servers can communicate with your hMailServer instance to send and receive email.

Configuring hMailServer

  1. Open hMailAdmin.exe from C:\Program Files (x86)\hMailServer\Bin, or use the hMailAdmin shortcut on the desktop.
  2. Select localhost to connect and enter hmailserver as the password.
  3. Right-click on Domains in the left panel and create a new domain (a sample domain "name-your-company.com" has been pre-created for reference).
  4. Expand your domain and click Accounts to add users:
    • Create a username and set a password.
    • Set the mailbox disk space to at least 100 MB. Users who exceed this limit will stop receiving email.

Configuring Roundcube

Open C:\Apache24\htdocs\roundcube\config\config.inc.php and update the following settings with your own details:

$config['default_host']    = 'your imap server';
$config['smtp_server']     = 'your smtp server';
$config['smtp_user']       = 'user that can authenticate against SMTP';
$config['smtp_pass']       = 'password for the above smtp user';
$config['support_url']     = 'support@theglobalsolutions.net';
$config['username_domain'] = 'your domain name';

Also update the database connection string — replace global with your EC2 Instance ID:

// Before editing:
$config['db_dsnw'] = 'mysql://root:global@localhost/roundcube';

// After editing:
$config['db_dsnw'] = 'mysql://root:YOUR_INSTANCE_ID@localhost/roundcube';
Important: Without this Instance ID change the application will not start and you will not be able to access Roundcube from the browser. Your Instance ID can be found in the EC2 console where you are running the Roundcube application.

Sending and Receiving Emails

  1. Open your browser and go to http://localhost/roundcube/, or click the Roundcube Login shortcut on the desktop.
  2. Log in using the username and password you created under your domain — include the domain in the username, e.g. user1@name-your-company.com.
  3. Click Compose to send emails to any address.
  4. When you send an email, it is passed to the hMailServer instance, which communicates with the recipient's mail server using SMTP:
    • Outbound: the server looks up the DNS MX record for the recipient's domain (e.g. Yahoo) and delivers the message via SMTP.
    • Inbound: when someone sends email to your domain address, their server looks up your MX record, connects to your hMailServer, and delivers via SMTP. Your browser retrieves it via IMAP.
Note: If you don't have a valid domain or the MX record is not set in your DNS configuration, you will be able to send emails to external accounts but will not be able to receive any incoming emails.

AWS Cost Optimizer — CloudInsider

Our other popular offering is the AWS Cost Optimizer aka CloudInsider, available in AWS Marketplace. This service has helped our customers save significantly on AWS and other cloud spending. It is easy to subscribe and you can see the savings in minutes.

▶ Watch Demo Video Subscribe on AWS Marketplace

Support

For any questions or assistance with our AWS Marketplace offering, reach out to us at support@theglobalsolutions.net.