<domain>
Usually verification is one-way: the node looks at the receiver’s certificate and presents nothing itself. This line enables the reverse direction — the node shows its own certificate.
It is rarely needed and only by agreement. Public receivers do not ask for client certificates; they occur at corporate gateways and partner channels where the parties have agreed on exactly that.
The password is the second word and is optional: if the key in the file is not encrypted, there will be no such word.
This line does not enable verification of the receiver. It is about what we present; what we trust is the job of smtp-tls-ca-file.
The value is a path to the file and, if needed, a password:
| Form | When |
|---|---|
| a path to the file | the key in the file is not encrypted |
| a path and a password as the second word | the key is encrypted — the password will sit in the configuration in plain text |
What to plan for before enabling it: the certificate’s validity period and who renews it. The receiver will reject an expired client certificate, and it will look like a delivery refusal with no clear reason.
# a partner gateway requires mutual verification <domain partner-gw.example.net> use-starttls yes require-starttls yes smtp-client-certificate /etc/pmta/client.pem</domain>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
1 relation
openssl x509 -in /etc/pmta/client.pem -noout -subject -enddate
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.