1. Knowledge base
  2. E-mail
  3. Set up SMTP relay on Plesk with…

Set up SMTP relay on Plesk with Postfix

Updated on 25 November 2019 1 min read Snel.com support team

Introduction

If you want or need to set up your mail server to send all outgoing mail to a specific server that will handle the delivery to the recipients you need to set up an SMTP relay or smarthost.

Prerequisites

  • You need to know the hostname of the SMTP server which is going to relay the mail for your mail server, which is smtprelay.snel.com in our case
  • This article assumes that no authentication is necessary on the SMTP relay server
  • This article is written for Plesk with Postfix
  • You need to have the SSH login details of your server ready

Log in with SSH

Log in as root. Please see this article for instructions if you don’t know how to connect.

Configure the MTA

Update the postfix configuration by issuing the following commands:

Code
postconf -e 'relayhost = [smtprelay.snel.com]:587'postconf -e 'smtp_tls_security_level = may'

Restart the mail server

Restart the mail server by issuing the following command:

Code
service postfix restart

Conclusion

Congratulations, you have now installed SMTP relay / smarthost for your mail server.

Was this article helpful?

Spot a mistake in this article? Email us at support@snel.com

This article was last checked on 25 November 2019. · 12,948 views

Your own VPS online within 2 minutes

Windows or Linux, root access and hosted in Rotterdam.

View VPS from € 6.99

Support

Can't figure it out? We are happy to help

You always talk to a real engineer. We typically respond within 15 to 30 minutes, and 24/7/365 for outages.

Call us

+31 88 3 088 099

Create a ticket

Through the client area we immediately see which service it is about.

Email us

Send your question via the contact form, also outside office hours.