critical
The method is small, but its consequences are big. A stream can be chosen in three places: in the configuration — by a rule or a source default; in a pool — by round-robin distribution; and here — when the submitting program names the stream directly for this message.
This is the most direct and the most invisible of the three. The node configuration keeps no trace of the fact that a message left through a particular stream because the sender said so. Reading the configuration, you cannot tell how traffic is distributed.
For warm-up this is the only suitable mechanism. A plan that must send exactly so many messages through exactly this address at exactly this time cannot hand the decision to a pool: a pool distributes round-robin, not according to a plan.
Available both over SMTP and through the API. Over SMTP — with the X-Virtual-MTA header, through the API — with a method call. The only difference between them is granularity during merging: the header applies to the whole job.
The mechanism has no values of its own: the value is the name of a stream or pool, and the sender sets it. On the node side, only the permission (process-x-virtual-mta) and the behavior with an unknown name (reject-invalid-virtual-mta and invalid-virtual-mta-fallback) are configured.
# the message names the stream itself — the way the warm-up scheduler does it x-virtual-mta: shop-example-com From: Shop <news@shop.example.com> To: recipient@example.net Subject: Warm-up check Message body.
what people get wrong and how it ends2 mistakes▶
§ 3.3.7.52
§ 9.4
3 relations
A group of sending addresses with traffic sharesThe same call can name a pool: then the engine distributes messages among its members round-robin rather than choosing the address itself. inferenceHeaders the sender uses to control deliveryThe same choice in SMTP submission is expressed with a header rather than a method call. inference
pmtaacctfind --output csv[vmta,header:x-virtual-mta,rcpt] /var/log/pmta/acct-*.csv
3 articles
◇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.◇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.◇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.