checking webmail without going thru cpanel

esarakaitis

Member
Aug 12, 2004
22
0
151
is there anyway for domain.com/mail or mail.domain.com to forward the requests to webmail without having to go thru cpanel? this is kind of a big issue because not all users know the main domain cpanel id & password.


also is there a way to limit the password restrictions on cpanel for when users change their passes? i have a lot of users complaining that its almost impossible to think of a password that does not contain some sort of dictionary word.
 

promak

Well-Known Member
Oct 6, 2001
248
0
316
if you don't want to use /webmail or use outlook(pop3 or imap )

you can download some webmail client (which is php base)

download unzip and upload to your web , change config of the program to your domain , then it can login to your domain and email account.

remember to change pop3 or imap , just see what program will you use.

:D
 

khlee

Registered
Oct 12, 2004
1
0
151
promak said:
if you don't want to use /webmail or use outlook(pop3 or imap )

you can download some webmail client (which is php base)

download unzip and upload to your web , change config of the program to your domain , then it can login to your domain and email account.

remember to change pop3 or imap , just see what program will you use.

:D
Hi promak and all,

Mind telling me exactly what webmail client to download. I've goggled for nearly 4 hours but not much result.

I want to bypass cpanel completely for the webmail. The logic of using cpanel is for administrating the domain and not for endusers to read their email, right??? :confused:

Thanks and best regards,
khlee :)
 

Aric1

Well-Known Member
Oct 15, 2003
324
0
166
cPanel Access Level
DataCenter Provider
http://cpanelproxy.net/

They offer a simple, but effective proxy that is specifically designed to work with CPANEL/WHM and Webmail. There is an autoinstaller, too, if you happen to be lazy. :)

If you'd rather install a server-wide webmail client instead, my personal favorite is SquirrelMail:

http://squirrelmail.org/

With the plugins they offer, SM is not only easy to set up, it's extremely powerful.

Don't go by what you see in CPANEL, that copy is lobotomized.
 

robotluak

Registered
Nov 9, 2004
2
0
151
webmail

is it true that we cannot using webmail folder to install other webmail? i heard if we install it under (public_html)/webmail it will goes again to the defaul cpanel webmail
 

lloyd_tennison

Well-Known Member
Mar 12, 2004
697
1
168
Can do it this way:

in httpd.conf

Code:
ScriptAlias /webmail /usr/local/cpanel/cgi-sys/squirrel.cgi
ScriptAlias /mail /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/squirrel.cgi
ScriptAliasMatch ^/mail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi

and squirrel.cgi is

Code:
!/usr/bin/perl -T

open(CPCONF,"/var/cpanel/cpanel.config");
while(<CPCONF>) {
   next if (/^#/);
   s/\n//g;
   ($var,$value) = split(/=/, $_);
   $CPCONF{$var} = $value;

}
close(CPCONF);

if ($port eq "") { $port = '2095'; }
if ($sslport eq "") { $sslport = '2096'; }


if ($ENV{'HTTPS'} eq "on" || $CPCONF{'alwaysredirecttossl'}) {
   if ($ENV{'HTTP_HOST'} ne "") {
      print "Location: https://$ENV{'HTTP_HOST'}:${sslport}\n\n";
   } else {
      print "Location: https://$ENV{'REMOTE_ADDR'}:${sslport}\n\n";
   }
} else {
   if ($ENV{'HTTP_HOST'} ne "") {
      print "Location: http://$ENV{'HTTP_HOST'}:${port}/3rdparty/squirrelmail/src/login.php\n\n";
   } else {
      print "Location: http://$ENV{'REMOTE_ADDR'}:${port}/3rdparty/squirrelmail/src/login.php\n\n";
(Totally stolen from wredirect.cgi.)

Of course, you can leave webmail going to webmail and have mail go to Squirrel - but I prefer to have something that always works with HTML code.

I also used the plugin Forced Prefs to solve the HTML and the imbeded images showing up with the option to make permanent with the plugin unsafe_image_rules.

I used http://unofficial-support.com/node/view/49 as how to install the complete package of Squirrel.