<virtual-mta>
The syntax is the same. The scope changes — and, unlike the block’s other directives, the way of inheritance does not change.
The values add up. The manual says so directly: if the line is set at the node level and here, both apply. This is the only <virtual-mta> directive that behaves this way; for its neighbors in the block, their own value overrides the common one.
Hence its use: here goes what belongs specifically to this sending address and should be added to the common set rather than displace it.
The value is a file path, as at the node level. The difference is what should go here:
| Level | What goes there | Keeping the addition in mind |
|---|---|---|
| node | what is the same for all messages | goes to all sending addresses |
| here | what belongs to this address | is added to the common set, does not replace it |
| <virtual-mta-pool> | what is common to a group | the manual says nothing about addition at this level |
Check the message for duplicates after any edit: it is the only reliable way to see the result of the addition.
# the sending address has its own file — it WILL BE ADDED to the common one, not replace it <virtual-mta shop-example-com> smtp-source-host 203.0.113.10 shop.example.com include-headers-from /etc/pmta/shop-headers.txt</virtual-mta>
what people get wrong and how it ends2 mistakes▶
§ 3.3.1.55.3
our experience
2 relations
grep -rn include-headers-from /etc/pmta/config
3 articles
◇Headers the sender uses to control deliverySix control headers let the submitting side choose a stream, tag a message with a job, set signing options and the key, the envelope identifier and the schedule; each is allowed separately and per source.◇Backoff mode — the queue's second personalityA queue that a receiver has started refusing switches to a parallel set of limits, retries and routes — ten directives that act only in this mode.◇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.