Global
The line names a list of <proxy> blocks that sending goes through. There is no default — without it the node connects to receivers by itself.
🔴 The list is strictly for backup, not for balancing. The manual says so literally: the second proxy is used only when the connection to the first failed, the third when both failed. Load cannot be distributed among proxies with this line.
Each name must be declared with a <proxy> block — otherwise the configuration will not pass the check.
It is incompatible with smtp-proxy-source-host — the second way to configure a proxy, and the two do not work together.
🔎 So a sending address has no spare proxy: the Hub spreads traffic across proxies with set pools (proxy-pool-…), not with a list.
The list is written in order of preference:
| Value | When |
|---|---|
| do not set it (default) | the node goes out by itself |
| one proxy | the usual case |
| a list | a backup is needed in case of failure |
# a list of backups, not distribution: the second only if the first fails use-proxy mta-proxy-a, mta-proxy-b
what people get wrong and how it ends1 mistake▶
our experience
3 relations
use-proxy<virtual-mta>The level above: if not set here, the list is taken from there. § 3.3.1.47A named proxy and three levels of its settingsThe line that assigns a declared block to sending addresses. § 3.3.22retry-attempts<proxy>The number of attempts after which the queue moves on to the next proxy from that list. § 3.3.22.5
head -1 "$(ls -t /var/log/pmta/acct-*.csv | head -1)" | tr -d '\r' | tr ',' '\n' | grep -n '^dlvProxy'
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.