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.

The most awesome webmail on earth, how can we add it to cpanel?

Discussion in 'E-mail Discussions' started by ckizer, Oct 27, 2005.

Thread Status:
Not open for further replies.
  1. ckizer

    ckizer Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    129
    Likes Received:
    0
    Trophy Points:
    16
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    To have something officially integrated into cPanel, you'd have to submit an enhancement request through bugzilla: http://bugzilla.cpanel.net.
     
  3. Gareth

    Gareth Well-Known Member

    Joined:
    Feb 11, 2004
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Isle of Anglesey, UK
    Looks very nice.

    But I doubt they will make it available with cpanel for a while as the status of it is Alpha
     
  4. fred123123

    fred123123 Well-Known Member

    Joined:
    Jul 23, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    looks really nice ... but you're not forced to integrate it to cpanel to have it in your cpanel...

    You can install it on your server by hand and link to it from cpanel.
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Indeed. They're only likely to include something that has a proven stability record over time. Alpha software is definitely not.
     
  6. scribby

    scribby Member

    Joined:
    Aug 25, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Well after seeing this post I could not wait for cpanel to one day eventualy add this mail system so I decided I would give it a try adding it to cpanel myself.

    How I did it:
    First download the package from http://www.roundcube.net/

    Unzip this and rename the file to roundcube so we have a nice file name for cpanel to access.

    Open the main.inc.php file and find
    $rcmail_config['default_host'] = '';

    change this to:
    $rcmail_config['default_host'] = 'localhost';

    now open db.inc.php
    and make sure the database connection settings are ok
    mysql://root:rootmysqlpassword@localhost/roundcubemail

    Now goto WHM and click phpMyAdmin add the database roundcubemail.
    Run mysql.initial.sql that is included in the SQL file of roundcube.

    Now somehow I dont know how you will go about doing It I use WinSCP for uploading files.
    Upload the whole roundcube directory to /usr/local/cpanel/base/

    Now if you goto
    http://yourdomain:2082/roundcube/index.php

    You should be greeted with the login page.

    Now to make it so users can access this from the webmaillogin.html page goto
    /usr/local/cpanel/base/frontend/x
    or whatever your theme is and download the webmaillogin.html page.

    Add the following code after the first </cpanelif>

    <td align="center" valign="bottom" width="200">
    <a href="/roundcube/index.php"><img src="images/roundcube_logo.png" border="0"></a><br /><a href="/roundcube/index.php">RoundCube</a>
    </td>

    Also place a copy of the roundcube/skins/default/images/roundcube_logo.png
    into /usr/local/cpanel/base/frontend/x/images.

    Hope this explains how to do it, took me 10 mins to work this all out.

    [​IMG]

    More screenshots:
    http://www.mehworld.com/webmaillogin.jpg
    http://www.mehworld.com/webmaillogin1.jpg
    http://www.mehworld.com/webmaillogin2.jpg

    MORE STEPS:
    Just relised it was not appearing in http://www.yourdomain.com:2095

    Download:
    http://www.mehworld.com/webmaillogin.zip

    Unzip and you should have webmaillogin.cgi upload this file to
    /usr/local/cpanel/base

    Then upload the image roundcube/skins/default/images/roundcube_logo.png to
    /usr/local/cpanel/base/webmail/x/images

    Regards
    Richard Simpson
     
    #6 scribby, Oct 28, 2005
    Last edited: Oct 28, 2005
  7. fred123123

    fred123123 Well-Known Member

    Joined:
    Jul 23, 2005
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    I would like to know if you have any bugs or problems using that setup...

    thanks for the tuto :)
     
  8. scribby

    scribby Member

    Joined:
    Aug 25, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    So far none, but its only been there an hour now.
    Its working very fast I like it :)
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's excellent :) Thank you for posting it.
     
  10. scribby

    scribby Member

    Joined:
    Aug 25, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    If you do a cpanel upgrade the mail system will dissapear so be sure to back it up!
     
  11. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Dont you have to log in twice if you do it that way?
     
  12. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    Hi Scribby,

    Very nice indead , tested it out and worked like a charm !
    Fantastic layout and very userfriendly !
     
  13. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    Look at the FAQ's for installing Squirrel so that you do not have to login twice and can prevent/fix the Cpanel overwrite. Can probably modify from that to do same.
     
  14. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    And then all of these RC modifications will be overwritten once the X theme is update? Solution? Is there one?
     
  15. scribby

    scribby Member

    Joined:
    Aug 25, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Yeah I will have a look into how this is done :)

    As for the upgrade thing I dont think there is anyway to stop this as the webmail.cgi file is not part of the theme and is overwritten each time a cpanel upgrade is run.
     
  16. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Very nice indeed. Mabye Nick will implement this in future builds. Did anyone submit a enhancement request?
     
  17. sexshun

    sexshun Active Member

    Joined:
    Sep 28, 2005
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    wow, check out the demo now...its been exploited. haha
     
  18. Blue|Fusion

    Blue|Fusion Well-Known Member

    Joined:
    Sep 12, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Cleveland, Ohio
    To prevent cPanel from overwriting the changed X (or any) theme file for the login page you can do the following:
    chattr +i /usr/local/cpanel/base/frontend/x/webmaillogin.html

    Be sure to do chattr -i /usr/local/cpanel/base/frontend/x/webmaillogin.html if you want cPanel to update it if/when necessary.

    Once this webmail application is a bit more stable and secure and cPanel puts it into their future builds, I'm disbling everything else. This is a cool, userfriendly, powerful webmail application. I was getting tired of Horde's complexity and SquirelMail's simplicity ( :confused: ).
     
  19. jackie46

    jackie46 BANNED

    Joined:
    Jul 25, 2005
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    0
    Thats nice but so far im not convinced. I logged into their DEMO system. well at least i tried. Their php was timing out all over the place. At one stage 10min passed the the application just sat there doing nothing. Then this morning i tried it again. Amazing that it was actually working but when i logged in i couldnt do a thing and it was in another language. I tried clicking on some of the options and nothing happened so i just gave up.
     
    #19 jackie46, Oct 29, 2005
    Last edited: Oct 29, 2005
  20. elitewebninja

    elitewebninja Active Member

    Joined:
    Jan 2, 2004
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta Ga!
    Ok... got it installed... Icon shows up... database created and everything is in there per the instructions... but I'm getting an internal server error:

    Internal Server Error
    Unable to open engine binary (php) at cpsrvd.pl line 3681
    main:: phpHandler() called at cpsrvd.pl line 2734
    main:: dodoc_webmaild() called at cpsrvd.pl line 518
    main:: dodoc() called at cpsrvd.pl line 429

    Any ideas?
     
Loading...
Thread Status:
Not open for further replies.

Share This Page