<domain-key-list>
The same line as at the node level, declared inside a <domain-key-list> block. The definition is on the common page; what matters here is how this location differs.
The list is chosen by the message, not by the configuration. The submitting side sets the x-dkim-options header with the list name — and the node looks for a key only in it. If none is found, the message is not signed at all; the search does not move on to the general declarations.
Without the list being named, it does not take part. A message without this header is signed by the usual rule: first the stream’s declarations, then the node level’s.
The block itself can be declared only at the node level.
Put the full set into the list. The search does not go beyond it, so a fallback declaration with a wildcard is appropriate in it — unlike the general level, where it intercepts everything.
The list name is part of the agreement with the submitting side. It goes into the message header, so it does not change in the configuration alone.
One list per sender. Then its name reads in the message header without explanation.
# one client's set of keys, together with a fallback <domain-key-list keylist-customer-one> domain-key m, mail.port25.com, /etc/pmta/m.pem domain-key base, *, /etc/pmta/base.pem</domain-key-list>
what people get wrong and how it ends2 mistakes▶
§ 3.3.19
our experience
2 relations
grep -n 'domain-key-list' /etc/pmta/config grep -i 'DKIM-Signature' /var/log/pmta/pmta.log | tail -5
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.