How Do I Change the Email Relay in Linux?
Contents How Do I Set up an Email Relay? to Set up a Smart Host: in Server Admin, Select Mail and Click Settings. Under Relay All Mail Through This Host, Enter...
Contents
How do I set up an email relay?
To set up a smart host:
- In Server Admin, select Mail and click Settings.
- Under Relay all mail through this host, enter smtp-relay.gmail.com.
- Click Save to close the Server Admin.
- Restart the mail service.
- 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.