How to enable inbound TLS(starttls) in Postfix with Signed Certificate from CA(LetsEncrypt)

Most of the time Postfix is configured with self signed certificate which works well because mostly certificate validation is not required by MTAs. Though it can be useful for applications or mailbox users connecting to central MTA to delivery of emails.
You can either buy SSL certificate from your provider or use free certificates(needs to be renewed every 3 months). In this guide, i will use letencrypt certificate for my mx host
I use letsencrypt utility to manage certificate for my domains, below command will generate standalone certificate for my host.
letsencrypt certonly --standalone -d
The output…
Congratulations! Your certificate and chain have been saved at:/etc/letsencrypt/live/ Your key file has been saved at:/etc/letsencrypt/live/…
vim /etc/postfix/
Replace the following lines :
to the following letsencrypt certificates path :
Reload postfix
systemctl reload postfix.service
You can verify certificate validation using See below test results after configuring for
Postfix inbound TLS with letsencrypt


Popular posts from this blog

StatusDnsQueryFailed resolving domain

How to include Gmail's Feedback-ID header in DKIM signature

How to send emails over IPv4 with Postfix