Mail relay: development hosts are known by pattern, with no env - built in: *.dev.netscale.pl
The launch rule called a site non-public only when IAPL_NOINDEX was set (or the project named its hosts).
The owner's development sites set nothing, so production's database copied onto a development address
counted as a launch and would have mailed real people.
- iapl({ developmentHosts }): host patterns of development addresses. Default DEFAULT_DEVELOPMENT_HOSTS =
['*.dev.netscale.pl'], Intecion's own development domain; a project replaces the list or empties it.
mail.relay.developmentHosts overrides it for the mail service.
- a site whose host matches is non-public exactly as with IAPL_NOINDEX=1; either signal is enough
- siteNonPublicSignal, matchDevelopmentHost, isDevelopmentHost, pluginDevelopmentHosts exported
- panel state: nonPublicBy, nonPublicPattern; doctor: mail-non-public (info) names the signal
- every case of the launch table runs with no env on the built-in pattern
- docs, AGENT.md, skills, changelog draft
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
634908eb57
commit
14abf369da
+3
-3
@@ -59,10 +59,10 @@ Mail needs **no variable**. A site with no SMTP server in the panel sends throug
|
||||
database is its own past. Remove `IAPL_NOINDEX` at launch as always — a site that still has it counts as a
|
||||
non-public copy and sends nothing.
|
||||
- **Staging and copies.** A site is active as soon as it enrols, so a staging site sends real mail. A **copy of
|
||||
production's database** on a site that says it is not public — `IAPL_NOINDEX=1` (set on every staging, preview and
|
||||
test copy) or a host in `mail: { relay: { developmentHosts: ['*.dev.agency.example'] } }` — neither enrols nor
|
||||
production's database** on a non-public site — a host that matches `iapl({ developmentHosts })` (built in:
|
||||
`*.dev.netscale.pl`, Intecion's development domain; **no env needed**) or one with `IAPL_NOINDEX=1` — neither enrols nor
|
||||
sends by itself (its data is production's) until an admin presses "Connect again", and never uses or touches
|
||||
production's connection. **A copy without either mark sends**, to the real addresses in its data: the plugin
|
||||
production's connection. **A copy on another host without `IAPL_NOINDEX=1` sends**, to the real addresses in its data: the plugin
|
||||
cannot tell it from launch day (the doctor's deep run notes it). The safe set-up for a copy that must not send:
|
||||
`iapl({ mail: { relay: false } })` or SMTP to a catcher ([email.md](./email.md) "Staging, copies and several
|
||||
hosts").
|
||||
|
||||
Reference in New Issue
Block a user