<source-group>
The default is unlimited. The line limits the number of simultaneous inbound connections from all sources of the group together.
It is a ceiling, not a guarantee: it says “no more than,” while “no less than” is said by the neighboring line — reserved-smtp-in. Both are needed where several parties share the node: one gets a ceiling so it does not eat everything, the other a reserve so that something is always left for it.
The group ceiling works under the node’s overall ceiling total-max-smtp-in: if the overall one is exhausted, the group one will no longer change anything.
Check the arithmetic, not the lines: the engine does not check it.
For a fleet node this is enough: there is one submitting party, and nothing to divide between parties. Groups would be needed on a node used by several clients.
What to set. The value is calculated from the node’s overall ceiling, not from the group’s needs:
| Value | When |
|---|---|
| unlimited (default) | there is one submitting party, nothing to divide |
| a share of the overall ceiling | several parties, and none of them should take everything |
| a small number | a party that does not need many connections but can grab them |
It is useful to keep the sum of ceilings above the overall one — otherwise part of the node sits idle — but not many times above: otherwise the ceilings stop meaning anything.
# a ceiling and a reserve work as a pair: one says “no more than,” the other “no less than” <source-group localSources> max-smtp-in 10 reserved-smtp-in 5 </source-group>
what people get wrong and how it ends2 mistakes▶
our experience
§ 3.3.9.1
2 relations
grep -n -A3 '^<source-group' /etc/pmta/config pmta show status | grep -i 'inbound\|smtp-in'
3 articles
◇How a message gets into the engineSix described submission methods: extended SMTP, four language bindings and a directory the node watches on disk.◇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.