Articles in this section

How to configure an external SMTP server in Plesk

Plesk for Windows kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to use an external SMTP server in Plesk?

Answer

Note: WordPress plugins will not be able to send mail using external SMTP settings from Plesk. It is required to install and configure an additional WordPress plugin, e.g., SMTP Mail, in order to use external SMTP server with WordPress.

 

Setting up external SMTP server in Plesk for Linux

 

  1. Install the SMTP server:

    • via Plesk

      1. Log in to Plesk.

      2. Go to Tools & Settings > Updates.


        Updates.png

      3. On the Updates and Upgrades page, click Add/Remove Components.


        Screenshot_2020-09-07_Plesk_Installer.png

      4. On the Add/Remove Components page, expand Mail hosting and select MSMTP (relay only).

        Warning: If local mail server is installed, it will be removed along with other mail components like Mailman, SpamAssassin, Dovecot.


        Screenshot_2019-01-17_Plesk_Installer.png

      5. Click Continue to begin the installation.

    • via a command-line interface
      1. Connect to the Plesk server via SSH.
      2. Run the following command to install the SMTP server:

        # plesk installer add --components msmtp

  2. Once the component is installed, go to Tools & Settings > External SMTP Server.

  3. Select Allow Plesk to send email notifications through this SMTP server to make notifications be sent via the external SMTP server.

  4. Specify external SMTP server settings and click OK.


    Screenshot_2019-05-21_External_SMTP_Server_Settings_-_Plesk_Onyx_17_8_11_1_.png

 

Setting up external SMTP server in Plesk for Windows Server

 

  1. Log in to Plesk.

  2. Go to Tools & Settings > External SMTP Server.

  3. Uncheck the setting Use the mail server installed with Plesk and the default mail account created by Plesk.

  4. Specify external SMTP server settings.


    Screenshot_2019-05-21_External_SMTP_Server_Settings_-_Plesk_Onyx_17_8_11.png

 

Additional Information

Was this article helpful?

Comments

3 comments
Date Votes
  • It's not clear if server emails would be sent via SMTP, doing as guided.

     

    For me SMTP works with potfix and WP OffloadSES plugin..

    0
  • I have web forms that configured to send with custom email sender. With the setting above, all emails are sent from authenticated account. How can I set each forms to send from different email addresses?

    -1
  • How can I change or configure the ‘from’ email account? I’m using an external SMTP server, but it doesn’t allow the use of any ‘from’ email other than the ‘login’ email (SMTP username).

    0

Please sign in to leave a comment.