Development hosts are about mail only: one sentence on robots; the reference index after the fixture

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 10:40:33 +01:00
co-authored by Claude Fable 5.2
parent 5df5358768
commit 99c73ed0ff
5 changed files with 13 additions and 3 deletions
+2 -1
View File
@@ -1299,7 +1299,8 @@ the mail service → nothing (`mail: { relay: false }` and no SMTP). A site with
info). A production site that kept `IAPL_NOINDEX=1` sends nothing until the variable is removed. For a copy that
must never send: `mail: { relay: false }` or SMTP to a catcher. If the project's copies live on other hosts than
`*.dev.netscale.pl`, name them in `developmentHosts`. The doctor's deep run says which signal applies
(`mail-non-public`). Verify: on the copy, Site integrations → E-mail sending says "The
(`mail-non-public`). The option does not touch robots: noindex on a development address is the hosting's
business or `IAPL_NOINDEX=1`. Verify: on the copy, Site integrations → E-mail sending says "The
data comes from another site (…)" and a test e-mail is refused; on the launched site it says "Connected to IWSN".
**Verify:** Site integrations → E-mail sending → the block "How e-mails are sent" says "Connected to IWSN"; **Send test e-mail** answers "through IWSN, as <name>"; the mail arrives from
+7
View File
@@ -1209,6 +1209,13 @@ export const E2E_MAIL_RELAY_URL = process.env.E2E_MAIL_RELAY_URL || undefined
/** `iapl({ mail })` for the test, `undefined` (the plugin's defaults) otherwise. */
export const e2eMail = E2E_MAIL_RELAY_URL ? { relay: { retryBackoffMs: 50, url: E2E_MAIL_RELAY_URL } } : undefined
/**
* `iapl({ developmentHosts })` for a test that plays a development address on this machine (the built-in
* pattern, `*.dev.netscale.pl`, cannot be served from localhost): E2E_DEVELOPMENT_HOSTS, comma-separated
* patterns. `undefined` (the plugin's built-in list) otherwise.
*/
export const e2eDevelopmentHosts = process.env.E2E_DEVELOPMENT_HOSTS ? process.env.E2E_DEVELOPMENT_HOSTS.split(',').map((p) => p.trim()).filter(Boolean) : undefined
```
### `e2e/mail-relay-setup.ts`