<smtp-listener>deprecated
The line allows or forbids negotiating TLS 1.3 on connections of this listener. Deprecated since PowerMTA 5.5: instead of five switches the vendor offers two bounds — tls-min-version and tls-max-version.
One of five such sets of five in the configuration. The same switches exist for sending to the receiver, for receiving mail by the node, for the listener, for the Transmissions API input and for the web monitor — twenty-five lines in five places. The migration rule is the same everywhere.
Do not translate the value — migrate it:
| What it was | What it became |
|---|---|
| tlsv1.2 and tlsv1.3 allowed | tls-min-version tlsv1.2 |
| all from tlsv1 allowed | tls-min-version tlsv1 |
| tlsv1.3 forbidden | tls-max-version tlsv1.2 |
| everything by default | neither line is needed |
The listener’s default bound is tlsv1.2. After migration this is worth rechecking: the switches may have allowed more.
# this is how it was before <smtp-listener 0.0.0.0:25> tls-allow-tlsv1.3 true</smtp-listener> # this is how it is written now <smtp-listener 0.0.0.0:25> tls-min-version tlsv1.2 </smtp-listener>
what people get wrong and how it ends1 mistake▶
§ 3.3.17
1 relation
grep -rn "tls-allow-" /etc/pmta/
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.