Checking Domains That Have Remote MX Records

Operating System & Version
CloudLinux v8.7.0
cPanel & WHM Version
108.0.12

davetanguay

Active Member
Mar 30, 2008
43
2
58
Is there a way I can see which domains on the server are not using the server for email and using a remote mailserver instead?

Basically I need to check to see which domains are using a remote MX Record.

Is there some sort of scan or script I can use to do this?

I know within WHMCS there is this but this just checks the nameservers:

Domain Resolver Checker
This utility allows you to check the IP address each domain in your WHMCS system is pointing to. This allows you to easily see which domains are no longer pointing at your servers and therefore identify clients that may no longer be using your service in order to free up resources.


Is there something in WHM that can check the MX Record for all domains and list them?
 

Ekushey

Active Member
Oct 26, 2011
44
7
133
Bangladesh
cPanel Access Level
Root Administrator
Twitter