<domain>
The CHUNKING extension (the BDAT command) transfers the message body in pieces of known length instead of the ordinary DATA command with a dot at the end. The line cancels its use, even if the receiver announced the extension.
The manual names one reason — debugging. When message transfer to a specific receiver behaves strangely, turning the extension off returns the conversation to a simple, well-understood form: DATA, body, dot.
The transfer method also changes how the conversation ends: with BDAT the node waits for the reply to the last chunk, with DATA — for the reply to the dot. Both waits are timed by smtp-data-termination-timeout.
Enable it only for the duration of an investigation. And immediately set a reminder to remove it.
Together with ignore-pipelining. The manual gives both the same reason; when investigating strange transfer, they are usually turned off as a pair to simplify the whole conversation.
A comment next to it is mandatory. A line without an explanation of why it is here will outlive its author and stay forever.
# TEMPORARY: investigating transfer drops, 28.08 — remove afterwards <domain problem.example.com> ignore-chunking true ignore-pipelining true </domain>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
1 relation
dummy-smtp-has-chunkingGlobalTwo sides of one agreement: there we decide whether to use a foreign receiver’s extension, here — whether to announce it as our own. § 3.3.10.78ignore-8bitmime<domain>The same switch for another extension — but this one has its own reason: gateway incompatibility, not debugging. § 3.3.10.77
pmta show settings problem.example.com/vmta1 | grep -i ignore-chunking grep -E 'BDAT|^DATA' /var/log/pmta/pmta.log | tail -10
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.