In order to use STARTTLS for smtp connections, you have to enable TLS with the option tls_enable, and optionally tls_pass for the SSL certificate passphrase within the [global]-section in spmfilter.conf like follows:
To install the SSL certificate you need to:
In case of failure no error message will appear (only if debugging is enabled). Instead, spmfilter will terminate the SMTP connection right after issuing the STARTLS command
Configuration parameter overview:
option | description | scope |
---|---|---|
tls_enable | Use STARTTLS for smtp connections. Possible values are 0 (STARTTLS disabled), 1 (STARTTLS enabled), 2 (STARTTLS required) | optional |
tls_pass | specify SSL certifcate passphrase if needed | optional |