Foxcolab

Glossary

Open relay

Definition

Open relay: A mail server (SMTP server) that accepts mail from any sender and forwards it to any destination without requiring authentication. RFC 5068 says mail submission servers must not be open relays.

Also known asopen mail relayopen SMTP relayunauthenticated relaythird-party relay

In short

An open relay is a mail server that accepts mail from any sender and forwards it to any destination without authentication. Spammers use open relays to hide where their mail comes from and to borrow the server's reputation. RFC 5068 says submission servers "MUST NOT permit relaying of unauthenticated messages to other domains." A safe server delivers mail for its own domains and sends onward only for signed-in users.

Key takeaways

  • A mail server should accept mail from strangers only for domains it hosts.
  • It should send mail to other domains only for users who have signed in.
  • Open relays end up on blocklists, and legitimate mail from the same address starts bouncing.
  • Most open relays are accidents, such as an over-broad trusted network or a test server.
  • Test from outside your network by trying to send from one outside domain to another.

Last reviewed 4 December 2026 by Foxcolab Team

An open relay is a mail server that accepts email from anyone and forwards it to anyone, without checking who is sending. Spammers hunt for open relays because mail sent through someone else's server hides its origin and borrows that server's good name. RFC 5068, an IETF Best Current Practice, is blunt: mail submission servers "MUST NOT permit relaying of unauthenticated messages to other domains. That is, they must not be open relays."

What a mail server should accept#

Who's connectingWhere the mail is goingAccept it?
Any server on the internetA domain this server hostsYes: that's normal delivery
A signed-in userAnywhereYes: that's sending
Any server on the internetSome other domainNo: that's relaying for strangers

RFC 2505 summed up the rule back in 1999 as "Stop unauthorized mail relaying," warning that relay abuse "puts the relay owner's reputation at risk."

How servers end up open#

An open relay is rarely a decision. It's a "trusted network" setting that covers a whole office or cloud subnet, a scanner or website contact form allowed to send without a password, or a test server nobody locked down. Once spammers find it, its address lands on IP blocklists, and real mail from the same address starts bouncing. Your domain's sender reputation suffers with it.

Testing your own server#

From outside your network, try to send from one outside domain to another:

Text
$ telnet mail.example.com 25
220 mail.example.com ESMTP
HELO test.example.net
250 mail.example.com
MAIL FROM:<someone@example.org>
250 OK
RCPT TO:<someone-else@example.net>
554 5.7.1 <someone-else@example.net>: Relay access denied

A refusal at RCPT TO is what you want. A 250 reply there means the server relays for strangers. Test only servers you're responsible for.

To close a relay, limit the trusted network to the server itself, require sign-in for sending, and give devices such as scanners their own accounts.

In Foxcolab#

Foxcolab Mail's servers accept mail from outside only for the domains they deliver to. Mail apps that send through Foxcolab Mail must sign in first, and the server checks the sender address against the signed-in account. For your organization's domain, the Domains tab lists the SPF, DKIM and DMARC records that let other providers tell your real mail from forgeries. See SMTP, or create a free account.

Keep exploring

All terms

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.

Jump to