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

LTOTH

Member
Dec 20, 2015
23
1
53
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?
 

Sagar.webhost

Member
Mar 9, 2017
15
4
3
Guess
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 -
 
Last edited by a moderator:

LTOTH

Member
Dec 20, 2015
23
1
53
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)?
 

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
158
168
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.
 

Sagar.webhost

Member
Mar 9, 2017
15
4
3
Guess
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
 
Last edited by a moderator:

LTOTH

Member
Dec 20, 2015
23
1
53
US
cPanel Access Level
Reseller Owner
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.
Wow, that's really awesome. Thanks for the info.
 

LTOTH

Member
Dec 20, 2015
23
1
53
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
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!