<virtual-mta-pool>criticalset by the Hub
The line is repeated once per member and refers to an already declared sending address — it cannot define one.
The number after the name is a share in percent. The step is a tenth of a percent, and the sum of all shares must be exactly 100. Without numbers the members are used round-robin in equal parts.
Mixing makes no sense: either all members have shares or none do — otherwise the sum of 100 will not add up.
Why a tenth of a percent is needed. The manual’s example — 99.9 versus 0.1 — is putting a new address into service: one message in a thousand leaves from it, the rest from the established one. The same technique works for a canary check of a new node and for a gradual migration.
The member name and, optionally, a share. There is one choice here:
| Entry | Distribution | When |
|---|---|---|
| virtual-mta mta1 | round-robin, evenly | the addresses are equal and equally warmed up |
| virtual-mta mta1 99.9 | in the given proportion | introducing a new address, a canary, a migration |
Recalculate the sum on every edit. The step is a tenth of a percent, so 99.9 and 0.1 add up, while 99.9 and 0.2 no longer do; the error will surface not when the file is edited but when it is applied.
# two pools: one distributes evenly, the other introduces a new address by share <virtual-mta-pool pool1> virtual-mta mta1 virtual-mta mta2 </virtual-mta-pool> <virtual-mta-pool pool2> virtual-mta mta3 99.9 virtual-mta mta4 0.1 </virtual-mta-pool>
what people get wrong and how it ends3 mistakes▶
§ 3.3.13.1
§ 3.3.13.1
our experience
3 relations
pmta show vmtas
3 articles
◇A group of sending addresses with traffic sharesA named group of sending addresses; without shares messages are distributed in rotation, with shares in the given proportion, in steps of a tenth of a percent.◇Warm-up built into the engineA warmed-up address hands the first N messages of the day for each receiver to its cold partner; the partner sends them itself and builds history.◇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.