Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    147

    Lightbulb Need to remove! options shown in webmail page after login

    Hello,

    When anyone logs in to webmail on a server running cpanel/whm and exim with maildir mailbox format, after login they are shown a page with two icons (Horde and Squirrelmail) and some options under it. The options shown on that page are listed as follows;

    [Change Password] [Forwarding Options] [Autoresponder Options] [Aging] [Logout]

    Does a server admin have control over these! options through whm/cpanel to remove/hide them as necessary/needed?

    For example, I need to disable [Forwarding Options] ... How can I do it?
    Last edited by hariskhan; 09-28-2006 at 03:56 AM.

  2. #2
    Member
    Join Date
    Apr 2004
    Posts
    147

    Lightbulb Possible options?

    Can I achieve the above through disabling one of the following in the Feature Manager in whm (throughout the server or on one account?);

    - Forwarder Manager
    - Email Domain Forwarding

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    30

    Default

    I need to remove just one of the options in Cpanel after logging into webmail (change password). One of my clients has a corporate password policy and they get their passwords assigned to them... they can't change them.

    Is there a way to not allow a user to change the password? I've looked through the templates but can't see where I can change that.

  4. #4
    Member
    Join Date
    May 2003
    Location
    Alabama
    Posts
    23

    Default removing options

    Is there an answer to this??

  5. #5
    Member
    Join Date
    May 2003
    Location
    Alabama
    Posts
    23

    Default Need to remove! options shown in webmail page after login

    I actually figured this out. You modify the following file:

    /usr/local/cpanel/base/webmaillogin.cgi

    by removing the following lines:

    if ($webmail->{envuser} =~ /\@/) {
    print qq{[<a href="$webmail->{urlbase}/webmailpasswd.cgi">Change Password</a>]\n};
    if ($Cpanel::CPDATA{'FEATURE-FORWARDERS'} ne 0) {
    print qq{[<a href="$webmail->{urlbase}/webmailforward.cgi">Forwarding Options</a>]\n};
    }
    print qq{[<a href="$webmail->{urlbase}/webmailautorespond.cgi">Autoresponder Options</a>]\n};
    }


    if (! $Cpanel::CONF{'skipboxtrapper'} && $Cpanel::CPDATA{'FEATURE-BOXTRAPPER'} ne '0') {
    print qq{[<a href="$webmail->{urlbase}/webmailboxtrapper.cgi">BoxTrapper</a>]\n};
    }

    if (-e 'webmailaging.cgi') {
    print qq{[<a href="$webmail->{urlbase}/webmailaging.cgi">Aging</a>]\n};
    }


    This will remove the "Change Password", "Autoresponder", "Boxtrapper", and "Aging" Options but leave the "logout" options.

    Just delete the options you do not want to show up starting with the "if" and ending with "}". In my case I only wanted the "Logout" opton to show.

    Hope this helps someone.

  6. #6
    Member
    Join Date
    Nov 2007
    Posts
    861

    Arrow

    Is it possible to remove change password option from webmail for any one domain hosted on our server

    one of our client do not want to let webmail users to change password

    we are using

    cPanel 11.24.5-S38506
    WHM 11.24.2 - X 3.9
    CENTOS 5.4 i686 standard

  7. #7
    Member
    Join Date
    Oct 2006
    Location
    Penang, Malaysia
    Posts
    56

    Default

    Quote Originally Posted by tfcservices View Post
    I actually figured this out. You modify the following file:

    /usr/local/cpanel/base/webmaillogin.cgi

    by removing the following lines:

    if ($webmail->{envuser} =~ /\@/) {
    print qq{[<a href="$webmail->{urlbase}/webmailpasswd.cgi">Change Password</a>]\n};
    if ($Cpanel::CPDATA{'FEATURE-FORWARDERS'} ne 0) {
    print qq{[<a href="$webmail->{urlbase}/webmailforward.cgi">Forwarding Options</a>]\n};
    }
    print qq{[<a href="$webmail->{urlbase}/webmailautorespond.cgi">Autoresponder Options</a>]\n};
    }


    if (! $Cpanel::CONF{'skipboxtrapper'} && $Cpanel::CPDATA{'FEATURE-BOXTRAPPER'} ne '0') {
    print qq{[<a href="$webmail->{urlbase}/webmailboxtrapper.cgi">BoxTrapper</a>]\n};
    }

    if (-e 'webmailaging.cgi') {
    print qq{[<a href="$webmail->{urlbase}/webmailaging.cgi">Aging</a>]\n};
    }


    This will remove the "Change Password", "Autoresponder", "Boxtrapper", and "Aging" Options but leave the "logout" options.

    Just delete the options you do not want to show up starting with the "if" and ending with "}". In my case I only wanted the "Logout" opton to show.

    Hope this helps someone.
    Will cPanel update replace the changes done in the future?

Similar Threads & Tags
Similar threads

  1. Webmail login page and customize webmail server installation
    By patelbhavin8008 in forum E-mail Discussions
    Replies: 2
    Last Post: 05-25-2011, 06:22 AM
  2. Remove options shown in webmail page after login ?
    By tfcservices in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 06-13-2007, 12:39 PM
  3. Can't change webmail login page
    By misk0 in forum Themes and Branding
    Replies: 1
    Last Post: 03-02-2007, 05:07 PM
  4. webmail login page
    By yukonn in forum New User Questions
    Replies: 1
    Last Post: 01-27-2006, 04:15 AM
  5. Please remove cPanel logo from the Login page it a nuissance and unprofess
    By Major Tom in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 08-19-2005, 02:11 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube