Globaldeprecated
The line stopped accepting messages into a spool directory when free space on its file system dropped below the threshold. When space came back, intake resumed on its own. On Unix the count was based on space available to unprivileged users.
The directive has been declared deprecated. The replacement is min-free-space inside the <spool> block.
The difference is not in behavior but in scope: the former line set one threshold for all directories at once, the new one — a separate one for each. That was the reason for the replacement: spool directories often live on different file systems, and a common threshold makes no sense for them.
The deprecated line is worth looking for in configurations assembled by hand before the move to the Hub.
What to set. Nothing: the line should be removed.
| Value | When |
|---|---|
| do not write | always: the task is solved by the line inside the directory block |
| number of megabytes | only in an old configuration that has not been migrated yet |
The migration is simple: the threshold moves inside each directory’s block — now with a size multiplier, 1024 becomes 1024m or 1g — and is refined there for its file system.
# this is how it was before — one threshold for all directories, a number in megabytes spool-min-free-space 1024
what people get wrong and how it ends2 mistakes▶
§ 3.3.1.7
our experience
1 relation
grep -n 'spool-min-free-space' /etc/pmta/config grep -n -A4 '^<spool' /etc/pmta/config
3 articles
◇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.◇Cloud restrictionsClouds restrict outbound mail on port 25 until you ask them to lift the limit, and mailbox providers treat their address ranges with suspicion.◇How to turn a sending plan into hardwareTwo constants for sizing any node: about 2 KB of memory per queued recipient and spool space proportional to the total size of the messages.