<transmissions-api-listener>
When a load balancer stands in front of the node, the client’s real address comes not from the connection but from the PROXY header at its start. The line writes this header to the log. The default is off.
It works only together with use-inbound-proxy. Without it the header is not expected, and there is nothing to record.
It investigates one class of faults: “the wrong address”. Source lists, per-address restrictions and statistics rely on what the node considers the client’s address. If the load balancer sends a header with unexpected content, all of that starts working on the wrong addresses, and the cause can be seen only here.
The header comes in two versions, and the engine detects which by itself. The log shows which one actually arrived — the second common reason to enable the line.
The line will be needed when a load balancer appears in front of the fleet: then it is worth enabling right away, for the break-in period, not after the first oddity with addresses.
Enabled for the load balancer break-in period:
| Value | When |
|---|---|
| no (default) | there is no load balancer, or it was broken in long ago |
| yes | connecting a load balancer or investigating “the wrong address” |
Without use-inbound-proxy the line does nothing.
# breaking in the load balancer: watching what it actually sends <transmissions-api-listener 0/0:2525> use-inbound-proxy yes log-inbound-proxy yes</transmissions-api-listener>
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.21.15
2 relations
grep -i proxy /var/log/pmta/log | tail -20
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.