The second way to merge domains into one queue — and the complete opposite of the first in character. Merging by MX derives the group from DNS records: it picks up new domains by itself and stops matching by itself when the provider changes gateways. Here the group is declared: queue-to with the name of the shared queue is written in each domain’s block.
From then on everything “per receiver” is counted by the group: rate, connection ceiling, connection frequency, backoff mode.
The queue name does not have to be a real domain — which means the node does not know where to connect by it. So together with the declaration a smtp-hosts line is mandatory: the manual makes it a requirement, not advice.
# a shared queue: the name is made up, so the hosts are set explicitly <virtual-mta hotmail-queue> <domain hotmail.queue> max-smtp-out 10 smtp-hosts lookup-mx:hotmail.com </domain> <domain hotmail.com> queue-to "hotmail.queue" </domain> <domain live.com> queue-to "hotmail.queue" </domain> </virtual-mta>
what people get wrong and how it ends2 mistakes▶
§ 11.8
§ 11.8
2 relations
pmta show queues | grep -i hotmail.queue pmta show settings hotmail.com/vmta1 | grep -i queue-to
3 articles
◇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.◇How the policy for a receiver is assembledSettings are assembled from the most general pattern to the most precise; the order of blocks in the file means nothing.◇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.