Prerequisites
Ensure that the Plane server allows inbound traffic on the following email-related ports:25
, 465
, and 587
.
If any of these ports are currently in use, you can free them by running:
Generate SSL/TLS Certificate for Email Domain
Mandatory for Docker Compose deployments only.
-
Install Certbot
Update your system and install Certbot.For NGINX:For Apache: -
Generate SSL Certificate
Choose the method that matches your web server setup: For NGINX:For Apache:For standalone (no web server): -
Copy Certificate Files
Copy the generated certificate files to Plane’s expected directory: -
Configure Environment Variables
Add the following settings to your plane.env file:Important:SMTP_DOMAIN
andINTAKE_EMAIL_DOMAIN
must be identical.
Configure DNS records
-
Create an A Record
This record points to the server running your email service.You can alternatively use a CNAME record if you’re using a cloud load balancer. -
Add an MX Record
This record directs email traffic to your mail server. -
Configure an SPF Record
This record helps prevent email spoofing. -
Set Up a DMARC record
This record specifies how receiving mail servers should handle authentication failures.
Verify your configuration
After setting up your DNS records, verify that they’re correctly configured:Test your mail server
Once your DNS records have propagated, test your SMTP connections:Troubleshooting
-
MX Record issues
- Ensure there’s a proper dot at the end of the domain.
- Check that the priority number is correct (lower = higher priority).
- Allow 24-48 hours for DNS changes to fully propagate.
-
A Record issues
- Verify that the IP address is correct.
- Ensure your mail subdomain matches the MX record.