How to Fix Plesk SMTP Authentication Failed in Outlook and Thunderbird

Priya

Content Writer & Researcher

Last Updated: 20 October 2026
How to Fix Plesk SMTP Authentication Failed in Outlook and Thunderbird
πŸ–₯️

Plesk SMTP Authentication Failing Across Your Client Domains?

Email authentication failures frustrate end users and damage client trust. CloudHouse's Plesk specialists diagnose and fix SMTP authentication issues remotely β€” often resolving them within an hour.

πŸ–₯️12,400+PCs Fixed
⭐4.9β˜…Google Rating
⚑<15 minAvg. Response
πŸ›‘οΈISO 27001Certified

Configuring an email client like Outlook or Thunderbird to send through a Plesk server should take five minutes. But when Plesk SMTP authentication fails, users see cryptic errors like 535 Authentication Failed, 534 Authentication mechanism is too weak, or just Cannot connect to the outgoing mail server. This guide covers every root cause β€” from wrong port settings and encryption mismatches to Postfix SASL configuration and Dovecot authentication issues.

1. Verify Email Client Settings First

Before touching any server configuration, confirm the email client is configured correctly. The majority of "SMTP authentication failed" reports in Plesk are caused by wrong port or encryption settings in the mail client, not a server problem.

Correct SMTP settings for a Plesk server:

  • SMTP server hostname: use your server's hostname (found in Plesk > Tools & Settings > Server Settings), not just your domain name
  • Port 465 + SSL/TLS β€” recommended for direct SSL encryption
  • Port 587 + STARTTLS β€” recommended for submission with upgrade
  • Port 25 β€” for server-to-server relay only; most ISPs block outbound port 25
  • Authentication: Normal password (plain) or Encrypted password (LOGIN) β€” avoid NTLM or Kerberos for Plesk
  • Username: the full email address (e.g., user@yourdomain.com), not just user

In Outlook: go to File > Account Settings > Email > More Settings > Outgoing Server and confirm "My outgoing server requires authentication" is checked.

In Thunderbird: go to Tools > Account Settings > Outgoing Server (SMTP), click Edit, and set Security to SSL/TLS (port 465) or STARTTLS (port 587), with Authentication Method set to Normal password.

πŸ’‘ None of these worked? Skip the guesswork.

Get Expert Help β†’

2. Check the Postfix SASL Configuration on the Server

If the email client settings are correct but authentication still fails, the Postfix SASL (Simple Authentication and Security Layer) configuration on the Plesk server may be broken or missing a required line.

1Check key Postfix SASL settings
grep -E "smtpd_sasl|smtpd_relay_restrictions|smtpd_recipient_restrictions" /etc/postfix/main.cf

You must see permit_sasl_authenticated in the relay or recipient restrictions. A correct configuration looks like:

smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
2Remove conflicting SASL security options

If you see smtpd_sasl_security_options = noplaintext, this blocks plain-text authentication mechanisms β€” which is what most email clients use over SSL. Comment out or remove this line:

sed -i 's/^smtpd_sasl_security_options = noplaintext/#smtpd_sasl_security_options = noplaintext/' /etc/postfix/main.cf
3Reload Postfix after changes
postfix check && systemctl reload postfix
1Check Dovecot status
systemctl status dovecot

If Dovecot is inactive or failed, restart it:

systemctl restart dovecot && systemctl enable dovecot
2Check the Dovecot authentication socket exists
ls -la /var/spool/postfix/private/auth
# or:
ls -la /var/run/dovecot/auth-client

If the socket is missing after Dovecot restart, check Dovecot's auth configuration:

grep -r "service auth" /etc/dovecot/conf.d/10-master.conf
3Test SMTP authentication manually via telnet
telnet localhost 587

After connecting, type EHLO test. You should see 250-AUTH LOGIN PLAIN in the response. If AUTH mechanisms are not listed, SASL authentication is not enabled.

1Check what is listening on mail ports
ss -tlnp | grep -E ":25|:465|:587"

