critical
The block applies by the address the connection came from — and everything in it is decided before the message joins the queue.
What it decides. Whether relaying is allowed at all, which control headers the node honors, which limits apply to the message and recipients, whether authentication is required and how exactly.
Merging works as for receivers. Several blocks may match, and a narrower address range overrides a wider one (source-matching).
Header decisions live here too: which ones to strip before sending, whether to add its own Received, whether to obey the choice of sending address. That is, the block is the border between someone else’s mail and ours.
# the submission block the Hub writes <source {pmta-auth}> require-auth true always-allow-relaying yes default-virtual-mta pmta-pool pattern-list pmta-pattern </source>
0 relations
Restrict who can reach the node at allRestricting receiving is expressed with source blocks and address ranges. § 1.6.1Who is allowed to submit mail and for whom to accept itThe permission is granted to a source block and obeys its merging. § 2.3smtp-listenerGlobalThe configuration block where the mechanism lives. § 3.3.1.27always-allow-relayingGlobalThe permission is granted to a source block and obeys its merging. § 3.3.1.54.1
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.