~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
/homedirectory. - 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
- On the source server, dump the Roundcube database:
mysqldump roundcube > roundcube.dump
- Create a temporary MySQL database on the destination server.
- Edit the script and comment out the following block:
-->
unless ( defined $opt_dbname ) {
Cpanel::Email::RoundCube::archive_and_drop_mysql_roundcube($logger);
}
<--
- 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)
- Click the Settings icon.
- Select Folders → Create.
- Enter a folder name.
- Select a parent folder or choose ---.
- Select List or Threads view mode.
- Click Save.
2.3 Create a Folder (Mobile)
- Tap the menu icon.
- Tap Settings → Folders.
- Tap the plus icon or the three-dot menu → Create.
- Enter a folder name and parent folder.
- Select view mode.
- Tap Save.
2.4 Delete a Folder (Desktop)
- Go to Settings → Folders.
- Select the folder.
- Click Delete.
- Confirm deletion.
2.5 Delete a Folder (Mobile)
- Tap menu → Settings → Folders.
- Select the folder.
- Tap the three-dot menu → Delete.
- 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
- Log in to Roundcube.
- Click Settings.
- Select Identities.
- Select an identity or create a new one.
- Enter your signature in the Signature box.
- Click Save.
3.2 Add an Image to Your Signature
- Open the signature editor.
- Click the HTML editor icon.
- Click the Insert/Edit Image icon.
- Click the folder icon → Add image.
- Select a JPEG or GIF file within the allowed size.
- Click Close → select the image → set dimensions.
- Click OK → Save.
Important: Images only appear if you compose messages in HTML mode.
3.3 Enable HTML Composition
- Go to Settings → Preferences → Composing Messages.
- Set Compose HTML messages to always.
- 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