<source>
The default is false. This is only about syntactically invalid addresses — me@there, you@yahoo..com — not about non-existent mailboxes: those are syntactically correct, and this line does not concern them.
The manual stresses the main point in a separate note: such addresses are still immediately bounced and never delivered. The line changes not the message’s fate but where the refusal happens: with false it comes right in the submission session, with true — as a bounce report.
Not supported for pickup directories; there the same thing is controlled by the XACK switch.
Hence the real question: can your platform read in-session refusals. If it can, keep the default, and the error will surface at the moment of submission. If it cannot, enable it, otherwise the platform will stumble over every malformed address.
This is right for our submission: messages are sent by a library that sees an in-session refusal and records it in the send record. A refusal by report would come later and into the general telemetry stream, where tying it to a specific address is harder.
What to set. There is exactly one question — what the submitting side can do:
| Value | When |
|---|---|
| false (default) | the platform reads in-session refusals and can react to them |
| true | the platform does not handle in-session refusals and stumbles over them |
The second is a concession to old platforms, not an improvement: the address is bounced anyway, just later and through a report.
# a concession to a platform that does not read in-session refusals <source 10.0.0.0/24> accept-invalid-recipients true</source>
what people get wrong and how it ends2 mistakes▶
§ 3.3.7.68
§ 3.3.7.68
1 relation
grep -n 'accept-invalid-recipients' /etc/pmta/config /etc/pmta/virtualhost.txt printf 'HELO test\r\nMAIL FROM:<a@example.com>\r\nRCPT TO:<me@there>\r\nQUIT\r\n' | nc <node-address> 2525
3 articles
◇How a message gets into the engineSix described submission methods: extended SMTP, four language bindings and a directory the node watches on disk.◇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.◇Headers the sender uses to control deliverySix control headers let the submitting side choose a stream, tag a message with a job, set signing options and the key, the envelope identifier and the schedule; each is allowed separately and per source.