Global
The default is auto: the engine calculates the ceiling itself, from the machine’s resources.
The line limits the number of recipients across all spool directories at once. The manual names the purpose directly: not to let the node be overloaded with more messages than it can process.
Above the ceiling, submission is refused with a temporary error — that is, the submitting side learns about it right away and can retry later.
What is counted is recipients, not messages: a message to a thousand addresses takes a thousand places.
The second half: the auto default is calculated from the machine’s resources, not from your plans. On a small node it will turn out lower than expected, and you will hit it suddenly — in the middle of a mailing, with temporary refusals at submission.
For warm-up this makes no difference: it submits messages one recipient at a time and in small batches, far from the ceiling. The line would become important on a node where a sending platform submits in large batches.
What to set. The number is calculated from mailing volume, not from disk size:
| Value | When |
|---|---|
| auto (default) | volumes are small or unknown — the engine will calculate from the machine |
| an explicit number | the largest mailing size is known, and it must fit entirely |
An explicit number is worth taking with headroom for retries: messages to problematic receivers stay in the queue for days and occupy places all that time.
# the largest mailing must fit entirely, with headroom for retries spool-max-recipients 10000000
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.1.8
2 relations
grep -n 'spool-max-recipients\|max-memory-usage-percent' /etc/pmta/config pmta show status | head -20
3 articles
◇What makes a virtual machine riskyRunning on a virtual machine is possible, but the manual does not recommend it without sufficient hardware and properly tuned hypervisor settings: under load the node may stop responding.◇The activation key is a prerequisite for installation, not a step after itWithout an activation key from SparkPost support the engine neither installs nor runs, and the license tier sets the outbound connection ceiling: on Standard everything above 200 is ignored.◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.