100% Inbox Delivery

HomeBlog › How to Set Up an SMTP Relay Server: The Complete Guide

How to Set Up an SMTP Relay Server: The Complete Guide

Published October 7, 2024 · Updated August 28, 2026 · Guides & Tutorials

An SMTP relay is the server that takes outgoing mail from your app, website, device, or mailer and delivers it reliably — authenticating it, applying a trusted IP, and forwarding it to the recipient. Setting one up is not complicated once you know the order of operations. This is the complete guide: what a relay is, when you need one, and exactly how to set it up and use it well.

What an SMTP relay does, and when you need one

Instead of every app and device figuring out how to deliver mail on its own, they hand it to a relay. The relay authenticates the sender, applies the right IP and DKIM signature, and delivers to the recipient's server. One central relay means consistent authentication, better deliverability, and far easier management than a dozen systems each sending independently.

You need one if:

  • Apps and websites send notifications, receipts, or password resets.
  • Devices like printers and scanners email documents.
  • You send bulk or marketing mail that needs a dedicated IP and real volume.
  • Multiple systems — your website, CRM, billing tool — should all send through one authenticated point.

Shared vs. dedicated relay

A shared relay is cheap but ties your reputation to every other sender on that IP — one spammer on a shared IP hurts everyone using it. A dedicated relay gives you your own IP: the difference between hoping your mail arrives and knowing it does. For anything that matters to your business, dedicated is worth it.

How to set it up, step by step

  1. Choose your relay. Shared (cheap, shared reputation) or dedicated (your own IP, best deliverability).
  2. Get your connection details. Your provider gives you four things: host, port (587), username, and password — what every app or device will use to connect.
  3. Authenticate your domain. Publish SPF, DKIM, and DMARC DNS records for your sending domain. This step decides inbox versus spam — a managed relay generates these for you.
  4. Configure your sender. Enter the host, port 587, STARTTLS, username, and password into your app, mailer, or script. Set the "from" address to your authenticated domain.
  5. Test and warm up. Send a test to yourself, confirm it lands in the inbox with authentication passing, then ramp up volume gradually before going full-scale.

The step that trips people up is authentication: a relay that connects and "sends" can still land in spam if SPF, DKIM, and DMARC are not passing. Verify authentication before you trust it with real mail.

The fast path: five minutes with a managed provider

With a managed dedicated SMTP, there is nothing to build — the server, dedicated IP, and authentication are prepared the moment you sign up:

  1. Sign up and grab your host, port 587, username, and password.
  2. Drop in the DNS records the provider gives you (SPF, DKIM, DMARC) — copy, paste, save.
  3. Enter the SMTP settings in your app or mailer.
  4. Send a test to yourself and confirm inbox placement.
  5. Go — start with modest volume and ramp up.

Using it well, day to day

Point every app, site, and mailer at the same relay credentials so your reputation compounds instead of scattering across senders. Warm up volume gradually, keep your lists clean, and monitor bounces and complaints — a dedicated IP makes those good habits pay off directly in inbox placement.

Tip: A relay that connects and "sends" can still land in spam if SPF/DKIM/DMARC are not passing — always verify authentication before trusting it with real mail.
Related reading: What is SMTP relay · Office 365 SMTP relay · GoDaddy SMTP relay · Postfix relay setup · SMTP relay in Azure
Dedicated SMTP relay

Skip the caps, the shared IPs, and the DNS wrangling

Dedicated IP, unlimited sending, and SPF/DKIM/DMARC configured on signup. From $39.99/mo, cancel anytime.

See the unlimited SMTP server →Get started now

Frequently asked questions

How do I set up an SMTP relay step by step?

Choose a relay, get your host/port/username/password, authenticate your domain with SPF/DKIM/DMARC, configure your sender on port 587, then test and warm up.

What port should the relay use?

Port 587 with STARTTLS for authenticated submission. Avoid port 25, which is often blocked and less secure.

How long does setup take?

With a managed dedicated SMTP, minutes — the server, IP, and authentication are ready on signup. Self-configuring your own DNS adds a little time for records to propagate.

Can multiple systems share one SMTP relay?

Yes — point your website, app, CRM, and other tools at the same relay credentials. They all send with consistent authentication and reputation. Keep marketing and transactional streams logically separate so a heavy campaign never delays a password reset.