<smtp-listener>
The same bound as for the node, but for the connections of this listener. The values are the same four, the default is tlsv1.2.
Why split them. Different entry points serve different clients: submission from your own platform can require a modern version, while an entry point for an old partner can tolerate an earlier one. By separating them into listeners, each gets its own threshold.
openssl-security-level applies on top of the bound — there is one per node, and it is not split by listener.
The listener has its own default, the same as the node’s — the line is set here when this input should differ or when the value has been changed on the node (the manual does not promise inheritance):
| Value | When |
|---|---|
| do not set | a single input, and the bound on the node has not been changed |
| tlsv1.1 or lower | a dedicated input for a client with an old stack |
| tlsv1.2 (default) | ordinary submission |
| tlsv1.3 | an input whose clients are all definitely modern |
# a setting for one entry point, the rest take the node value <smtp-listener 0.0.0.0:2525> tls-min-version tlsv1.1</smtp-listener>
what people get wrong and how it ends2 mistakes▶
§ 3.3.17.10
our experience
2 relations
tls-max-version<smtp-listener>The second bound of the same range: together they set which versions this input accepts. § 3.3.17.11tls-allow-tlsv1.3<smtp-listener>Replaced the whole set of five switches: the version range on this input is set by a pair of bounds. § 3.3.17.5tls-allow-tlsv1.2<smtp-listener>Replaced the whole set of five switches: the version range on this input is set by a pair of bounds. § 3.3.17.6tls-allow-tlsv1.1<smtp-listener>Replaced the whole set of five switches: the version range on this input is set by a pair of bounds. § 3.3.17.7tls-allow-tlsv1<smtp-listener>Replaced the whole set of five switches: the version range on this input is set by a pair of bounds. § 3.3.17.8tls-allow-sslv3<smtp-listener>Versions on this input are set by a pair of bounds; separate switches are no longer needed. § 3.3.17.9
openssl s_client -starttls smtp -connect localhost:2525 -tls1_1
3 articles
◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇Headers the sender uses to control deliverySix control headers let the submitting side choose a stream, tag a message with a job, set signing options and the key, the envelope identifier and the schedule; each is allowed separately and per source.◇The load balancer header at the entranceThe node reads the PROXY header at the start of an incoming connection and treats the address from it as the source; this works for both kinds of entry point.