<domain>
A bounce goes into accounting with a note about the cause — the bounceCat field. The node derives the cause from the receiving server’s reply by running the text through pattern lists. This line puts a list of your own, set specifically for this receiver, ahead of the general lists.
The parsing order has three steps: first the list named here, then the unnamed block from the configuration, then the set from the defaults file. Parsing does not stop on a mismatch: if your list recognized nothing, the general ones take over. This line cannot remove a category; it can only add your own or intercept someone else’s earlier.
The line decides nothing about the message’s fate. Whether it bounced is determined by entirely different settings; here only the label in accounting is assigned. The label, however, ends up in reports and statistics, and decisions about the address base are made from those.
Start with the unnamed block. It applies to everyone and covers most replies. A named list is needed when a specific receiving server words things its own way.
You can make up a category of your own. Names are not limited to the seventeen vendor ones — a new name simply appears in reports and in the bounceCat field.
The line is not printed in the queue settings. pmta show settings does not show it — you will have to check it in the configuration.
# your own parsing for one mailbox provider, ahead of the general one <bounce-category-patterns custom> /no longer available/ quota-issues rcpt-to /invalid recipient/ recipient-related </bounce-category-patterns> <domain hotmail.com> bounce-category-patterns custom</domain>
what people get wrong and how it ends2 mistakes▶
§ 11.7
§ 11.7
2 relations
grep -n bounce-category-patterns /etc/pmta/config pmtastats bounce-categories --bounceCat all /var/log/pmta/acct-*.csv
3 articles
◇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.◇Reputation monitoring inside the nodeThe engine itself watches the receiving servers’ replies and changes the queue mode on a pattern match — a reaction within the connection, not through telemetry.