<proxy>critical
The line sets the address and port of the proxy itself — the one the node connects to instead of the recipient’s mail server. It can be written as an address or a name.
One of the block’s two required lines. The manual says it directly: a <proxy> block must contain both server and client. Without either of them it is meaningless.
Name resolution stays with the node. It still looks up the recipient’s MX itself and decides which address to connect to — and then connects to the proxy and tells it that address in the protocol header. The proxy only carries it out.
The address here is internal. The whole point of the setup is that the nodes sit on internal addresses, and only one machine faces the outside — the proxy. The port is required: this role has no standard one.
It can be written in two ways; the port is required:
| Value | When |
|---|---|
| 10.1.2.3:5000 | an address — the usual case for an internal network |
| proxy.internal:9999 | a name — when the proxy moves around |
There is no default: the line is required.
# two required lines: where to go and which address to go out from <proxy mta-proxy-a> server 10.1.2.3:5000 client 16.70.55.233:0 client.hostname.com </proxy>
what people get wrong and how it ends2 mistakes▶
§ 3.3.22
§ 11.3
2 relations
nc -zv 10.1.2.3 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.