
An SMTP relay is a mail server that accepts an email from a sender and passes it on toward the recipient's mail server. Almost every email you send goes through at least one relay: your provider's outgoing server accepts your message and relays it to the recipient's provider. The term also describes specific services, like Google Workspace's relay for printers and apps, or hosted sending services. This guide explains what an SMTP relay is in plain English, how a message hops between servers, real examples and when you'd set one up.
💡 TL;DR
An SMTP relay is a server that receives email from a sender (a person's mail client, an app or another server) and forwards it toward the recipient's mail server using SMTP. Your email provider's outgoing server acts as a relay for your mailbox. Organizations also set up relays for devices and apps, such as Google Workspace's smtp-relay.gmail.com, Microsoft 365 connectors, an internal "smarthost", or hosted services like Amazon SES. Each relay hop adds a Received line to the message headers. A relay must only accept mail from authorized senders; one that relays for anyone is an open relay and will be abused.
By LiteMail · Prices/data checked on November 25, 2026
Table of Contents
What Is an SMTP Relay, in Plain English?
The Servers in an Email's Journey
How a Message Hops Between Servers
Real Examples of Relays
Why Would You Set Up a Relay?
What Is an Open Relay?
Related Terms You'll See
Authentication and Relayed Mail
Step-by-Step: Setting Up a Relay for a Device or App
Do You Need a Relay for Cold Email?
Worked Example: Tracing a Scanner Email
Final Verdict: A Relay Passes Mail Along
Frequently Asked Questions
What Is an SMTP Relay, in Plain English?
Think of a relay like a post office sorting center. You hand your letter to the local office; it doesn't deliver it to the recipient's door itself but passes it to the next office closer to the destination. An SMTP relay does the same for email: it accepts a message and passes it on toward the server that will deliver it to the recipient's mailbox.
The word "relay" describes what the server does, not a special kind of server.
By the end of this, you'll understand what an SMTP relay is, how it works and when you'd use one.
Sometimes several relays are involved. A company might route all outgoing mail through an internal server first, which then hands it to a cloud provider, which delivers it to the recipient. Each step is a relay hop.
The Servers in an Email's Journey
A typical message passes through several roles.
Role | What it does | Example |
|---|---|---|
Mail client | Where you write the email | Outlook, Gmail web |
Submission server | Accepts mail from authenticated users | smtp.gmail.com, smtp.office365.com |
Relay | Forwards mail onward | Provider outbound servers, smarthosts, relay services |
Receiving server (MX) | Accepts mail for the recipient's domain | The recipient's provider |
Mailbox | Where the recipient reads it | Their inbox |
💡 Most relaying is invisible
When you send from Gmail or Outlook, your provider relays the message for you. You only set up a relay yourself for devices, apps or special routing.
How We Built This Guide
This guide is based on the SMTP standard (RFC 5321) and Google Workspace, Microsoft 365 and Amazon SES documentation, checked on November 25, 2026. It's a definition guide; our separate articles cover relay security, relay vs server and using relays for cold email.
The content gap
Most definitions are abstract. This guide shows what relaying looks like in a real message's headers, which makes the concept concrete and helps when you troubleshoot.
How a Message Hops Between Servers
Each server that handles a message adds a Received header at the top. Read them from bottom to top to follow the journey.
Here, an app server handed the message to the provider's relay, which delivered it to the recipient's MX server. In Gmail, Show Original displays these headers.
Reading these headers is one of the most useful troubleshooting skills in email. If a message is delayed, the timestamps show where it waited. If it failed authentication, the hops show which server sent it on your behalf.
Real Examples of Relays
Here are relays you'll encounter.
Example | Who uses it | Purpose |
|---|---|---|
Google Workspace SMTP relay (smtp-relay.gmail.com) | Workspace admins | Printers, scanners, apps sending through Google |
Microsoft 365 connectors | Exchange Online admins | Routing mail from on-premises servers or partners |
Internal smarthost | IT teams | Central server that relays all outgoing mail |
Hosted relay service (e.g. Amazon SES) | Developers | Transactional and application email |
Your provider's outbound servers | Everyone | Relaying normal outgoing mail |
Our Google Workspace SMTP relay setup guide in this series covers that example step by step.
Whatever the example, the principle is the same: the relay accepts mail from known sources and hands it on, adding its own hop to the message's journey.
Why Would You Set Up a Relay?
Most people never configure one directly. Organizations do when:
Devices like printers or scanners need to email documents.
Applications need to send notifications or receipts.
On-premises servers need to send through a cloud provider.
IT wants one controlled exit point for all outgoing mail.
Developers need high-volume transactional sending.
In each case, the relay gives the organization one controlled place where mail leaves, so authentication, logging and limits can be managed centrally rather than device by device.
What Is an Open Relay?
An open relay accepts mail from anyone and forwards it to anyone, with no authentication. Spammers scan the internet for them and abuse them quickly, which gets the server's IP and domain blocklisted.
Every legitimate relay restricts who can use it, through authentication, IP allowlists or connectors. Our secure SMTP relay guide in this series covers the controls.
Related Terms You'll See
These terms often appear alongside relays.
Term | Meaning |
|---|---|
MTA (mail transfer agent) | Software that transfers mail between servers |
MSA (mail submission agent) | Server that accepts mail from clients, usually on port 587 |
Smarthost | A relay an organization routes all outbound mail through |
Connector | Microsoft 365's rules for routing mail to or from specific sources |
Envelope sender | The address used for bounces, checked by SPF |
You don't need to master these terms to use email, but they appear constantly in provider documentation and support conversations, so knowing them makes troubleshooting much faster.
Authentication and Relayed Mail
When mail passes through a relay, receivers still check whether it's authorized to use your domain.
SPF must include the relay's sending servers.
DKIM should sign the message with your domain.
DMARC checks that SPF or DKIM aligns with the From domain.
If a relay isn't covered, mail may fail authentication. Our SPF, DKIM and DMARC guide explains how to cover each sending service.
Step-by-Step: Setting Up a Relay for a Device or App
A typical setup looks like this.
Choose the relay: your provider's relay or a hosted service.
Restrict access by authentication, IP or both.
Require TLS for connections.
Configure the device or app with the relay host, port and credentials.
Make sure SPF, DKIM and DMARC cover the relay.
Send a test and check the headers.
Do You Need a Relay for Cold Email?
No. Cold email works best from real mailboxes on separate outreach domains, sent through your provider's normal outbound servers and a sequencer. Relay services are designed for system and transactional mail, and most prohibit unsolicited email.
Litemail pre-warmed inboxes give you outreach mailboxes ready to connect to a sequencer. See our cold email infrastructure overview.
Worked Example: Tracing a Scanner Email
An illustrative trace.
Hop | Server | Role |
|---|---|---|
1 | Office scanner | Sends via TLS with credentials |
2 | smtp-relay.gmail.com | Google Workspace relay accepts and relays |
3 | Recipient's MX | Receives for the recipient's domain |
4 | Recipient's inbox | Delivered |
The Received headers show each hop, and SPF and DKIM pass because the relay is covered by the company's records.
What Real Users Say
Admins commonly describe confusion between their provider's submission server and its relay service, and between relaying for devices and sending bulk email. The most common advice in admin communities is to restrict every relay tightly and never leave one open.
Final Verdict: A Relay Passes Mail Along
An SMTP relay is a server that accepts email and forwards it toward its destination. Your provider relays your everyday mail; organizations set up relays for devices, apps and routing, using services like Google Workspace's relay, Microsoft 365 connectors, smarthosts or hosted sending services.
Every relay must be restricted to authorized senders and covered by your domain's authentication.
Real Mailboxes for Outreach, No Relay Needed
Litemail pre-warmed Google Workspace and Microsoft 365 inboxes come with SPF, DKIM and DMARC pre-configured, dedicated US and EU IPs and full admin access. From $39/month for 5 inboxes.
Get Pre-Warmed Inboxes from $39/mo →
Google Workspace & Microsoft 365 · Full admin access · Dedicated US and EU IPs · Plans from 5 inboxes
About Litemail — Litemail provides pre-warmed Google Workspace and Microsoft 365 inboxes for cold email outreach. From $39/month for 5 inboxes with automated DNS, dedicated US and EU IPs, and full admin access. View pre-warmed inbox plans →
Related reading: Cold Email Infrastructure · Google Workspace Inboxes · SPF, DKIM and DMARC Setup Guide · Cold Email Deliverability Guide · Litemail Pre-Warmed Inboxes — Plans and Pricing
Key Takeaways
A relay accepts email and forwards it toward the recipient's server.
Your provider's outbound servers relay your normal mail.
Organizations set up relays for devices, apps and routing.
Each hop adds a Received header you can read bottom to top.
An open relay accepts mail from anyone and will be abused.
Cold email should use real mailboxes, not relay services.
Frequently Asked Questions
What is an SMTP relay?
A server that accepts email from a sender and forwards it toward the recipient's mail server using SMTP.
Is my email provider a relay?
Yes. Your provider's outgoing servers relay your messages to recipients' servers.
What is an example of a relay service?
Google Workspace's smtp-relay.gmail.com, Microsoft 365 connectors or hosted services like Amazon SES.
What is an open relay?
A relay that forwards mail from anyone without authentication. It will be abused and blocklisted.
How can I see which relays handled an email?
Read the Received headers from bottom to top, for example with Show Original in Gmail.
Do I need a relay for cold email?
No. Use real mailboxes on separate outreach domains.
Does Litemail provide outreach mailboxes?
Yes, pre-warmed Google Workspace and Microsoft 365 inboxes from $39/month for 5 inboxes.
Buy Pre-Warmed Email Inboxes & Domains | Litemail
Buy pre-warmed email accounts, inboxes and domains from $39/month for 5 inboxes. Google Workspace & Microsoft 365. Automated DNS, US & EU IPs. Setup in 5 minutes.
View Plans & Pricing → Related reading: Microsoft 365 Inboxes · Blacklist Prevention for B2B Teams · Outlook Subject Line Display · Pre-Warmed Domains · Litemail Home


