Theme editor

Guide Plesk Plesk Panel SMTP Error: “5.7.0 Must issue a STARTTLS command first” Fix Guide 2025

  • Thread starter Thread starter CL4Y
  • Start date Start date
  • Views 154

CL4Y

Keyboard Ninja
Administrator
Thread owner

Plesk Panel SMTP Error: “5.7.0 Must issue a STARTTLS command first” Fix Guide 2025​

When configuring SMTP mail settings in XenForo or any other application, you may encounter the following error:

Bash:
SMTP 5.7.0 Must issue a STARTTLS command first

This error indicates that the server does not allow communication without TLS (encrypted connection).
If your SMTP client does not support TLS or requires a different configuration, you may need to disable this enforcement on your Plesk server.



🔧 Solution: Edit Postfix Configuration

  • Connect to your server via SSH.
  • Edit the following file:

Bash:
nano /etc/postfix/master.cf

jetto-plesk-smtp-error-1.webp


  • In the appropriate section, add or edit the following lines (they may already exist — just modify them as needed):

Bash:
smtpd_enforce_tls=no
smtpd_tls_security_level=may

To find the parameters quickly, use CTRL + W, type smtpd_enforce_tls, and then modify the existing value.

jetto-plesk-smtp-error-2.webp


Both smtpd_enforce_tls and smtpd_tls_security_level should be adjusted in their respective entries.

jetto-plesk-smtp-error-3.webp


These settings remove the STARTTLS enforcement and make TLS support optional.



🔁 Reload the Postfix Service​

Bash:
service postfix reload

jetto-plesk-smtp-error-4.webp
 
Thread owner
If you encounter any other issues related to this topic, please remember to open a support ticket on our website!
 
Back
Top