Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    28

    Default disable webmail

    I want to enable only roundcube, disable horde/squirrelmail/neomail.

    I tried this...

    BWLIMIT=524288000000
    DEMO=0
    DNS=domain.net
    DNS1=domain.domain.net
    DNS2=domain.org
    FEATURELIST=default
    HASCGI=1
    IP=xxx
    LANG=english
    MAXADDON=unlimited
    MAXFTP=unlimited
    MAXLST=unlimited
    MAXPARK=unlimited
    MAXPOP=500
    MAXSQL=50
    MAXSUB=unlimited
    OWNER=root
    PLAN=PackageName
    RS=x
    STARTDATE=1161741308
    USER=blahuser
    skiphorde=1
    skipsqmail=1
    skipneomail=1


    I did the above to enable only Roundcube. I ran /scripts/updateuserdomains, service cpanel restart and squirrelmail / horde still appear. Using cpanel stable latest release.

  2. #2
    Member
    Join Date
    Oct 2006
    Posts
    28

    Default

    I want to disable for one user only, obviously why I posted a user file copy

  3. #3
    Member Phenomenon's Avatar
    Join Date
    Aug 2006
    Posts
    19

    Default

    Actually, you should be able to disable those through your WHM >> Server Configuration >> Tweak Settings, section Mail.

  4. #4
    Member
    Join Date
    Oct 2006
    Posts
    28

    Default

    Anyone else know? I can't figure this out

  5. #5
    Member
    Join Date
    Oct 2006
    Posts
    28

    Default

    chirpy you there?

  6. #6
    Member
    Join Date
    Sep 2005
    Posts
    15

    Wink Install Roundcube manually

    Hello,

    I this case make sure that round cube is available on server or not if not then please install it manually,

    Please follow the steps given below:

    First make sure you know your mysql root password, you have to replace DATABASEPASSWORD to your mysql root password.

    If you have already used RoundCube installation please make sure you remove any traces of it with,


    cd /usr/local/cpanel/base
    rm -rf roundcube*
    mysql -p -e 'drop database roundcube';
    chattr -i /usr/local/cpanel/base/frontend/x/webmaillogin.html
    chattr -i /usr/local/cpanel/base/webmaillogin.cgi
    /scripts/upcp

    You will have to specify your root password when prompted.



    Now lets download roundcube first and chmod the directorys


    cd /usr/local/cpanel/base
    wget -O roundcube.tar.gz http://heanet.dl.sourceforge.net/sou...0.1-rc1.tar.gz
    tar -zxvf roundcube.tar.gz
    rm -rf roundcube.tar.gz
    mv -f roundcubemail-0.1-rc1 roundcube
    cd roundcube
    chmod -R 777 temp
    chmod -R 777 logs


    Create the database and install the intial sql file. The following commands will do this for you.


    mysql -e "CREATE DATABASE roundcube;" -pDATABASEPASSWORD
    mysql -e "use roundcube; source SQL/mysql.initial.sql;" -pDATABASEPASSWORD


    Now lets sort out the configuration


    cd config
    mv db.inc.php.dist db.inc.php
    mv main.inc.php.dist main.inc.php

    Now open db.inc.php

    nano db.inc.php

    Find

    $rcmail_config['db_dsnw'] = 'mysql://roundcubeass@localhost/roundcube';


    Replace with

    $rcmail_config['db_dsnw'] = 'mysql://rootATABASEPASSWORD@localhost/roundcube';



    Now Open main.inc.php

    nano main.inc.php

    Find

    $rcmail_config['default_host'] = '';


    Replace with

    $rcmail_config['default_host'] = 'localhost';


    Now we have to configure cPanel to show roundcube in the theme. Please note this is for the X theme(default) only!! If you use another theme please skip the next part and see below.

    cd /usr/local/cpanel/base/roundcube/skins/default/images/
    cp --reply=yes roundcube_logo.png /usr/local/cpanel/base/frontend/x/images/roundcube_logo.png
    cp --reply=yes roundcube_logo.png /usr/local/cpanel/base/webmail/x/images/roundcube_logo.png
    cd /usr/local/cpanel/base
    wget http://www.hostgeekz.com/files/hostg...ndcube-0.1-rc1
    patch -p0 < HGpatch-roundcube-0.1-rc1


    **NOTE** If you receive a message stating

    Reversed (or previously applied) patch detected! Assume -R?

    please press N for No as this is because you previously installed roundcube


    This will auto do all the necessary changes to roundcube and the X theme.

    Once the patch is executed you may now access roundcube via http://yourip/webmail



    -----

    If you do not use the X theme please do the following


    cd /usr/local/cpanel/base
    wget http://www.hostgeekz.com/files/hostg...-NON-X-0.1-rc1
    patch -p0 < HGpatch-roundcube-NON-X-0.1-rc1

    Then open your webmaillogin.html, please replace YOURCPANELTHEME with the name of your theme.

    nano /usr/local/cpanel/base/frontend/YOURCPANELTHEME/webmaillogin.html

    and find

    </td>
    </cpanelif>
    </cpanelfeature>


    Add Below

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



    ------

    ***UPDATE***
    Remember to chattr +i the files or add the patch to your /scripts/upcp.


    chattr +i /usr/local/cpanel/base/frontend/x/webmaillogin.html
    chattr +i /usr/local/cpanel/base/webmaillogin.cgi


    If you are using cPanel 11 ensure to run the following fix.



    wget http://www.hostgeekz.com/files/hostg...anel-11-fix.sh
    chmod 700 cpanel-11-fix.sh
    ./cpanel-11-fix.sh
    rm -f cpanel-11-fix.sh

    Regards,
    Tuks,
    etechsupport.net
    Last edited by tukaramg; 09-18-2007 at 09:03 AM.

Similar Threads & Tags
Similar threads

  1. Disable webmail
    By Gino Viroli in forum E-mail Discussions
    Replies: 19
    Last Post: 04-03-2009, 04:40 PM
  2. Disable webmail?
    By kaon in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-15-2006, 10:49 AM
  3. can you DISABLE /webmail redirect
    By wjtaylor in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-20-2006, 03:59 PM
  4. Disable boxtrapper from Webmail
    By freakysid in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-07-2004, 11:42 PM
  5. Disable Open Webmail
    By Stormtrooper in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-01-2002, 12:00 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube