<source>criticalset by the Hub
Whether SMTP is offered to those connecting from this source’s addresses. Turning it off closes submission pointwise without touching the others: the listener keeps working, but answers a specific network with a refusal.
The refusal is polite and immediate. Instead of the usual 220 greeting, a closed source gets 521 <node-name> does not accept mail from you — and the connection is closed. The client learns the reason immediately, not through a timeout.
The default is “open.” So closed submission is built deliberately: the manual shows exactly one technique — deny in the general <source 0/0> block and allow in the blocks of the submitting platforms. Allowing blocks alone close nothing.
This is the fastest way to cut off a submitter. No restart is needed, messages in the queue are not touched — the only thing that changes is whether the node accepts new ones.
Close in the general block, open in the specific ones. The reverse order does not work: the default is “open,” and everything not named stays open.
A node that receives bounces and complaints must not be closed. Reports come from the recipients’ mail services, and their addresses cannot be listed in advance. A closed general block will cut off both submission and all receiving from the MX side at once.
Separate nodes, not sources. If report receiving and campaign submission live on the same node, this directive stops being a precise tool — you can close only what neither of them needs.
# the submitting platform — open and with the right to relay <source 10.0.0.1> smtp-service yes always-allow-relaying yes </source> # closed to everyone else <source 0/0> smtp-service no</source>
what people get wrong and how it ends4 mistakes▶
§ 3.3.7.63
our experience
§ 3.3.7.63
§ 3.3.7
2 relations
printf 'QUIT\r\n' | nc -w5 node 2525
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.