<smtp-listener>
The line names the file with root certificates against which the certificates of clients coming to this input are verified.
It is inherited from smtp-server-tls-ca-file — not set here, the node’s list applies.
By itself it requires nothing. It names whom to trust; the requirement to present a certificate is set by the login verification method — authentication-method in <smtp-user>.
The file is set for the listener separately — the manual does not promise inheritance from the node:
| What | When |
|---|---|
| do not set | clients on this input are not verified |
| file | clients of this input are verified by certificate — even if the same file is set on the node |
# setting for one input, the others take the node's value <smtp-listener 10.0.0.1:2525> tls-ca-file /etc/pmta/partner-ca.pem</smtp-listener>
what people get wrong and how it ends2 mistakes▶
§ 3.3.17.15
our experience
1 relation
openssl crl2pkcs7 -nocrl -certfile /etc/pmta/partner-ca.pem | openssl pkcs7 -print_certs -noout
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.