<spool>set by the Hub
The default is false. With true the engine delivers messages from the directory but does not write new ones to it. The directory gradually empties and no longer fills up.
The manual names the purpose directly: recovery after a failure. The spool directory from a crashed server is attached to a working one, and the messages from it are delivered — while new mail keeps landing in the regular directories.
It is the only standard way not to lose a failed node’s queue.
The other half: an attached foreign spool carries someone else’s messages. They will go out from the addresses of this node, not the one where they were submitted — so SPF, the signature and the reputation will all be yours. Before attaching, it is worth understanding what exactly is in there.
The line repeats the default, and that makes sense: we have one directory, and yes in it would mean acceptance stops. An explicit no next to delete-file-holders yes reads as “this directory is a working one, and this is how it behaves.”
What to set. The value is temporary by purpose:
| Value | When |
|---|---|
| no (default) | a regular working directory |
| yes | an attached spool from a failed server — until it empties |
The second is removed together with the directory itself: an emptied spool is detached, not returned to service.
# a spool from a failed server: drain and detach <spool /var/spool/pmta/recovered> deliver-only true</spool>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
2 relations
grep -n -A4 '^<spool' /etc/pmta/config find /var/spool/pmta -type f | wc -l
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.