How email routing headers work
Every mail server that accepts a message adds a Received line: who handed it over, who took it, how, and when. Together they record the route, from the sender’s server through gateways and filters to the recipient’s mailbox. Servers add other headers too: authentication results, spam verdicts, IDs.