How email is delivered and checked
How a message finds the recipient's mail server, and the checks (blocklists, SPF, DKIM and DMARC) that decide whether it is accepted.
Step through it
Tip: swipe, or use the left and right arrow keys, to turn the slides.
Step 1 of 8: You press send
See the whole path at once
- SenderYou and your mail app
- Sending serverYour provider's mail server
- DNSPublic records
- Receiving serverThe recipient's provider
- InboxWhere it lands
Read every step as text
1.You press send
Your mail app hands the message to your provider's mail server. Nothing has gone to the recipient's provider yet.
Path: Sender to Sending server
2.The server looks up where to deliver
The sending server asks DNS for the MX records of the recipient's domain. Each one names a mail server and a priority number, and the lowest number is tried first.
Path: Sending server to DNS
Read: MX records and how email finds its wayTry: Look up a domain's mail servers
3.It connects to the receiving server
The server connects to the first mail server on the list. If that one cannot be reached, it moves on to the next. A domain with a null MX says it accepts no mail, and delivery stops there.
Path: Sending server to Receiving server
4.The receiving server checks who is calling
Before accepting the message, the server looks at the address that connected to it. Does it have a reverse DNS name, and is it on a blocklist of known sources of spam?
Path: Receiving server to DNS
Read: Email blocklists (DNSBLs)Try: Check mail servers against blocklists
5.SPF: is this server allowed to send?
It reads the sender domain's SPF record, a list of the servers allowed to send for that domain, and checks that the server that connected is on it.
Path: Receiving server to DNS
6.DKIM: was the message signed and left unchanged?
The message carries a digital signature from the sending domain. The server fetches the matching public key from DNS and checks that the signature fits and the message was not altered on the way.
Path: Receiving server to DNS
7.DMARC: do the results match the From address?
The domain's DMARC record says that SPF or DKIM must pass in a way that matches the visible From address, and what to do if neither does: nothing, treat it as suspicious, or reject it.
Path: Receiving server to DNS
8.Delivered, filed as spam, or refused
Using these checks and its own filters, the receiving server delivers the message, puts it in the spam folder, or refuses it. Where supported, a verified brand logo can then appear beside the sender (BIMI).
Path: Receiving server to Inbox
Go deeper
- MX records and how email finds its wayHow MX records tell the world which servers accept mail for a domain, what the priority number means, and what a null MX is.
- Email blocklists (DNSBLs)What a DNS blocklist is, how a server is checked against one, and what to do if a mail server is listed.
- SPF: who may send mail for a domainHow an SPF record lists the servers allowed to send email for a domain, and the mistakes that break it.
- DKIM: signing emailHow DKIM lets a domain sign its email so receivers can check it was not changed, and where the public key lives.
- DMARC: policy and reportsHow DMARC ties SPF and DKIM to the visible From address, tells receivers what to do with failures, and sends you reports.
- BIMI: showing your logo in emailWhat BIMI is, what a domain needs before mailbox providers will show its logo, and what it does not prove.