Change the mail routing setting for a customer domain in WHM to ensure emails are delivered correctly by the local server or routed to an external mail server. This task is performed by a Reseller and requires the appropriate permissions from the server administrator.
Important: This setting determines whether the server attempts to deliver email locally or routes it to an external mail server. Incorrect settings can cause emails to be "bounced" or lost.
Before you begin
You will need:
Reseller access to WHM
The specific domain name for the customer account
The correct routing type (Local Mail Exchanger or Remote Mail Exchanger)
Changing the Mail Routing Setting
Log in to WHM.
In the left-hand search bar, type Mail and select Change Mail Route from the results.
Locate the domain you wish to modify in the list.
Select the radio button for the desired routing method:
Local Mail Exchanger: Select this if the email accounts for the domain are hosted on the current server.
Remote Mail Exchanger: Select this if the email accounts for the domain are hosted on a different server (e.g., a third-party email provider).
Click Change.
Confirm the result
The system will process the change and display a success message.
The domain will now appear with the selected routing method in the list.
You can verify the change by attempting to send an email from a local account to a remote account on the same domain; if "Remote Mail Exchanger" is selected, the server will correctly pass the email to the external provider.
Troubleshooting a WHM Feature Hidden by Reseller Permissions
If you cannot see the Change Mail Route option or the specific domain is missing from the list, your Reseller account may have restricted permissions.
Steps to resolve:
Contact your Hostek account manager or the server administrator.
Provide the specific domain name and the required action (e.g., "Enable Mail Routing for domain.com").
Request that the administrator grant the necessary permissions or perform the change on your behalf.
Limitations
This setting does not change the actual DNS records for the domain; it only changes how the local mail server handles the delivery of mail for that domain. If you are using a third-party mail provider, ensure your DNS records (MX and SPF) are correctly configured before switching to Remote Mail Exchanger.
