<feedback-loop-processor>deprecated
The line decided the fate of all the processor’s messages at once. It has been declared deprecated, and the manual section consists of one sentence: use deliver-matched-email and deliver-unmatched-email.
The split did not appear for nothing. Recognized and unrecognized messages almost always need different things: the former are discarded because the data is already in accounting; the latter are delivered or forwarded because they may be anything.
The migration is not mechanical. The replacements have different defaults: deliver-matched-email — false, deliver-unmatched-email — true. So one value of the old line turns into two deliberate decisions.
It is worth recognizing the line on sight when analyzing someone else’s configuration.
Carry over the decision, not the value:
| What it was | What it became |
|---|---|
| deliver-email no | deliver-matched-email no — the data is already in accounting |
| deliver-unmatched-email — decide separately | |
| deliver-email yes | both yes if there is a real mailbox behind the address |
# this is how it was before <feedback-loop-processor> deliver-email no</feedback-loop-processor> # this is how it is written now — two different decisions <feedback-loop-processor> deliver-matched-email no deliver-unmatched-email true forward-unmatched-to postmaster@example.com </feedback-loop-processor>
what people get wrong and how it ends1 mistake▶
our experience
1 relation
grep -rn "deliver-email" /etc/pmta/
3 articles
◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇Two inbound report processors and what to do with themBounces by message and complaints are parsed by two identically structured blocks; each has its own address list and its own pair of decisions about the message’s fate.◇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.