using certbot:
sudo ./certbot-auto certonly -v --standalone --standalone-supported-challenges http-01 -d mail.mydomainname.com
where mail.mydomainname.com is whatever is the full hostname of your MX.
then a pretty typical postfix configuration blob:
# TLS (SSL) private and public keys
# obtained from certbot-auto in /etc/certbot/
# sample CLI to obtain new cert
# sudo ./certbot-auto certonly -v --standalone --standalone-supported-challenges http-01 -d mail.mydomainname.com
smtpd_tls_CAfile=/etc/letsencrypt/live/mail.mydomainname.com/fullchain.pem
smtpd_tls_cert_file=/etc/letsencrypt/live/mail.mydomainname.com/cert.pem
smtpd_tls_key_file=/etc/letsencrypt/live/mail.mydomainname.com/privkey.pem
# TLS (SSL) configuration
smtp_tls_security_level=may
smtp_use_tls=yes
smtpd_use_tls=yes
smtpd_tls_loglevel=1
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client.