The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to make Roundcube as a default mail client for all domains

Discussion in 'E-mail Discussions' started by Gauravk, Jun 4, 2013.

  1. Gauravk

    Gauravk Well-Known Member

    Joined:
    Jan 23, 2012
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    How to make Roundcube as a default mail client for all domains

    I have around 20 domains and wish to make Roundcube as a default webmail application without the choice of page that comes currently.

    Thanks in advance.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    In "WHM Home » Server Configuration » Tweak Settings", under the "Mail" tab, you can disable the other Webmail clients by ensuring the following options are not selected:

    "Enable Horde Webmail"
    "Enable SquirrelMail webmail"

    Currently, the only native option available to avoid having to click on the Roundcube option is to have the "AutoLoad" feature active on each account.

    Thank you.
     
  3. Gauravk

    Gauravk Well-Known Member

    Joined:
    Jan 23, 2012
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thanks Michael for this quite good help.

    Though not 100%, may be cPanel needs to use some common sense logic of eliminating choice page if only single mail client option is there by default.....!
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,450
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There are additional options/tools on that page aside from the selection of mail client.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    We encourage you to open feature requests for features you would like to see in future versions of cPanel at:

    Submit A Feature Request

    Thank you.
     
  6. mhofer

    mhofer Member

    Joined:
    May 10, 2013
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Gauravk

    What you want is actually possible, for example with a custom direct login page, see:
    /http://www.dropdeaddick.com/files/cpanel-webmail-login.php
    cPanel Webmail Direct Login Script

    change following two lines (comment out squirrel-mail, uncomment roundcube):

    # $mail_app = '/3rdparty/squirrelmail/'; // Read Mail Using SquirrelMail
    $mail_app = '/3rdparty/roundcube/'; // Read Mail Using RoundCube


    If you have some html skills you can also add this to a custom cPanel login theme for all your clients, see documentation for more info:
    How to Create Custom-Branded Login Pages

    the important line is the following hidden form-field:
    <input type="hidden" name="goto_uri" value="/3rdparty/roundcube/" />


    downside:
    users wont have access to the cPanel features like redirects, spam-settings etc.
    We have written a small roundcube addon which adds a link to the default cpanel page in roundcubes settings tab, however this will be deleted on each roundcube update and i did not have time to solve this yet, so maybe add a feature request for this too?
     
  7. kristofferR

    kristofferR Member

    Joined:
    Oct 20, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This page details how you can add addons to your Roundcube installation without it being removed with each update of Roundcube:
    Customizing Roundcube Webmail.

    Could you share the addon you've created? It sound perfect for my needs!
     
  8. STS Admin

    STS Admin Well-Known Member

    Joined:
    Jul 8, 2012
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    You can also do a custom installation of roundcube on a separate account and add custom vhost entries in apache configuration files to access it as webmail.domain.com. It's going require a little manual work, but with this you can even modify the roundcube core files as per your requirement and cpanel updates will cause nothing to it.

    Sample Vhost entry
     
  9. mhofer

    mhofer Member

    Joined:
    May 10, 2013
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Sorry for not replying sooner, if you're still in need, you can download it here:
    /https://dl.dropboxusercontent.com/u/17325872/roundcube_cpanel_plugin.tar.gz

    extrat and put it insite the roundcube plugin directory and add the plugin in the config file of roundcube. translations may be needed
     
Loading...

Share This Page