<domain>
The form and the rules are the same: a path, a mask or an HTTP address. The lines are read as rules of this recipient.
This is where the mechanism has its clearest use. Rules for major receivers — limits, retries, TLS — change from node to node and over time; moving them into a file and distributing it centrally is simpler than editing every configuration.
It can be repeated — the manual shows a file and an address in a row.
Three forms of the value, as at the node level:
| Value | When |
|---|---|
| a file path | receiver rules are moved out of the main file |
| a mask | a file per receiver, in one line |
| an HTTP address | rules are distributed centrally |
One thing is worth weighing: the convenience of distribution against the rules no longer being readable from the configuration by eye.
# receiver rules are moved out and distributed centrally <domain yahoo.com> include /etc/pmta/yahoo-limits.txt include https://mylocalhost.com:4000/domain/yahoo-limits.txt </domain>
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.10.104
1 relation
pmta show queues yahoo.com/mta1
3 articles
◇Accept, route, deliverA message’s path inside the node: accept, decide where, deliver — and all the settings live between these three steps.◇Four value types the whole config is written inBoolean, domain pattern, regular expression and time interval — defined once in § 3.2 and then used by all directives.◇Reloading settings versus restarting the serviceThe configuration is read at startup, and after that edits are picked up by the reload command — except for the directives the manual marks as requiring a restart.