I'm currently setting up SSL for tomav/docker-mailserver according to the guide, which requires to expose all certificates to the mail server.
I don't like to expose all certificates to anything else, than nginx-proxy and letsencrypt-companion. And, nginx supports to be configured also as Mail Proxy Server. So, I am considering to setup nginx as SSL termination point for email/IMAP/SMTP server.