Manually adding an entry to /etc/localdomains likely won't stick long-term. Typically, it isn't in /etc/localdomains because it is in /etc/remotedomains and has the MX set to remote in /var/cpanel/users/username file where username is the cPanel username. This means the domain should be removed from /etc/remotedomains file, /var/cpanel/users/username file changed to point it to local rather than remote, and these two scripts run:
Code:
/usr/local/cpanel/scripts/updateuserdomains
/usr/local/cpanel/scripts/mailperm