Port 587 (submission) and/or 465 (smtps) should appear. If they are missing, check the Postfix master.cf configuration:

grep -E "^submission|^smtps" /etc/postfix/master.cf

Uncomment or add the submission and smtps entries if they are missing.

2Check the Plesk Firewall allows ports 465 and 587

Log in to Plesk > Tools & Settings > Firewall and ensure ports 465 (SMTPS) and 587 (SMTP Submission) are set to Allow.

3Check iptables directly
iptables -L INPUT -n --line-numbers | grep -E "465|587|25"

If these ports are blocked by a DROP or REJECT rule, add allow rules:

iptables -I INPUT -p tcp --dport 587 -j ACCEPT
iptables -I INPUT -p tcp --dport 465 -j ACCEPT
service iptables save
1Reset the password via Plesk panel

Log in to Plesk > Domains > your domain > Mail > your email address > Change Password. Set a new password and update it in the email client.

2Reset via CLI
plesk bin mail -u user@yourdomain.com -passwd "NewSecurePassword123!"
3Test authentication via the Plesk Webmail interface

Navigate to https://yourdomain.com/webmail or https://your-server-hostname/webmail and log in with the email and password. If Roundcube webmail works but the email client does not, the server credentials are correct and the issue is in the client's settings.

1Check the Postfix and Dovecot auth logs
tail -100 /var/log/maillog | grep -E "authentication|SASL|535"
tail -100 /var/log/dovecot.log | grep -E "auth|failed|error"
2Check if Amavis is causing delays or authentication interference
systemctl status amavis
tail -50 /var/log/mail.log | grep amavis
3Rebuild Plesk mail configuration

If Plesk's mail configuration has drifted from its expected state, rebuild it:

plesk repair mail -y

This reconfigures Postfix and Dovecot to match Plesk's stored settings and fixes most authentication issues introduced by manual edits.

If you need expert help getting Plesk email authentication working across all your client domains, CloudHouse's managed Plesk support team can diagnose and fix SMTP authentication failures remotely β€” usually within the hour.

1Add debug logging to Postfix

Edit /etc/postfix/main.cf and add:

debug_peer_list = 127.0.0.1
debug_peer_level = 2

Then reload Postfix and watch the log:

systemctl reload postfix
tail -f /var/log/maillog | grep -E "SASL|AUTH|535|debug"
2Attempt a login from the email client while watching the log

The debug log will show exactly which authentication mechanism was attempted and at which step it failed.

3Remove the debug settings after resolving the issue
sed -i '/debug_peer_list/d; /debug_peer_level/d' /etc/postfix/main.cf
systemctl reload postfix

Get the Free Linux Server Admin Cheatsheet (PDF)

Essential commands for server management, networking, and troubleshooting β€” all on one printable page.

Running Linux servers? Let us manage them for you.

Our Managed Linux Server plans cover updates, security hardening, monitoring, and 24/7 incident response β€” so your servers stay up and your team stays focused.

  • Proactive OS patching and security updates
  • 24Γ—7 monitoring with instant alerting
  • Backup configuration and disaster recovery
  • Dedicated Linux engineers on call
See Pricing Plans β†’

What our customers say

β€œOur production server went down at 2 AM. CloudHouse had it back online in under 20 minutes. Incredible response time.”

Arun S.

CTO, SaaS Startup

β€œThey migrated our entire infrastructure from Ubuntu 18 to 22 with zero downtime. Couldn't have asked for better.”

Deepak N.

DevOps Lead

Frequently Asked Questions

Use port 465 with SSL/TLS for direct encrypted connections, or port 587 with STARTTLS for the submission service. Avoid port 25 for email clients β€” most ISPs block outbound port 25, and it is intended for server-to-server relay. Configure your email client to use port 465 or 587 with your full email address as the username.

Need this done for you?

Google Workspace and Email Setup

Workspace, Microsoft 365 and email deliverability set up correctly.

Learn more

Book your free 15-minute diagnosis

A certified technician will call you back within 15 minutes during business hours.

Share this article

Leave a Comment

Comments (0)

Loading comments...