SOLVED CPANEL-43144 - Export Email folder on Roundcube

madpato

Well-Known Member
May 30, 2008
52
1
58
Hello

I cant find a way in Roundcube to mass export emails or a folder on eml format (or anything else) i can however export one by one but thats far from optimal when you have hundreds of emails.
How can this be done? as per Roundcube documentation here: Import/Export — Roundcube Webmail Help 1.1 documentation it can be done but the Cpanel version does not have that feature (unless i am missing it).

Any help or suggestion is appreciated. Thanks.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
17,470
2,843
363
cPanel Access Level
Root Administrator
Update - our interface will include this in version 1.6 when that is released. I do see we plan to include this in version 110LTS, which means it would also likely make it to 114, but I don't have a timeframe on when that will happen just yet.
 

cPanelThomas

Developer
Feb 16, 2023
38
29
93
cPanel
cPanel Access Level
Root Administrator
One other thing to note here -- the export function is not very intuitive for me. I have to select the emails with shift+click (or ctrl+a) then the option will no longer be grayed out and I can download the zip of the maildir/mbox:

Things I did to ensure success as well:
* Made sure zipdownload was in $config['plugins'] over in /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php
* Made sure base/3rdparty/roundcube/plugins/zipdownload/config.inc.php existed (copied from base/3rdparty/roundcube/plugins/zipdownload/config.inc.php.dist)

There's a variable in base/3rdparty/roundcube/plugins/zipdownload/config.inc.php that seems to control how many you have to select before the menu entries show up -- $config['zipdownload_attachments'] so tweak that however you like (along with anything else in there... at least the config file is commented fairly well).

Attached screenshot is how it *should* look (Roundcube 1.6.0 on cPanel v110, dark mode & elastic theme enabled). Earlier versions *should* work similarly I think, just not with the pop out 'download' menu. That said, I have not tested this.

Let me know if this helps or not. We are certainly open to adding this plugin to the list of "mandatory" plugins we force on within roundcube and copying the config file for the plugin to the relevant place if that solves the problem going forward.
 

Attachments

  • Like
Reactions: cPRex