This is a weird situation (yes, another one).
We have a server that we absorbed from another hosting company. At some point in their past history, they assigned the aliases cpanel.* and webmail.* to each account.
To be clear, the asterisk is NOT a wildcard - it's the actual entry. Every account (almost) has two aliases assigned (cpanel > domains > aliases). (see attached pic)
Trying to delete the alias within cpanel results in:
Using whm > account information > list parked domains sometimes shows one account with the alias cpanel.*, webmail.* and sometimes whm.*. Those always have the 'add to mail config' link showing, as well. Removing the parked domain sometimes results in success, but always lists an account different from the one we're removing. It also has no affect on what shows up in the cpanel tools.
One example (imagine a grid):
Removing cpanel.*:
We've checked all the files that we can find that have anything to do with domains, subdomains, aliases, etc; if we find an entry, it's usually related to only one domain, and after getting that deleted in the related file, the alias remains and the other aliases are all still assigned to the other domains.
updateuserdomains, fixvaliases do not correct the issue, nor does any other domain-related script.
Where does whm/cpanel manage these relationships and how do we fix them?
Centos 6.9
WHM 66.0.15

We have a server that we absorbed from another hosting company. At some point in their past history, they assigned the aliases cpanel.* and webmail.* to each account.
To be clear, the asterisk is NOT a wildcard - it's the actual entry. Every account (almost) has two aliases assigned (cpanel > domains > aliases). (see attached pic)

Trying to delete the alias within cpanel results in:
Code:
There was a problem removing the alias. Park::unpark failed: You do not have control of the domain “cpanel.”.
One example (imagine a grid):
Code:
Primary Domain
customerdomain.tld
User
username
Parked Domains
cpanel.*
customerdomain2.tld
webmail.*
Action
Unpark Add to Mail Config
Unpark
Unpark Add to Mail Config
Code:
There was a problem unparking cpanel.* from : Show Details
The system cannot determine the base domain for “cpanel.*” (i.e., the domain on which “cpanel.*” is parked).
updateuserdomains, fixvaliases do not correct the issue, nor does any other domain-related script.
Where does whm/cpanel manage these relationships and how do we fix them?
Centos 6.9
WHM 66.0.15
