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.

checking webmail without going thru cpanel

Discussion in 'E-mail Discussions' started by esarakaitis, Aug 18, 2004.

  1. esarakaitis

    esarakaitis Member

    Joined:
    Aug 12, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  3. esarakaitis

    esarakaitis Member

    Joined:
    Aug 12, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    dosent work. nevermind... guess it does
     
  4. promak

    promak Well-Known Member

    Joined:
    Oct 6, 2001
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  5. khlee

    khlee Registered

    Joined:
    Oct 12, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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 :)
     
  6. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
  7. rapta

    rapta Active Member

    Joined:
    Aug 20, 2003
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Use cpanelproxy if you need to access webmail from port 80.
     
  8. thuston

    thuston Guest

  9. patriotcow

    patriotcow Well-Known Member

    Joined:
    Oct 11, 2004
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
  10. robotluak

    robotluak Registered

    Joined:
    Nov 9, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    webmail

    i have tried using www.domain.com/webmail or www.domain.com:2095 but it seem doesn't work for internet user using proxy.
    and if the above way works, we have to select one of three webmail program. it is annoying. can we set it to only one webmail reader?
    please help ...
     
  11. damainman

    damainman Well-Known Member

    Joined:
    Nov 13, 2003
    Messages:
    515
    Likes Received:
    0
    Trophy Points:
    16
    Disable the other two webmail programs from within WHM
     
  12. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  13. robotluak

    robotluak Registered

    Joined:
    Nov 9, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  14. Aric1

    Aric1 Well-Known Member

    Joined:
    Oct 15, 2003
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Yes and no. You can't go to domain.com/webmail, but you can install a webmail client in public_html/webmail and then create a subdomain: webmail.domain.com and that will properly load your newly installed version.
     
  15. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
Loading...

Share This Page