it gets part of the way there, but I want to use my letsencrypt cert that I have available on the proxy box instead of trying to convince my internal dovecot to provide imaps - so basically offload SSL at the proxy
but I have no idea how to tell haproxy to provide imap:993 with the correct certs?
merging fullchain and key into a cert - eg. cat /etc/letsencrypt/live/external.XXX.com/fullchain.pem /etc/letsencrypt/live/external.XXX.com/privkey.pem | tee /etc/haproxy/external.XXX.com.pem
referring to this combined pem file in the config e.g. bind *:993 ssl crt /etc/haproxy/external.XXX.com.pem