Global
By default, among the ciphers we allow, the client chooses — by its own preference order. The line reverses this: the choice follows our order.
The practical sense is together with @STRENGTH. The manual gives exactly this case: if the list is sorted by strength, the enabled line means “take the strongest one the client understands”. Without it the client may choose a weaker cipher while staying within what is allowed.
The default is false.
The value is boolean, and it works only paired with the list:
| What is set | What you get |
|---|---|
| default, list at default | the client chooses from strong ciphers — usually enough |
| true, list with @STRENGTH | the strongest cipher available to the client is taken |
| true, unsorted list | an order nobody thought through gets locked in |
# the order is ours, and it is sorted by strength smtp-server-tls-ciphers HIGH:!ADH:@STRENGTH smtp-server-tls-cipher-server-preference true
what people get wrong and how it ends1 mistake▶
§ 3.3.1.21
1 relation
openssl s_client -starttls smtp -connect localhost:25 -cipher 'AES128-SHA:ECDHE-RSA-AES256-GCM-SHA384'
3 articles
◇Submission over HTTPS on its own listener, modeled on SparkPostA separate entry point: its own listener with a certificate, its own keys and a reserved source name through which the usual submission settings apply to such mail.◇The receiver declares an encryption requirement on its websiteThe node fetches the recipient domain’s policy over HTTPS and, if it is in enforce mode, delivers only when the MX matches, the connection is encrypted and the certificate is verified.◇The receiver declares an encryption requirement in its DNS zoneThe node looks at the recipient domain’s DANE records and, if STARTTLS is required, sends only over an encrypted channel with a certificate verified by fingerprint.