Thanks! We see the MXCHECK entries in /var/cpanel/users/$username.
But, it looks like running /scripts/checkalldomainsmxs will remove all of those MXCHECK entries in /var/cpanel/users/$username!
In other words, running that script will reset all domains on the server to 'Automatic', even if a user had selected something different.
Is this intentional, or a bug?
If it is a bug, please look into correcting the issue.
On the other hand, if it is intentional, then please perform the following:
1. Add a warning message to /scripts/checkalldomainsmxs that it will reset all domains to 'Automatic', overriding cPanel users' preferences!
2. Add an optional argument (such as --preserve-user-settings) that allows it to preserve (and honor) the users' preferences. This also speeds up the processing for domains that have user selections.