[REVISIONS] How to install SSL Certificate on Dovecot and Postfix

Turritopsis Dohrnii Teo En Ming tdtemccnp at gmail.com
Fri Jan 27 03:02:04 UTC 2023


Subject: [REVISIONS] How to install SSL Certificate on Dovecot and Postfix

Good day from Singapore,

Author: Mr. Turritopsis Dohrnii Teo En Ming (TARGETED INDIVIDUAL)
Country: Singapore
Date of Implementation: 6 Jan 2023 Friday

SECTION ON DOVECOT
===================

# cd /etc/dovecot/conf.d
# nano 10-ssl.conf

ssl = yes

ssl_cert = </home/teo-en-ming-corp/2023.crt
ssl_key  = </home/teo-en-ming-corp/2023.key
ssl_ca   = </home/teo-en-ming-corp/inter2023.crt

# nano /etc/dovecot/dovecot.conf

protocols = imap pop3
!include conf.d/*.conf

SECTION ON POSTFIX
===================

# nano /etc/postfix/main.cf

smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/2023.key
smtpd_tls_cert_file = /etc/postfix/chain2023.crt
smtpd_tls_CAfile = /etc/postfix/inter2023.crt

Note: chain2023.crt is made by combining 2023.crt and inter2023.crt

# nano /etc/postfix/master.cf

submission inet n - n - - smtpd
smtps inet n - n - - smtpd
tlsmgr unix - - n 1000? 1 tlsmgr

That's all.

Regards,

Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individual in Singapore
Blogs:
https://tdtemcerts.blogspot.com
https://tdtemcerts.wordpress.com


More information about the dovecot mailing list