title: “Securing Postfix & Dovecot”
date: 2016-12-09T10:28:25
slug: securing-postfix-dovecot
Create a cert Chain if needed:
cat private/server.crt startssl/sub.class2.server.ca.pem private/server\_with\_chain.pem
Test Certificates
openssl s\_client -connect localhost:imaps
openssl s\_client -connect localhost:143 -starttls imap
openssl s\_client -connect localhost:25 -starttls smtp
Result should include:
Verify return code: 0 (ok)
Check Certificate Details
echo | openssl s\_client -showcerts -servername gnupg.org -connect asanger.biz:443 2>/dev/null | openssl x509 -inform pem -noout -text
