Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    27

    Default Webmail and https

    Hi,

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

    Thanks

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,157
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    In WHM > Tweak Settings > Redirection section, you'll find options for this.

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,711
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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. #4
    Member
    Join Date
    Jul 2009
    Posts
    27

    Default

    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. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,711
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Julien PHAM View Post
    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 ?
    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).

    Quote Originally Posted by Julien PHAM View Post
    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.
    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.

    Quote Originally Posted by Julien PHAM View Post
    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
    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. #6
    Member
    Join Date
    Jan 2003
    Posts
    169

    Default Re: Webmail and https

    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

Similar Threads & Tags
Similar threads

  1. redirect all cpanel and webmail to https
    By aqjedd in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-29-2009, 12:17 AM
  2. domain.com/webmail -> https://localhost.localdomain:2096/
    By opsol in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-19-2008, 07:55 PM
  3. Replies: 3
    Last Post: 03-01-2005, 07:12 PM
  4. Webmail Horde HTTPS (2096) Problem
    By Arvand in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-14-2004, 10:07 PM
  5. https webmail cpanel
    By lamp in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-13-2004, 09:46 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube