Configure Email Encryption in Plesk: Complete TLS Setup Guide

Understanding Email Encryption in Plesk
Email encryption protects your messages from interception during transmission. When you configure email encryption in Plesk, you set up Transport Layer Security (TLS) that encrypts connections between email clients and your mail server.
Without encryption, emails travel as plain text across networks. This exposes sensitive business communications to eavesdropping and man-in-the-middle attacks.
Plesk provides built-in tools to secure these connections through SSL/TLS certificates and proper mail server configuration. Professional email hosting requires encryption as a standard security measure. Many compliance frameworks and business partners now demand encrypted email communications.
Prerequisites for Plesk Email Encryption
Before starting, ensure your server meets these requirements. You need a valid SSL certificate for your mail server hostname, root access to your Plesk server, and properly configured DNS records.
Check your current Plesk version supports mail encryption:
- Plesk Obsidian 18.0.30 or later
- Valid domain with A and MX records
- SSL certificate for mail.yourdomain.com
- Firewall allowing ports 993 (IMAPS), 995 (POP3S), and 465/587 (SMTPS)
Your Hostperl VPS comes with Plesk pre-configured. Verify these settings match your domain configuration.
Installing SSL Certificates for Mail Services
Navigate to Tools & Settings > SSL/TLS Certificates in your Plesk panel. Click "Add SSL Certificate" and select "Let's Encrypt" for a free certificate or upload your commercial certificate.
For the certificate hostname, use your mail server's FQDN (fully qualified domain name). This should match what users enter in their email client settings:
mail.yourdomain.com
If you're using Let's Encrypt, ensure your domain points to the server IP address. The certificate generation will fail if DNS doesn't resolve correctly.
After installation, assign the certificate to mail services. Go to Tools & Settings > SSL/TLS Certificates > Certificate Name > Assign to Services. Enable both "Mail server" and "Webmail" options.
Configuring SMTP Encryption Settings
Access Tools & Settings > Mail Server Settings to configure outgoing mail encryption. Enable "Use SSL/TLS encryption for outgoing mail" and set the submission port to 587 with STARTTLS support.
Configure these SMTP encryption options:
- Port 587: STARTTLS submission (recommended)
- Port 465: SSL/TLS wrapper (legacy but widely supported)
- Port 25: Plain SMTP (disable for security)
Set authentication to "Required" for both ports 587 and 465. This prevents your server from becoming an open relay while ensuring encrypted connections.
Test SMTP encryption with this command from your server:
openssl s_client -connect mail.yourdomain.com:587 -starttls smtp
Setting Up IMAP and POP3 Encryption
Configure incoming mail encryption through Tools & Settings > Mail Server Settings. Enable SSL/TLS for both IMAP and POP3 services to secure message retrieval.
Standard encrypted ports are:
- IMAP SSL/TLS: Port 993
- IMAP STARTTLS: Port 143 with encryption
- POP3 SSL/TLS: Port 995
- POP3 STARTTLS: Port 110 with encryption
Most modern email clients prefer IMAP over POP3 for multi-device access. Configure both protocols if you have mixed client requirements, but prioritize IMAP with SSL/TLS on port 993.
Verify IMAP encryption with:
openssl s_client -connect mail.yourdomain.com:993
Webmail Encryption Configuration
Plesk's webmail interfaces (Roundcube, Horde, SquirrelMail) automatically use HTTPS when your domain has a valid SSL certificate. Navigate to Domains > yourdomain.com > SSL/TLS Certificates to ensure webmail encryption.
Force HTTPS redirects for webmail by editing the domain's Apache/Nginx configuration. Add this redirect rule to ensure all webmail access uses encryption:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/webmail(.*)$ https://%{HTTP_HOST}/webmail$1 [R=301,L]
Users can then access encrypted webmail at https://yourdomain.com/webmail without certificate warnings.
For enhanced control, consider our dedicated server hosting. It provides complete webmail customization and advanced encryption options.
Client Configuration for Encrypted Connections
Provide users with these settings for encrypted email client configuration. These settings work with Outlook, Thunderbird, Apple Mail, and mobile email apps:
Incoming Mail (IMAP):
- Server: mail.yourdomain.com
- Port: 993
- Security: SSL/TLS
- Authentication: Normal password
Outgoing Mail (SMTP):
- Server: mail.yourdomain.com
- Port: 587
- Security: STARTTLS
- Authentication: Normal password
Create a client configuration guide with screenshots for common email applications. This reduces support tickets and ensures users properly configure encryption.
Test client connections from external networks to verify encryption works outside your server environment.
Troubleshooting Common Encryption Issues
Certificate mismatch errors occur when the SSL certificate hostname doesn't match the mail server name users enter. Ensure your certificate covers mail.yourdomain.com or create a wildcard certificate for *.yourdomain.com.
Connection timeouts often indicate firewall issues blocking encrypted mail ports. Verify ports 993, 995, 465, and 587 are open in your server firewall and any external security groups.
Check mail server logs for SSL handshake failures:
tail -f /var/log/maillog | grep -i ssl
Self-signed certificates trigger security warnings in email clients. Always use certificates from trusted authorities like Let's Encrypt or commercial providers for production mail servers.
If you experience persistent encryption issues, our email hosting security guide covers advanced troubleshooting techniques for VPS and dedicated servers.
Testing and Validating Email Encryption
Use external tools to verify your mail server's encryption configuration. SSL Labs offers a mail server test at ssllabs.com/ssltest that checks certificate validity and protocol support.
Test from command line with specific encryption protocols:
# Test SMTP STARTTLS
openssl s_client -connect mail.yourdomain.com:587 -starttls smtp
# Test IMAP SSL
openssl s_client -connect mail.yourdomain.com:993
# Test POP3 SSL
openssl s_client -connect mail.yourdomain.com:995
Monitor mail logs during testing to identify any encryption handshake failures or protocol downgrades. Successful connections should show TLS version and cipher information.
Document your encryption settings and test results for compliance audits. Many business partners require proof of encrypted email communications before sharing sensitive information.
Ready to implement professional email encryption for your business? Our managed VPS hosting includes Plesk licenses and expert support for mail server configuration. We handle the technical setup while you focus on your business communications.
Frequently Asked Questions
Does email encryption affect server performance?
Modern servers handle SSL/TLS encryption with minimal performance impact. The CPU overhead is negligible compared to the security benefits. Users won't notice any difference in email speed.
Can I use free SSL certificates for mail encryption?
Yes, Let's Encrypt certificates work perfectly for mail server encryption. They provide the same security as paid certificates and auto-renew to prevent expiration issues.
What happens if my SSL certificate expires?
Email clients will display security warnings and may refuse to connect. Set up certificate renewal monitoring and update your certificates before expiration to prevent service interruptions.
Do all email clients support encrypted connections?
Modern email clients support SSL/TLS encryption by default. Older clients may need manual configuration, but encryption is now standard across platforms including mobile devices.
How do I migrate from unencrypted to encrypted email?
Enable encryption alongside existing unencrypted ports initially. Once all users update their client settings, disable the unencrypted ports for maximum security.
