Disable auto-generation of mail ServerAlias?
My core question is ..
Which method (from the CLI) is recommended in order to disable the auto-generation of the mail ServerAlias entries that are populating in the /var/cpanel/userdata/ files??
I have researched this .. here's what I have come to learn:
- As of cPanel version 60, the "mail" and "www" serveraliases entries are added to all domains by design. This is to facilitate the Domain certificate generation system.
- In each account's Home -> Security -> TLS/SSL Status configuration, you can exclude the mail and www entries.
- I disabled the Send notifications when AutoSSL has renewed a certificate. option under Manage AutoSSL -> Options. This has solved the successfully renewed certificate notifications.
- I disabled the Send notifications when certificates approach expiry option under Server Configuration -> Tweak Settings -> Notifications
- I disabled AutoSSL for DNS-only clients under Packages -> Feature Manager. Edited the feature profile for the DNS-only package.
- I found that if I remove the ServerAlias entries from the files (config + cache) in /var/cpanel/userdata/account .. this pretty much corrects the AutoSSL issues entirely .. this is why my main question is how to go about doing this "correctly" and globally on the WHM.
-
Hello, Here's a thread with an example you may find helpful: However, if the notifications are you primary concern, we made some changes in cPanel version 70 to help address that: Thank you. 0
Please sign in to leave a comment.
Comments
2 comments