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.

Differences between secure and non-secure domains

Discussion in 'E-mail Discussions' started by riledhel, Jul 19, 2014.

  1. riledhel

    riledhel Registered

    Joined:
    Jul 1, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi. We're in the process of setting up a server with cPanel. I've configured it to use the Bind DNS server, Exim email server, etc. and created a couple of user accounts to test everything. The problem we're facing is best seen here:

    mail server config.jpg

    We would like our users to see their domain as the Secure SSL/TLS email server, not our server's domain name. In the example above, we would like to use mail.eraxia.com for both secure and Non SSL settings. This problem is not related to ports, just the domain names. Did we misconfigured the DNS server? Can this be fixed editing a template? We'll appreciate your help.

    Thank you.
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    cPanel takes the hostname based on the hostname of the SSL certificate installed for the services. This is defined in the following files in /var/cpanel/ssl:

    courier-imapd-DOMAINS
    courier-pop3d-DOMAINS
    exim-DOMAINS
    dovecot-DOMAINS

    I would actually advise you to NOT do what you're trying to do. The reason for this is, you can only currently have one SSL certificate installed per service (except Apache, of course). So if the SSL on your server is installed for cp1.cotel.com.ar, the user will get an SSL mismatch error in their mail client when connecting to mail services using their domain. This tends to inconvenience the user and look unprofessional. It may be best to instead use a generic or whitelabeled domain for the SSL hostname.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. riledhel

    riledhel Registered

    Joined:
    Jul 1, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Thank you both for the responses.
     
Loading...

Share This Page