<smtp-listener>
The default is false. The line decides what to do with a new incoming connection when the node has hit the total-max-smtp-in ceiling: wait for a free slot or refuse.
With the default the engine responds with a 421 greeting — service unavailable — and closes the connection.
The difference from the node-wide line smtp-await-slot is in scope: that one sets the behavior for the whole node, this one — for connections on the address of one listener. This way listeners can be split: submission waits, complaint intake refuses — or vice versa.
A 421 refusal is more honest: it says “busy, come back later,” and the submitting side knows what to do.
For the fleet this is reasonable: submission comes from the Hub itself, which sees the refusal right away and reschedules the attempt, and it has no reason to wait in an open connection.
What to set. The choice depends on what the listener is used for:
| Value | When |
|---|---|
| false (default) | submission from your own platform, which can retry later |
| true | an incoming mail listener: a third-party server will not retry soon, and it is better to hold the connection |
The second is justified for complaint and report intake: the sender there is a third party, and its retry schedule is beyond your control.
# submission refuses right away, complaint intake waits for a slot <smtp-listener 0/0:2525> await-slot false </smtp-listener> <smtp-listener 0/0:25> await-slot true</smtp-listener>
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.17.1
2 relations
grep -n 'await-slot\|total-max-smtp-in\|smtp-listener' /etc/pmta/config pmta show status | grep -i 'smtp-in\|inbound'
3 articles
◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇Headers the sender uses to control deliverySix control headers let the submitting side choose a stream, tag a message with a job, set signing options and the key, the envelope identifier and the schedule; each is allowed separately and per source.◇The load balancer header at the entranceThe node reads the PROXY header at the start of an incoming connection and treats the address from it as the source; this works for both kinds of entry point.