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.

Webmail and https

Discussion in 'E-mail Discussions' started by Julien PHAM, Jul 10, 2009.

  1. Julien PHAM

    Julien PHAM Active Member

    Joined:
    Jul 9, 2009
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    When I access my webmail by webmail.domain.com, it is a http connection... any way to have an https instead?

    Thanks
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    In WHM > Tweak Settings > Redirection section, you'll find options for this.
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you are not the server administrator, an alternative method is to type https://domain:2096 into your web browser, where domain represents your domain.
     
  4. Julien PHAM

    Julien PHAM Active Member

    Joined:
    Jul 9, 2009
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I'm the server administrator.
    Your solution with the 2096 works, but I would like to enforce https for webmail, and I'm unable to do this.

    In tweak settings, I have checked the "Always redirect users to the ssl/tls ports when visiting /cpanel, /webmail, etc" but :

    1/ When I access webmail.mydomain.com, it does not redirect me to the https version, I stay on http
    2/ If I do https://webmail.mydomain.com I have an error, unable to continue.

    I guess I miss some settings for my "subdomain" webmail, to handle ssl, perhaps because the webmail port is not the standard https port ;) How can I fix this ?

    Another thing, I would like to enforce my users to use pop3s and imaps instead of pop3 and imap, so I can disable the standard version.

    What I find strange though is that when I enter webmail and click on the mail client parameters section, I have those lines :

    Serveur de courier entrant mail.mydomain.com
    Serveur de courier entrant (SSL) geg-rbx.ovh.net
    Serveur de courrier sortant :mail.mydomain.com (le serveur exige une authentification) port 25
    Serveur de courrier sortant : (SSL) mail.root (le serveur exige une authentification) port 465

    How comes I have such strange behaviours for the SSL version of the pop3 and smtp? I would like mail.mydomain.com for the SSL versions. How can I fix this? Those geg-rbx.ovh.net and mail.root are wrong ;)

    Thanks
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The reverse proxy does not support being forced onto HTTPS at this time. Users should be using domain.com/webmail to be logging into their webmail. Keep in mind the reverse proxy is designed for users who may only have web access over port 80 and be behind a firewall so strict as to possibly not allow traffic over port 443 (HTTPS).

    We do not natively support this at this time, though firewalling the ports used for plain-text communications for these protocols should be effective at forcing your users to use POP3S and IMAPS.

    Did you install a service SSL certificate for POP3 and IMAP at some point? If you did, that would explain the different hostnames - it would be using the hostname on the SSL certificate.
     
  6. qwerty

    qwerty Well-Known Member

    Joined:
    Jan 21, 2003
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    16
    Does reverse proxy (ie. proxy subdomains) work with SSL redirection now ?

    I could've sworn I had it working until recently migrating boxes but now it doesn't work with the cpanel.userdomain.com webmail.userdomain.com urls unly with userdomain.com/cpanel etc
     
Loading...

Share This Page