How Do I Change the Email Relay in Linux?
Contents

How do I set up an email relay?

To set up a smart host:

  1. In Server Admin, select Mail and click Settings.
  2. Under Relay all mail through this host, enter smtp-relay.gmail.com.
  3. Click Save to close the Server Admin.
  4. Restart the mail service.
  5. When you’ve completed your configuration, send a test message to confirm that your outbound mail is flowing.

How do I find my SMTP relay configuration in Linux?

To check if SMTP is working from the command line (Linux), is one critical aspect to be considered while setting up an email server. The most common way of checking SMTP from Command Line is using telnet, openssl or ncat (nc) command. It is also the most prominent way to test SMTP Relay.

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest