Knowledge base

<source>

critical

Who can submit mail and on what terms
Decided before the message gets into the queue

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.

Example configuration
# 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>
The highlighted line is what makes the block safe: relaying is allowed, but only to those who have logged in. The block name in curly braces is a reference to the submission account, not an address pattern.
yellow — — directive names, blue — blocks. They are highlighted the same way in the text of the card.
Block directives: 74
Compatibility
PowerMTA 6.0
described in the manual of this version · platform: any
The vendor does not state the first version for every directive — there is no note here. The name also appears in the 5.0 edition of the manual.
In the Hub
Cost of a mistake
reversible: harms only while it is set
Scenarios
Node security · Connect a sending platform
Priority
critical