
Originally Posted by
tfcservices
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.