This is documented behavior, not a side effect. The boundary runs by connection: those opened after the reload will take the new definition; those already established will finish on the old one.
So the change is not instant. Its window is the lifetime of the longest open connection. It is bounded (the idle timeout closes connections), but it is not short.
For anything that reasons about “which address sent what,” this window is a period in which both answers are true. A message queued after the edit could have gone out from the old address if its connection was opened earlier.
The recipe has no values — it has steps. But there is still a choice before it: change the sending address or create a new one.
| What you do | What happens to the queue | When to do it |
|---|---|---|
| change the definition | messages stay and go out from the new address | the address is returned to the hosting provider, and messages must not be lost |
| create a new one and switch submission | the old queue finishes from the old one | a clean boundary between addresses in accounting is needed |
| delete the definition | the queue refuses — see the removal recipe | the sending address is no longer needed at all |
# the address is returned to the hosting provider: edit the line and reload <virtual-mta shop-example-com> smtp-source-host 203.0.113.77 shop.example.com</virtual-mta>
what people get wrong and how it ends3 mistakes▶
§ 9.5.1
our experience
§ 9.2
3 relations
pmta show vmta-settings shop-example-com
3 articles
◇The regular expression dialectConfiguration regular expressions are Perl-compatible, based on the PCRE library: that is how sending address selection, reply rules, bounce categories, address lists and signing headers are written.◇Accept, route, deliverA message’s path inside the node: accept, decide where, deliver — and all the settings live between these three steps.◇Four value types the whole config is written inBoolean, domain pattern, regular expression and time interval — defined once in § 3.2 and then used by all directives.