<source>
The default is true. The line decides whether the node announces the CHUNKING extension to incoming connections from this source, that is, whether it allows the BDAT command.
BDAT differs from DATA in that the size of each chunk is declared in advance, and the transfer does not need to end with a dot on a line of its own. This removes the need to escape a dot at the start of a line and makes transferring binary data more honest.
The extension concerns only incoming connections — how a message arrives at the node. How the node hands a message to the recipient is decided on the other side.
The reason to touch this line must be clear. “Just in case” is not a reason.
What to set. The default is almost always right:
| Value | When |
|---|---|
| true (default) | the usual case: let the submitting side choose |
| false | investigating the behavior of a specific client that makes errors with BDAT |
The second is a temporary measure for the duration of the investigation, not a permanent setting.
# turned off while investigating the behavior of a specific client <source 10.0.0.5> allow-chunking false</source>
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.7.61
1 relation
printf 'EHLO test\r\nQUIT\r\n' | nc <node-address> 2525 | grep -i chunking
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.