Global
A fake receiver, like a real one, has a finite number of connection slots. This line decides what to do with a new connection when all slots are taken.
The false default — refuse at once. The receiver replies 421 in the greeting — “service not available” — and closes the connection.
true — wait for a slot to free up. The connection hangs until a slot appears.
The choice changes what you measure. With refusal you see the node’s ceiling as refusals: so many connections per second beyond what is possible. With waiting — as growing latency: connections are established, but ever more slowly.
For measuring the ceiling — waiting. A latency curve says more about the headroom than a number of refusals.
For testing behavior under overload — refusal. The default reproduces a receiver that closes up under load: that is how you check how your side behaves.
Remember 421 on your side. With refusal the sending behavior depends on smtp-421-means-mx-unavailable, and so does the result of the run.
# measuring the ceiling: let connections wait rather than drop dummy-smtp-ip 127.0.0.1 dummy-smtp-port 2525 dummy-smtp-await-slot true
what people get wrong and how it ends2 mistakes▶
our experience
our experience
1 relation
grep -n dummy-smtp-await-slot /etc/pmta/config grep -c '421' /var/log/pmta/pmta.log
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.