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.

Better webmail solution

Discussion in 'E-mail Discussions' started by Web_Rob, Jan 5, 2007.

  1. Web_Rob

    Web_Rob Member

    Joined:
    Nov 30, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I am wondering if there is a better way I can have my customers check their webmail? It seems like such a hassle for them to have to login to cPanel and choose what client they want and all that. Does anyone have a better way to do this?
     
  2. Silver_2000

    Silver_2000 Well-Known Member

    Joined:
    Mar 31, 2002
    Messages:
    338
    Likes Received:
    1
    Trophy Points:
    18
    domain.com/webmail works for me

    Also most people will save a bookmark to the client they use.
     
  3. jpetersen

    jpetersen Well-Known Member

    Joined:
    Dec 31, 2006
    Messages:
    113
    Likes Received:
    4
    Trophy Points:
    18
    One option would be to use mod_rewrite, which you could use to have your users simply browse to domain.com/email then be taken directly to their webmail login. You will need to know beforehand which webmail client they will be using. This example covers SquirrelMail.

    Place the following in an .htaccess file in their public_html directory:

    Code:
    RewriteEngine on
    RewriteRule ^email$ https://[b]domain.com[/b]:2096/3rdparty/squirrelmail/index.php [R=permanent,NC,L]
    
    Of course, you will need to replace "domain.com" in the example above with their actual domain. Then, have them browse to domain.com/email, and they will be redirected to the secure login for SquirrelMail.

    NeoMail: https://domain.com:2096/neomail/neomail.pl
    Horde: https://domain.com:2096/horde/index.php


    If this is for an Addon Domain, place the .htaccess file in their addon domain's directory (e.g., /home/username/public_html/addon_dir/.htaccess).

    * Note that I used "email" instead of "webmail", because cPanel already has a ScriptAlias in httpd.conf to handle requests made to "/webmail"

    Code:
    ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
    
     
  4. zahi_k

    zahi_k Registered

    Joined:
    Jan 5, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    i tried the www.yourdomain.com/webmail function.... unfortunately, a pop up screen that asks to login to Cpanel admin.... how can i give the direct link to the people to check their emails?:confused:
    thanks
     
  5. darklord1

    darklord1 Well-Known Member

    Joined:
    Jul 8, 2006
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Have you tried the e-mail login?

    Cpanel will automatically make you an e-mail account with your cpanel username and password, so to check, make an e-mail that is set, for example. emailtest@yourdomain.com with password of password.

    Your login will be emailtest@yourdomain.com then your password will be password. That will allow you to login to your e-mail and you will not be able to move through anyother part of cpanel. Notice that your login name is your e-mail not just the first part, that is how it is supposed to work. hope this helps you.

    If you enter your cpanel info, yes you will be given access but that is not what you need.

    Have your clients follow the same basic setup as I just sudjested, and then you will have no issues.
     
  6. streigh

    streigh Active Member

    Joined:
    Dec 5, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page