11.1. Enable TLS

Note

Option available from version 1.5.22.

By default application uses port 25 to make SMTP connection with mail server without any security layers.

If your mail server require TLS connection you can modify the application settings to support TLS submission. Edit /etc/msh-autoresponder/mailsession.properties file and append at the end of the file this line:

mail.smtp.starttls.enable=true

If you use self signed certificate then add one additional line:

mail.smtp.ssl.trust=*

So after modification mailsession.properties file should look like this (first charset line is set by default):

charset=utf-8
mail.smtp.starttls.enable=true
mail.smtp.ssl.trust=*