The manual calls this “blackholing” — a black hole. The node brings up a fake SMTP receiver on its own address: it accepts connections, holds a full conversation, answers like a real server — and throws away everything it received.
Why. To check how much the node can handle without sending a single message outside. The capacity calculations from the first chapter are estimates; this is a way to get a real figure on your own hardware, your own configuration and your own messages.
The receiver is off until the port is set. The default of dummy-smtp-port is zero, and zero here means “do not listen”. The other seven lines configure how convincingly it pretends: which extensions it announces, what network latency it simulates, what it does when there are no slots left.
# fake receiver on a local address, the port turns it on dummy-smtp-ip 127.0.0.1 dummy-smtp-port 2525dummy-smtp-latency 100 dummy-smtp-update-stats false # and the flow that knocks on it <domain loadtest.local> smtp-hosts [127.0.0.1]:2525 </domain>
what people get wrong and how it ends2 mistakes▶
§ 3.3.1.57.8
our experience
1 relation
dummy-smtp-ipGlobalOne of the eight lines configuring the fake receiver: this one is responsible for where it listens. § 3.3.1.57.1dummy-smtp-portGlobalThe switch for the whole mechanism: while the port is zero, the other seven lines have no effect. § 3.3.1.57.2dummy-smtp-await-slotGlobalOne of the eight lines configuring the fake receiver: this one is responsible for behavior when slots run out. § 3.3.1.57.3dummy-smtp-has-chunkingGlobalOne of the eight lines configuring the fake receiver: this one is responsible for one of the transfer methods it announces. § 3.3.1.57.4dummy-smtp-has-pipeliningGlobalOne of the eight lines configuring the fake receiver: this one decides whether to announce command pipelining. § 3.3.1.57.5dummy-smtp-has-verpGlobalOne of the eight lines configuring the fake receiver: this one decides whether to announce support for unique return addresses. § 3.3.1.57.6
ss -ltn | grep 2525 pmta show queues | grep -i loadtest
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.