I hope i understand you right, do you mean the Webmail isn't using https or are you talking about postfix connections?
If you mean postfix you can create a cert for the communication with the following command:
openssl dhparam -out /etc/postfix/dh_3072.pem -2 3072
this will create a ssl cert for postfix communication.