Mail directives
starttls (mail-ssl)
Controls protocol TLS upgrade; only requires upgrade before authentication.
Formal Syntax & Structure
nginx syntaxnginx
starttls on | off | only;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| mode | on | off | only | Permit protocol upgrade, disable it, or require it before authentication. Use only for mandatory upgrade, not implicit TLS. |
Working Example
Example Snippetnginx
starttls only;