Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

Configure server so domains are using their own domains for mail over SSL?

Discussion in 'E-mail Discussions' started by LTOTH, Mar 10, 2017.

Tags:
  1. LTOTH

    LTOTH Member

    Joined:
    Dec 20, 2015
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Reseller Owner
    I thought that the most recent cPanel/WHM update would allow me to use a sub-cPanel account to send/receive mail over SSL instead of using the server's primary domain name.

    For example, my primary server domain is mybigcorp.com and when I send/receive mail it uses server.mybigcorp.com as the mail server address. Next I create a sub-cPanel account called mylittleshop.com and it's telling me to use server.mybigcorp.com to send/receive over SSL.

    How do I configure our server so all domains are using their own domains for sending and receiving mail over SSL?
     
  2. Sagar.webhost

    Sagar.webhost Member

    Joined:
    Mar 9, 2017
    Messages:
    15
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    IN
    cPanel Access Level:
    Root Administrator
    Hello,

    To send email over SSL , SSL must be installed on domain you will be configuring as mail server. There is no such trick which will allow you to use mail server over SSL without having SSL.

    Regards,
    Sagar
    - Removed -
     
    #2 Sagar.webhost, Mar 10, 2017
    Last edited by a moderator: Mar 10, 2017
  3. LTOTH

    LTOTH Member

    Joined:
    Dec 20, 2015
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Reseller Owner
    Thanks for your reply Sagar.

    So if I install an SSL certificate for each domain I can send mail using each sub-cPanel's domain instead of the primary server's domain? If so, what setting do I need to change in WHM to make it use the domain's SSL (example: mail.mysmallshop.com)?
     
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Yes this was released not too long ago:

    SSL certificate per domain on cpanel, webmail, dav, caldav, and whm services (SNI).

    Once you install the SSL certificate on the cPanel account, you will notice the server changes from your servers hostname to the cPanel accounts domain name to use over SSL.

    You may not be aware but SSL's are now free as long as your web host enables AutoSSL for you, so there is no reason really why anyone cannot use their own domain as the mail server assuming AutoSSL is enabled for your accounts.
     
  5. Sagar.webhost

    Sagar.webhost Member

    Joined:
    Mar 9, 2017
    Messages:
    15
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    IN
    cPanel Access Level:
    Root Administrator
    Hello,

    You will able to use only those domain on which you have installed SSL. You will not able to use it's sub domain as mail server (with SSL option enabled.)

    If you install ssl for domain.com then while configuring mail client with SSL you must use domain.com as mail server instead of mail.domain.com because you installed SSL for domain.com. Using mail.domain.com or www.example.com will result in error.

    Regards,
    Sagar
     
    #5 Sagar.webhost, Mar 10, 2017
    Last edited by a moderator: Mar 10, 2017
  6. LTOTH

    LTOTH Member

    Joined:
    Dec 20, 2015
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Reseller Owner
    Wow, that's really awesome. Thanks for the info.
     
  7. LTOTH

    LTOTH Member

    Joined:
    Dec 20, 2015
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    US
    cPanel Access Level:
    Reseller Owner
    Okay, it appears that I have one of our sub-cPanel accounts successfully working with it's own domain name over SSL. However, when I view the headers of the email I notice that it shows the primary server account as...

    X-Antiabuse: Primary Hostname - server.mybigcorp.com
    I am just curious if this will cause any issues with some servers rejecting the message because of a domain name mismatch?
     
  8. Sagar.webhost

    Sagar.webhost Member

    Joined:
    Mar 9, 2017
    Messages:
    15
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    IN
    cPanel Access Level:
    Root Administrator
    Hello,

    No, you will not face any issue because it's just provide information about mail server sender used to send out email. It help receiver to track abuse sender's server details in case of abuse/spam.

    Regards,
    Sagar
     
    cPanelMichael likes this.
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @LTOTH,

    It looks like the responses on this thread have answered your questions. Feel free to let us know if we can be of any further assistance.

    Thanks!
     
Loading...

Share This Page