<source>
The third place of one and the same switch, and all three are about different conversations: log-tls in <domain> is about outgoing connections to a receiver, this line is about incoming ones, from a submitting platform, and log-tls in <transmissions-api> is about submission over the HTTP API. The default everywhere is false.
This is a diagnostic switch, not a permanent setting. It answers the question “why does the submitting client not encrypt”: STARTTLS was not offered, no common cipher was found, the certificate chain did not match.
Enable it pointwise — for the source in question. The <source> block is set by an address or subnet, and logging can be limited to one submitting platform instead of all.
🔴 There is something to investigate at submission: in the general source we allow unencrypted login and do not require encryption before login, so the submission password may go out in plain text. This line will show whether a specific client came over an encrypted channel.
The value is boolean; the question is where to enable it:
| Value | When |
|---|---|
| no (default) | always in normal operation |
| yes in a narrow source | investigating one submitting platform |
| yes in the 0/0 source | never |
# investigating one submitting platform, not all at once <source 10.0.0.7> allow-starttls yes log-tls true</source>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
1 relation
grep -i "tls" /var/log/pmta/pmta.log | tail -30
3 articles
◇How a message gets into the engineSix described submission methods: extended SMTP, four language bindings and a directory the node watches on disk.◇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.