WTF is an SMTP relay and why is it called relay

WTF is an SMTP relay and why is it called relay?

When you search for smtp you will encounter the term “SMTP relay” so often. In this blog I am trying to explain what an SMTP relay is. Lets first understand the meaning of relay. When you say someone is relaying that means that someone is taking one thing and passing it to someone else. Like in the Olympic relay race, one runner carries a torch and hands it to the second runner.

relay-race

(Image: OwnTheYard)

 

Similarly, an SMTP relay server accepts email from the email sender program and forwards it to the email receiver server or another node.

wtf-smtp-relay

It does it using an SMTP protocol. You can think of SMTP protocol as a language. The email creator program (usually email client like Thunderbird, outlook express) talks with SMTP relay server in SMTP protocol. The SMTP relay server then stores this email temporarily and contacts the receiver’s server.

SMTP relay server contacts the receiver’s SMTP server. It then talks with it (SMTP server) again in SMTP protocol and sends the email. In case, if the SMTP receiver server is temporarily not reachable (like network down) then it keeps trying after different intervals.

an-electronic-relay

An electronic relay

However, the term relay originated from electronic relay which was used for sending Telegram (not the famous chat messenger 😉 ) messages over a long distance. As the electronic signals get weaker due to passing via a long wires. The relays were use to strengthen these signals so they can transmit even further.

Additionally, back in old days when the email was newly introduced over the Internet. Most of the SMTP servers were relay (basically an open SMTP relay), that is, if you send an email messages which belongs to user@example1.com to the server example2.com, then the example2.com server will accept it and then delivers it to example1.com. Unfortunately, bad guys came (spammers) and started to abused it :(. Thus, all SMTP servers were used to called as an SMTP relay server instead.

I hope you enjoyed this content.

I will keep updating this blog, so keep checking.

Thanks for reading 🙂

Imran Shaikh
Latest posts by Imran Shaikh (see all)
Previous Post
How to Troubleshoot SMTP Relay ?
Next Post
Open SMTP Relay Server: What, Why and How?

Related Posts

4 Comments. Leave new

  • Great content! Super high-quality! Keep it up! 🙂

  • Billi Heiden
    March 10, 2020 6:39 pm

    Hiya, I’m really glad I’ve found this information. Today bloggers publish only about gossip and net stuff and this is actually frustrating. A good site with exciting content, that’s what I need. Thank you for making this website, and I will be visiting again. Do you do newsletters by email?

    • Imran Shaikh
      April 3, 2020 12:07 pm

      Yes, we do provide newsletter by email. You can signup for free and try.

Menu
During this difficult period, keep people safe and informed. We are enabling 30% of additional discount for all new users. Offer Code: CORONA30
Lighting Deal - Up to 30% OFF | Making Email Marketing Affordable!!! GET OFFER CODE!