Guides/Enterprise inboxes
How to check which email provider a company uses
Look up the company's MX record with dig +short MX and read where it points. A name ending in google.com means Google Workspace, mail.protection.outlook.com means Microsoft 365, and pphosted.com, mimecast.com or barracudanetworks.com means a security gateway in front. When the MX is unclear, the SPF record, the autodiscover record and the MS= TXT record settle most cases. All of it is public DNS and free.
A company's mail system is public. One DNS lookup answers the question for most domains, and three more cover nearly all of the rest.
The commands use dig, which comes with macOS and most Linux systems. Replace example.com with the domain after the @ in the person's email address, which is sometimes different from the company's website domain.
Step 1: look up the MX record
The MX record names the server that receives mail for a domain.
dig +short MX example.com
A Microsoft 365 company answers like this:
10 example-com.mail.protection.outlook.com.
A Google Workspace company answers like this:
1 smtp.google.com.
The number is the priority. Read the line with the lowest number.
| The MX ends in | Mail system | Vendor's own page |
|---|---|---|
google.com or googlemail.com |
Google Workspace | Google gives smtp.google.com as the current value, and says older accounts may still use names starting with aspmx |
mail.protection.outlook.com, or another name under outlook.com |
Microsoft 365 | Microsoft gives the form <MX token>.mail.protection.outlook.com |
pphosted.com |
Proofpoint gateway | |
mimecast.com |
Mimecast gateway | |
barracudanetworks.com |
Barracuda gateway | Barracuda shows xxxxxxx.ess.barracudanetworks.com |
0 . |
The domain accepts no mail | A "null MX", defined in RFC 7505. example.com itself answers this way |
| Nothing at all | No mail server | |
| Anything else | Another host, or the company's own server | Go to step 2 |
The Proofpoint and Mimecast endings are the ones we matched on in our own count.
Step 2: read the SPF record
The SPF record lists the services allowed to send mail for the domain. It is a TXT record that starts with v=spf1.
dig +short TXT example.com | grep spf1
A typical answer:
"v=spf1 include:spf.protection.outlook.com include:_spf.example.net -all"
| SPF contains | Meaning |
|---|---|
include:spf.protection.outlook.com |
Microsoft 365 sends mail for this domain. This is the value in Microsoft's DNS reference |
include:_spf.google.com |
Google Workspace sends mail for this domain. This is the value in Google's SPF guide |
A security vendor, such as include:spf.ess.barracudanetworks.com |
The company's outgoing mail passes through that vendor |
SPF is how you see what is underneath a gateway. If the MX points to Proofpoint and the SPF includes spf.protection.outlook.com, the company is on Microsoft 365 behind Proofpoint.
Includes can be nested. If one points to a name you do not recognize, look that name up the same way:
dig +short TXT _spf.example.net
Step 3: check the autodiscover record
Outlook finds a Microsoft mailbox through a record called autodiscover. Microsoft's DNS reference gives its target as autodiscover.outlook.com.
dig +short CNAME autodiscover.example.com
If the answer is autodiscover.outlook.com., the mailboxes are at Microsoft, whatever the MX says.
Step 4: look for the MS= record
When a company adds its domain to Microsoft 365, Microsoft asks it to prove ownership with a TXT record. The record stays in DNS afterward and looks like MS=ms followed by digits.
dig +short TXT example.com | grep -i '"MS='
It is a weak signal: the company may use Microsoft for other products while its mail lives elsewhere.
Step 5: for a Microsoft send, check what is in front
A company can receive mail straight at Microsoft and still have a security product in the path. Two more lookups show the common cases.
dig +short TXT _dmarc.example.com
Look at the address after rua=. If DMARC reports go to a security vendor, that vendor is involved in the company's mail.
curl -s "https://login.microsoftonline.com/getuserrealm.srf?login=user@example.com&json=1"
This is Microsoft's public sign-in lookup. "NameSpaceType":"Managed" means the company signs in at Microsoft directly. "Federated" means sign-in is handed to another identity system, which we count as extra security. The lookup also answers for companies whose mail is elsewhere (google.com has a managed tenant, and its MX is smtp.google.com), so use it only on domains the earlier steps left unclear.
When we ran these checks on 2,548 Microsoft domains, 1,250 had nothing in front: MX straight to Microsoft, no security vendor in TXT or SPF records, no DMARC reports to a security vendor, and no federated sign-in.
Checking a whole list
Put one domain per line in domains.txt and run the lookups in parallel.
xargs -P 20 -I{} sh -c 'echo "{},$(dig +short MX {} | sort -n | head -1)"' < domains.txt > mx.csv
Do the same for SPF:
while read -r d; do
echo "$d,$(dig +short TXT "$d" | grep -o -i -E 'include:[^ "]+' | tr '\n' ' ')"
done < domains.txt > spf.csv
Then label each row with the two tables above. Our own script, which runs many lookups at once, labels about 39,000 domains in roughly 3 minutes.
What each result means for outreach
Reply figures are from 13,267 first emails we sent for one seller between 21 September and 10 November 2026.
| Result | Share of 37,953 domains in our count | What we saw | What we do |
|---|---|---|---|
| Google Workspace | 14.3% direct | 4.35 positive replies per 1,000 (23 of 5,381) | Send here first |
| Microsoft 365, nothing in front | part of the 38.8% on Microsoft directly | 0.68 per 1,000 (4 of 5,964) across all direct Microsoft recipients | Send from an aged, warmed domain, under 50 words, no links. See why cold email fails at Microsoft 365 |
| Behind a gateway | 25.0% | 0.60 per 1,000 (1 of 1,782), 6.7% bounced | Leave out or use another channel. See security gateways and cold email |
| No mail server | 10.5% | An address on this domain cannot be delivered | Find the domain the company uses for email |
| Other host | about one in ten | Too few sends to report | Case by case |
The full count is in which email providers companies use. Before each send day, also run an inbox placement test on your own mailboxes.
How we do it at Acquiser
We run this lookup on every list before anyone is written to: MX first, then SPF with its nested includes, the autodiscover record, the MS= record, and the tenant lookup for the unclear cases. Each domain gets a label. Google-hosted companies are sent first. Microsoft domains go through step 5, and only those with nothing in front of the mailbox are written to. We read each send's results per label.
