<proxy>
The line adds an extra field with the queue domain to the protocol header. There is only one type so far — domain, and the engine fills in the value itself.
It requires the second protocol version — the first simply has no extra fields. The default chain is the same as for the version: not set here — proxy-include-tlv on the sending address is looked at, then on the node.
The queue domain is not always the recipient domain. It is the queue name, and it changes with MX rollup or when a queue is renamed. That is, the proxy will get what the node considers the direction, not what is written in the recipient’s address.
Why the proxy needs it. The only point is to give it grounds for a decision: spreading traffic across outgoing addresses, applying its own limits, keeping its own statistics by direction. Without this field the proxy sees only a pair of addresses.
There is only one value so far; the question is whether to enable it:
| Value | When |
|---|---|
| do not set it | the proxy decides by the pair of addresses |
| domain | the proxy spreads traffic by direction |
A mandatory condition is the second protocol version.
# the field works only together with the second version <proxy mta-proxy> server proxy.internal:9999 client 16.80.77.101 client2.hostname.com protocol-version 2 include-tlv domain</proxy>
what people get wrong and how it ends1 mistake▶
§ 3.3.22.4
3 relations
proxy-include-tlvGlobalA level lower in precision: this line overrides it. § 3.3.22.4
tcpdump -A -i any -c 20 'port 5000'
3 articles
◇Cloud restrictionsClouds restrict outbound mail on port 25 until you ask them to lift the limit, and mailbox providers treat their address ranges with suspicion.◇The sending address — what it is made ofA named set of everything that is a property of the address: which IP the message leaves from, how the node introduces itself, what it signs with and how fast it sends.◇A named proxy and three levels of its settingsThe block carries the proxy address, the external sending address, the protocol version, the field type and the number of attempts; the first two lines are required.