Article

Content

What Is an SMTP Relay? Meaning, How It Works, Examples

What Is an SMTP Relay? Meaning, How It Works, Examples

What Is an SMTP Relay? Meaning, How It Works, Examples

Summarize with
Book more meetings with pre-warmed mailboxesReady-to-send Google & Microsoft inboxes in 5 minutes. US/EU IPs. No warmup wait.Get pre-warmed inboxes
4.8on G2
4.5on Trustpilot
Add as a preferred source on Google
Table Of Contents

Scanning page for headings…

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.

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

💡 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

  1. What Is an SMTP Relay, in Plain English?

  2. The Servers in an Email's Journey

  3. How a Message Hops Between Servers

  4. Real Examples of Relays

  5. Why Would You Set Up a Relay?

  6. What Is an Open Relay?

  7. Related Terms You'll See

  8. Authentication and Relayed Mail

  9. Step-by-Step: Setting Up a Relay for a Device or App

  10. Do You Need a Relay for Cold Email?

  11. Worked Example: Tracing a Scanner Email

  12. Final Verdict: A Relay Passes Mail Along

  13. Frequently Asked Questions

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

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.

Need pre-warmed inboxes ready today? Litemail delivers Google Workspace & Microsoft 365 mailboxes with weeks of warm-up history built in.Check Available Domains →

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.

Litemail's pre-warmed Google Workspace & Microsoft 365 inboxes come with US/EU IPs, automated DNS, full admin access, and 4–12 weeks of warm-up history — all from $4.99/inbox. No separate warm-up tool needed.

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.

Received: from mail-relay.provider.example (203.0.113.5)
by mx.recipient.example; Tue, 10:02
Received: from app-server.yourcompany.example (198.51.100.7)
by mail-relay.provider.example; Tue, 10:01
Received: from mail-relay.provider.example (203.0.113.5)
by mx.recipient.example; Tue, 10:02
Received: from app-server.yourcompany.example (198.51.100.7)
by mail-relay.provider.example; Tue, 10:01
Received: from mail-relay.provider.example (203.0.113.5)
by mx.recipient.example; Tue, 10:02
Received: from app-server.yourcompany.example (198.51.100.7)
by mail-relay.provider.example; Tue, 10:01

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.

Start Sending Cold Email Today — Not in 6 Weeks
Pre-warmed Google Workspace & Microsoft 365 inboxes. Automated DNS. US & EU IPs. From $4.99/inbox.
See Domains Ready to Send →
No credit card required · Setup in 5 minutes · Cancel anytime
Start Sending Cold Email — Pre-warmed inboxes from $4
Get Inboxes

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.

Get Fresh Email Inboxes — Set Up in 30 Minutes
Real Google Workspace and Microsoft 365 accounts on your domains. Automated DNS, SPF, DKIM and DMARC included.
Find Your Sending Domains →
Starts at $2.50/inbox · Automated DNS · No manual setup

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.

Stop Losing Emails to Spam — Get Pre-Warmed Inboxes
Ready to send from day 1. No warm-up wait. No extra tools needed.
Find Your Sending Domains →
100,000+ mailboxes · US & EU IPs · From $4.99/inbox

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.

  1. Choose the relay: your provider's relay or a hosted service.

  2. Restrict access by authentication, IP or both.

  3. Require TLS for connections.

  4. Configure the device or app with the relay host, port and credentials.

  5. Make sure SPF, DKIM and DMARC cover the relay.

  6. 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

Book more meetings with pre-warmed mailboxesReady-to-send Google & Microsoft inboxes in 5 minutes. US/EU IPs. No warmup wait.Get pre-warmed inboxes
4.8on G2
4.5on Trustpilot
Add as a preferred source on Google

Share

Share LiteMail automated email setup on Twitter (X)
Share LiteMail email marketing growth strategies on Facebook
Share LiteMail inbox placement and outreach analytics on LinkedIn
Share LiteMail cold email infrastructure on Reddit
Share LiteMail affordable business email plans on Pinterest
Share LiteMail deliverability optimization services on Telegram
Share LiteMail cold email outreach tools on WhatsApp
Share Litemail on whatsapp
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now
FREESearch pre-warmed domains for freeReady-to-send inboxes that land in the inbox, not spam.Search now