Glossary
Mail transfer agent (MTA)
Definition
Mail transfer agent (MTA): Server software that receives email over SMTP and relays it one hop closer to its destination, finding the next server through MX records, queuing and retrying when it's unavailable, and adding a Received trace line to each message.
Also known asMTAmessage transfer agentmail relaySMTP server
In short
A mail transfer agent (MTA) is server software that receives email over SMTP and relays it one hop closer to its destination. It looks up the recipient domain's MX record, queues and retries when the next server is unavailable, bounces mail it can't deliver and adds a Received line to every message it handles. Your mail app hands mail to a submission server; MTAs carry it from there.
Key takeaways
- An MTA relays mail for one hop at a time, using SMTP, until a delivery agent files it in a mailbox.
- It finds the next server with an MX lookup; with no MX record, the domain's own address is used.
- When a server is down, MTAs queue and retry: RFC 5321 suggests retries at least 30 minutes apart for at least 4-5 days.
- Every MTA adds a Received header, so you can trace a message's path by reading those lines from the bottom up.
- An MTA that relays for anyone is an open relay and ends up on blocklists.
Last reviewed 5 December 2026 by Foxcolab Team
A mail transfer agent (MTA) is server software that receives email and relays it toward its destination, one server at a time, using SMTP. RFC 5321 puts it in one line: "SMTP servers and clients provide a mail transport service and therefore act as 'Mail Transfer Agents' (MTAs)." RFC 5598, which calls it a message transfer agent, compares it to "a packet switch or IP router."
Where the MTA sits#
Your mail app (MUA)
-> submission server (MSA): you sign in, it accepts the message
-> sending MTA: looks up the recipient domain's MX record
-> receiving MTA named in that MX record
-> delivery agent (MDA): files the message in the mailboxInside a large provider, a message can pass through several MTAs before it leaves, and each one counts as a hop.
What an MTA does at each hop#
- Finds the next server. It looks up the recipient domain's MX record. With no MX record at all, RFC 5321 treats the domain's own address as "an implicit MX RR, with a preference of 0."
- Queues and retries. If the next server is down, the message waits. RFC 5321 says "the retry interval SHOULD be at least 30 minutes" and the give-up time "generally needs to be at least 4-5 days."
- Bounces what it can't deliver, sending a notice to the Return-Path.
- Leaves a trace. Each server "MUST insert trace ('time stamp' or 'Received') information." Read the
Received:lines from the bottom up to see every hop and its time. A long gap between two lines points to the server that held the message. See how to read email headers.
The classic mistake is an MTA that accepts mail from anyone for anywhere, an open relay. Spammers find these quickly, and the server's address lands on blocklists.
In Foxcolab#
Foxcolab Mail runs its own mail servers. When you connect a domain, the MX record on the Domains tab "Sends mail for your domain to Foxcolab Mail." Mail from outside Foxcolab has its message body encrypted to your key when it arrives. That isn't end-to-end, and the subject and attachments aren't covered. Mail from one Foxcolab user to another is end-to-end encrypted: it's encrypted on your device before any server handles it.
Going out, Foxcolab Mail's servers encrypt the connection whenever the receiving server supports it. If a server refuses your message, or can't be reached after repeated attempts, a Delivery failed: notice lands in your inbox naming the recipients who didn't get it, and a copy stays in Sent. See Fix email delivery problems.
Keep exploring
Related terms
- SMTP (Simple Mail Transfer Protocol)SMTP is the protocol that sends email, from your mail app to your provider and from one mail server to the next. Here's what a session looks like, which port does what and what STARTTLS really protects.
- MX recordAn MX record is the DNS entry that names the servers accepting email for a domain and sets the order in which sending servers try them.
- Open relayAn open relay is a mail server that forwards email from anyone to anyone without checking who's sending. Spammers hunt for them. Here's how to tell if yours is one and how it gets fixed.
- Return-Path (envelope sender)The Return-Path is where bounces for an email go. It records the envelope sender, which SPF checks and which often differs from the From address you see.
- Email headerAn email header is the set of lines at the top of every message that records who sent it, to whom, when and by which route. Here's what each field means and which ones you can trust.
- MTA-STSMTA-STS lets a domain tell sending mail servers to deliver only over TLS, to named hosts with valid certificates. It closes the downgrade gap that STARTTLS leaves open.
- Email bounceAn email bounce is the notice you get back when a message can't be delivered. Its reply code says whether the problem is permanent or temporary, and usually what to fix.
Where Foxcolab uses it

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.