Managing Roundcube Databases, Webmail Folders, and Email Signatures in cPanel & WHM

This article explains how to convert Roundcube from MySQL to SQLite, manage folders in the Roundcube Webmail interface, and configure email signatures—including images—within Roundcube. It provides step-by-step instructions for administrators and end users.

Roundcube SQLiteWebmail foldersRoundcube signature setup

~3 min read · Updated Feb 22, 2026

1. Convert Roundcube to SQLite


The /usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite script updates Roundcube to use individual SQLite databases instead of a single MySQL® database.


Warning: Once you convert Roundcube to SQLite, you cannot revert back to MySQL.


1.1 Benefits of SQLite


  • Each email user receives a separate SQLite database.
  • Restoring Roundcube data becomes easier and user-specific.
  • Disk usage is tracked accurately within the user’s /home directory.
  • Roundcube PHP processes run as the cPanel user, simplifying troubleshooting.
  • No single point of failure—corruption affects only one user.

1.2 SQLite Database Path


Roundcube stores SQLite databases at:

/home/username/etc/domain/username.rcube.db

1.3 Convert Entire System


/usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite

1.4 Convert a Single User


/usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite user

1.5 Migrate Roundcube from MySQL to SQLite Between Servers


  1. On the source server, dump the Roundcube database:
mysqldump roundcube > roundcube.dump

  1. Create a temporary MySQL database on the destination server.
  2. Edit the script and comment out the following block:

-->
unless ( defined $opt_dbname ) {
    Cpanel::Email::RoundCube::archive_and_drop_mysql_roundcube($logger);
}
<--

  1. Import the dump and convert:
/usr/local/cpanel/scripts/convert_roundcube_mysql2sqlite user exampledatabase



2. Manage Webmail Folders in Roundcube


Roundcube allows users to create, delete, subscribe to, and unsubscribe from folders.


2.1 Default Folders


  • Inbox
  • Drafts
  • Sent
  • Junk
  • Trash
  • Archive

Important: Do not subscribe to the Junk folder with the plain folder icon. Roundcube uses the spam directory internally but displays it as Junk with a flame icon.


2.2 Create a Folder (Desktop)


  1. Click the Settings icon.
  2. Select FoldersCreate.
  3. Enter a folder name.
  4. Select a parent folder or choose ---.
  5. Select List or Threads view mode.
  6. Click Save.

2.3 Create a Folder (Mobile)


  1. Tap the menu icon.
  2. Tap SettingsFolders.
  3. Tap the plus icon or the three-dot menu → Create.
  4. Enter a folder name and parent folder.
  5. Select view mode.
  6. Tap Save.

2.4 Delete a Folder (Desktop)


  1. Go to SettingsFolders.
  2. Select the folder.
  3. Click Delete.
  4. Confirm deletion.

2.5 Delete a Folder (Mobile)


  1. Tap menu → SettingsFolders.
  2. Select the folder.
  3. Tap the three-dot menu → Delete.
  4. Confirm deletion.



3. Set Up a Signature in Webmail


Webmail does not provide a global signature setting. You must configure signatures inside the Webmail client you use.


3.1 Create a Signature in Roundcube


  1. Log in to Roundcube.
  2. Click Settings.
  3. Select Identities.
  4. Select an identity or create a new one.
  5. Enter your signature in the Signature box.
  6. Click Save.

3.2 Add an Image to Your Signature


  1. Open the signature editor.
  2. Click the HTML editor icon.
  3. Click the Insert/Edit Image icon.
  4. Click the folder icon → Add image.
  5. Select a JPEG or GIF file within the allowed size.
  6. Click Close → select the image → set dimensions.
  7. Click OKSave.

Important: Images only appear if you compose messages in HTML mode.


3.3 Enable HTML Composition


  1. Go to SettingsPreferencesComposing Messages.
  2. Set Compose HTML messages to always.
  3. Click Save.



Conclusion


This guide covers essential Roundcube management tasks, including converting databases to SQLite, organizing Webmail folders, and creating professional email signatures. These tools help administrators and users maintain efficient, secure, and personalized email environments.


Written & researched by Dr. Shahin Siami

Related Articles

How to Restore Your cPanel Account: A Complete Guide for New System Administrators

This guide explains how new system administrators can restore a cPanel account using WHM, transfer accounts and configurations between servers, and enable diagnostic logging for transfer and restore operations. It covers essential concepts such as WHM vs. cPanel, root access, backup handling, SFTP uploads, transfer methods, and advanced debugging tools.

Continue

آموزش کامل انتقال تمام اکانت‌های cPanel از یک سرور به سرور دیگر

این مقاله نحوه انتقال همه اکانت‌های cPanel، تنظیمات سرویس‌ها، گواهی‌های SSL و IP اصلی سرور را از یک سرور قدیمی (Source) به یک سرور جدید (Target) توضیح می‌دهد. شامل نصب سرور جدید، انتقال تنظیمات، انتقال اکانت‌ها، تغییر IP، تنظیم DNS و نصب مجدد SSL است.

Continue

How to Migrate a WordPress® Installation to a cPanel & WHM Server

This guide explains how to migrate a WordPress installation from a macOS-hosted environment to a cPanel & WHM server. It covers exporting the database, uploading WordPress files, creating and importing a MySQL database, updating URLs, configuring wp-config.php, fixing broken links, and finalizing the migration.

Continue

How to Manually Transfer an Account Between Servers in cPanel & WHM

This article explains how to manually transfer a cPanel account between servers when the account is too large for WHM’s automated transfer tools. It covers creating temporary directories, compressing public_html and log files, securely transferring data with SCP, and restoring the files on the destination server.

Continue

How to Manually Migrate Horde Calendars and Contacts to Roundcube in cPanel & WHM

This article explains how to manually migrate Horde calendars and contacts to Roundcube in cPanel & WHM version 108 through 118. It covers exporting Horde data, placing it in the correct directories, and importing it into Roundcube using built‑in plugins or manual import tools.

Continue

How to Manually Migrate Accounts to cPanel & WHM from Unsupported Control Panels

This article explains how experienced system administrators can manually migrate accounts from unsupported third‑party control panels to cPanel & WHM. It covers pre‑migration steps, installation requirements, file and directory transfers, database restoration, SSL migration, and post‑migration tasks.

Continue