<transmissions-api-listener>
The load balancer header must arrive first, before anything else. The line sets how long to wait for it. The default is 5s, and when it expires the node drops the connection.
The value 0 is equivalent to never — that is, wait as long as it takes. This is a dangerous setting: a hung connection will hold an acceptance slot indefinitely.
It applies only together with use-inbound-proxy. Without it the header is not expected at all, and there is nothing to wait for.
Five seconds is a lot for a local network. The load balancer usually sits nearby and sends the header immediately; a second is more than enough, and a smaller value cuts off those who came around it faster.
🔎 When one appears, the default will be enough: the header arrives in the very first packet, and five seconds is already plenty.
Less means cutting off outsiders faster:
| Value | When |
|---|---|
| 5s (default) | always |
| 1s | the load balancer is on the same network |
| 0 or never | never: acceptance slots will be taken forever |
# load balancer on the same network — a second is enough <transmissions-api-listener 127.0.0.1:4433> use-inbound-proxy yes inbound-proxy-timeout 1s</transmissions-api-listener>
what people get wrong and how it ends1 mistake▶
our experience
1 relation
time nc NODE 4433 </dev/null
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.◇The group that grants management rightsMembership in the pmta group gives an unprivileged user the right to call the node’s commands and use submission.◇How the node selects a source and combines its settingsA connection falls under all source blocks whose addresses cover it, and they act merged — the narrow one overrides the wide one; named blocks are attached only by direct reference.