How to Set Up Roundcube Webmail on a Standalone Web Server

Written by jonah quant
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Set Up Roundcube Webmail on a Standalone Web Server
You can install Roundcube webmail on your Web server. (email4u -1- image by Rusty McCloud from

Roundcube is a software application that provides webmail services to users of a Web server colocated on the same host. Users log into the Web server remotely using standard Web browsers; users also read and write e-mail messages by using the AJAX-based graphical interface provided by Roundcube.

Skill level:

Things you need

  • Administrator privileges on the Web server
  • Database back-end installed on the Web server

Show MoreHide


  1. 1

    Log into the host running the Web server with Administrator privileges. The details of this operation depend on the operating system. For example, on Linux you would log in as user "root."

  2. 2

    Download Roundcube webmail from the "Download" Web page (see Resources). Unpack the files. For example, on Linux run the "gunzip" command on the downloaded file, then run "tar xf" on the result.

  3. 3

    Configure Roundcube webmail to use your database back-end for storage and retrieval of e-mails. The details of this operation depend on the operating system and on the specific database manager application you are using. For example, for MySQL you need to execute:

    CREATE DATABASE roundcubemail;

    GRANT ALL PRIVILEGES ON roundcubemail.* TO user@host;


    Replace "user" by the username of the Web server user, and "host" by the hostname of the Web server.

  4. 4

    Launch a Web browser. Point it to


    The Install Wizard for Roundcube webmail will come up.

  5. 5

    Click on "Start installation." Follow the prompts, then click "Create config." Two text boxes will come up at the top of the Web page. Highlight the contents of the first box, then right-click on the highlighted portion and select "Copy." Copy the contents of the clipboard into a file named "". Similarly, copy the contents of the second box into a file named "". Click "Continue" and wait until the "Initialize database" button comes up. Click on it. The set-up of Roundcube webmail is complete.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.