Globalset by the Hub
The default is 0.
The line is needed by exactly two directives: add-message-id-header and replace-message-id-header. It sets a per-server unique number that keeps two engine installations from producing the same Message-Id.
The problem it solves appears only on several nodes. On one server identifiers do not repeat anyway; on twenty with the shared default of 0, they can.
The other half: the line has no effect while adding the identifier is turned off. That is, on a node where Message-Id is always set by the submitting side, the node number does nothing — and that is easy to forget when switching to a different submission scheme.
It is worth checking nodes created before the line appeared in the template: they may have kept the vendor 0.
What to set. There is one requirement — uniqueness within the fleet:
| Value | When |
|---|---|
| do not write it | there is one node, and no other engine installations are planned |
| your own number | always on a fleet — any unique one will do |
The Hub takes the node number from its database: it is unique, does not change and is visible in the cabinet.
# the node number plus adding the identifier — they work only together host-id 7 <source 0/0> add-message-id-header true </source>
what people get wrong and how it ends2 mistakes▶
§ 3.3.1.33
our experience
1 relation
grep -n '^host-id\|add-message-id-header\|replace-message-id-header' /etc/pmta/config /etc/pmta/virtualhost.txt
3 articles
◇A license for a fleet, not for a serverThe license is not bound to a server: it is installed on as many machines as the instance limit allows, and the nodes send volume statistics to the vendor every hour.◇How the node selects a source and combines its settingsA connection falls under all source blocks whose addresses cover it, and they act merged — the narrow one overrides the wide one; named blocks are attached only by direct reference.◇Address lists — named and unnamedA list of addresses, domains, patterns or hashes; a named one is attached by directives such as suppression, an unnamed one lives inside an inbound mail processor.