Technical guide

What Is an SMTP Relay, and When Do You Need One?

What an SMTP relay is, why a mail server may need to send outgoing mail through one, IP authorisation, SPF, quotas and a safe set-up.

Published · Updated · 3 min read · SecuraWall team, Doz Teknoloji

SMTP Relay Nedir, Ne Zaman Gerekir? (TR)

An SMTP relay is a trusted server that your mail server or application hands its outgoing mail to, instead of delivering it straight to the recipient. It is a common fix when your own server's IP reputation is poor, when it lands on a blocklist, or when you want outgoing mail under control.

When do you need one?

  • Mail from your own server often lands in spam or is refused.
  • Your server's IP address is on a blocklist and cannot be cleared quickly.
  • You cannot get a reverse DNS (PTR) record set for the server.
  • Your Internet provider blocks outgoing port 25.
  • You want the mail sent by applications, printers and servers under control.

Authentication: password or IP address?

Many relay services ask for a user name and password. Those passwords live in application settings, and when one leaks your relay can be used to send spam. The alternative is to accept mail only from registered IP addresses: there is no password to leak.

SecuraWall SMTP Relay accepts only registered client IP addresses on port 587 (up to two servers per customer account, IPv4 or IPv6). STARTTLS is offered and recommended.

How to set it up safely

  1. Register the public IP addresses of the sending server with the relay service.
  2. Add the relay's include to the SPF record of every sending domain; for SecuraWall that is include:_spf.securawall.com. Do not create a second SPF record.
  3. Keep DKIM signing on your own server; the relay forwards the signed message unchanged.
  4. Point your server's outgoing route (relay host or smarthost) to the relay on port 587.
  5. Send a test to a mailbox you own and check the SPF, DKIM and DMARC results.

Protections a relay should give you

  • Administrator approval: the relay should not switch on by payment alone.
  • Sending quotas: a compromised application cannot send thousands of messages.
  • Outgoing spam and data-leak checks: sensitive data leaving the organisation is noticed.
  • Header privacy: internal network details are not exposed in outgoing headers.

SecuraWall SMTP Relay

SecuraWall SMTP Relay is an add-on for customers with a Backup MX or Email Security package. It costs USD 25 per customer account per month and covers every domain with an active package. Every relay is approved by an administrator before it sends, and a domain may send only while its SPF record authorises SecuraWall.

Frequently asked questions

Will a relay guarantee inbox placement?

No relay can. A relay solves IP reputation; SPF, DKIM, DMARC and content still matter.

Is port 465 supported?

SecuraWall SMTP Relay uses port 587; 465 is not offered.

References

Protect your domain this week.

No commitment, no auto-renewal. One MX change to start; to leave, point your MX back.

Multi-layer email security with dual-layer AI, monthly per domain.

Protect your domain
Technical support