Ga naar hoofdinhoud

bazibo.nl: website and mail

Bazibo is Mark's children's game app (repo MWest2020/bazibo). Since 2026-11-09 it has its own domain. Nothing here runs on the homelab cluster; this page says where it does run.

What lives where​

PartWhereNotes
Domainregistrar Realtime Register, reseller Yourhostingbought by Mark on 2026-11-09
DNSYourhosting Premium DNS (ns50.premiumdns-yourhosting.net, ns110…nl, ns92…eu)edited in Mijn Yourhosting, not in Plesk
HostingYourhosting Plesk "Basic (Web + Mail)", server web-1066.yourhosting.nl (92.63.174.175)panel https://web-1066.yourhosting.nl:8443/
Site filesPlesk Git repo bazibo.git → /bazibo-repodocument root bazibo-repo/web, so only web/ is reachable
DeployGitHub webhook (push) on MWest2020/bazibo → Plesk pulls main and publishes automaticallyhook id 709372838; deliveries visible with gh api repos/MWest2020/bazibo/hooks/709372838/deliveries
TLSLet's Encrypt via Plesk SSL It!: bazibo.nl, www.bazibo.nl, mail.bazibo.nlrenews itself 30 days before expiry (first one valid to 2027-02-07)
RedirectsHTTP → HTTPS (301), www → bazibo.nl (301, "Voorkeursdomein")Plesk hosting settings
MailMX primary/fallback.yourfilter.nl → Plesk; hallo@bazibo.nl is a mailbox (1 GB, since 2026-11-28) that also forwards to mark@westerweel.work, with alias hello@bazibo.nl (Plesk: Mail → hallo@bazibo.nl → E-mailaliassen, added 2026-11-09). The mailbox keeps a copy of every forwarded mail, so empty it now and then via webmail; 1 GB is plenty for years of DMARC reports and bouncestested 2026-11-09
DKIM / DMARCsigning on in Plesk (selector default); _dmarc, _domainkey and default._domainkey publisheddefault._domainkey seen in DNS on 2026-11-27 (below)
Code mails (netnl)the code is shown on the claim page right after payment (since 2026-12-01, below), and the netnl facade mails Bazibo unlock codes via Soverin as Bazibo <mark@westerweel.work>, Reply-To hallo@bazibo.nl (since 2026-12-01; Yourhosting's relay is on Spamhaus)below
Second copy of the siteGitHub Pages https://mwest2020.github.io/bazibo/ (CI in the repo)independent of Yourhosting

The provider's placeholder page is kept in httpdocs/_yourhosting-default/ (no longer served).

Credentials (OpenBao KV, values never in git)​

PathWhat
kv/westerweel/bazibo-ftphosting system user: FTP(S) and the Plesk login
kv/westerweel/bazibo-mailthe hallo@bazibo.nl mailbox (fields address, password); copied into dmarc-watch's env file for IMAP, no longer used for sending
kv/westerweel/soverinMark's Soverin mailbox (IMAP), where the forwarded mail lands; read-only use
kv/westerweel/yourhostingMijn Yourhosting (registrar + Premium DNS): username, customer number, password

Read one from jumpy the same way as in key-backups, e.g. bao kv get -field=username kv/westerweel/bazibo-ftp. Mijn Yourhosting (DNS) is at https://account.yourhosting.nl/ → Domeinnamen → bazibo.nl → DNS beheer → "Voeg record toe" (type, name without .bazibo.nl, value without quotes, TTL, "Wijzigingen opslaan").

Mail authentication records (Mijn Yourhosting → bazibo.nl → DNS)​

Published 2026-11-09 (TTL 3600), checked with dig TXT <name>.bazibo.nl @ns50.premiumdns-yourhosting.net:

_dmarc.bazibo.nl. TXT "v=DMARC1; p=none; rua=mailto:hallo@bazibo.nl"
_domainkey.bazibo.nl. TXT "o=-"

Also in DNS (seen on 2026-11-27, on the public resolvers and on ns50):

default._domainkey.bazibo.nl. TXT "v=DKIM1; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7FSQ…IDAQAB;"

The key parses as an RSA-2048 public key. The value has runs of spaces inside the base64 (…a0B QVI3…, …Vlu BWDII…), most likely from copying it out of Plesk. RFC 6376 allows whitespace in p= and verifiers strip it, so it should verify. Checked on 2026-11-28: it equals the key in Plesk (Mail-instellingen › bazibo.nl › Het instellen van externe DNS), and a test mail got dkim=pass header.d=bazibo.nl. To check again after a key change, join the quoted chunks of the dig answer and drop the spaces before you compare; DNS splits long TXT values into 255-character strings. If they differ, replace the record in Mijn Yourhosting (Domeinnamen → bazibo.nl → DNS beheer: edit the default._domainkey TXT record, paste the Plesk value without quotes or spaces, "Wijzigingen opslaan").

SPF is already right (v=spf1 include:_spf.yourfilter.nl mx a ~all; a covers the Plesk server). Move DMARC to p=quarantine after about three weeks of clean aggregate reports (they arrive at hallo@bazibo.nl, so in Mark's mailbox); edit the _dmarc record in place.

Bazibo code mail from netnl​

The netnl facade (homelab cluster-config/infra/netnl, code in MWest2020/internetnl-cli, OpenSpec add-bazibo-mail-identity) mails the unlock code to the buyer. Mark, 27 Nov 2026: those mails must come from hallo@bazibo.nl. Only the code mail uses this identity. The netnl supporter-key mail, the operator notification and the watch alert stay on the bridge's NETNL_SMTP_* (Soverin, mark@westerweel.work).

Now: Soverin as Bazibo <mark@westerweel.work> (since 2026-12-01)​

  • No NETNL_BAZIBO_SMTP_* in the Secret netnl-bridge, so the code mail goes through the bridge relay NETNL_SMTP_*: smtp.soverin.net:587 (STARTTLS), login and envelope sender mark@westerweel.work. From: Bazibo <mark@westerweel.work> (the display name is internetnl-cli's default, NETNL_BAZIBO_SMTP_FROM_NAME overrides it), Reply-To: hallo@bazibo.nl (NETNL_BAZIBO_MAIL_REPLY_TO in the ConfigMap), so buyers still reply to Bazibo. SPF, DKIM and DMARC pass for westerweel.work.
  • Switched on 2026-12-01 with scripts/switch-bazibo-smtp.sh --rollback (Mark: "ja, stuur via soverin en doe het structureel"). Checked from the pod: the relay resolves to the bridge's, From name Bazibo, Reply-To hallo@bazibo.nl. Test code (ref test-relay-20261201) mailed to Mark and revoked.
  • The Yourhosting mailbox credentials stay in OpenBao kv/westerweel/bazibo-mail. The DMARC report check (dmarc-watch, dotfiles; its own env file, filled from this entry) reads hallo@bazibo.nl over IMAP. They are just no longer used for sending.
  • Bounces of a code mail now go to the envelope sender, mark@westerweel.work, not to hallo@bazibo.nl. See "Bounces" below.

Why not Yourhosting's relay (incident 2026-12-01)​

From 2026-11-28 to 2026-12-01 the code mail went out as hallo@bazibo.nl via mail.yourhosting.nl:465 (details in the git history of this page). That relay is shared, and its outbound IP 185.223.33.29 landed on a Spamhaus blocklist. On 2026-12-01 Outlook/Hotmail/Live rejected two buyers' codes (550 5.7.1, 12:52 and 13:10). The bounces went to hallo@bazibo.nl. netnl-bazibo-watch did not notice: it only checks that the relay accepted the mail, and it had. Both codes were resent by hand via Soverin, and the same day the code mail moved to Soverin for good. We cannot get a shared relay's IP off a blocklist ourselves, so going back to Yourhosting is not a fix. Sending as hallo@bazibo.nl again goes through Soverin instead (see "Later: hallo@bazibo.nl via Soverin").

scripts/switch-bazibo-smtp.sh (towards Yourhosting) now refuses without --force, so this cannot be undone by accident.

Why Yourhosting looked unreachable (25-28 Nov 2026)​

web-1066 (92.63.174.175, site, FTP and Plesk) drops our home IPv4 217.63.209.65: every port times out from agent-lxc, jumpy and the cluster, while from a GitHub runner the same host answers on 21/443/8443, and its neighbour web-1065 (92.63.174.173) answers from home. A TCP traceroute shows our SYNs reach Yourhosting's edge (31.25.97.7) and die at the last hop. It started after the sslyze scan of 25 Nov (FTPS from the security report already timed out on 26 Nov 08:17 UTC) and was renewed by a 1-per-minute poll on the evening of 26 Nov. It is the server's own ban (Plesk fail2ban style); a subscription user has no IP Address Banning page in Plesk, so it can only expire or be lifted by Yourhosting.

Why Mark saw no block: the home LAN has native Ziggo IPv6 (prefix from the router's RA), and his devices reach bazibo.nl over IPv6 (2a05:1500:702:5:1c00:e8ff:fe00:2717), which was never banned. The homelab hosts talked IPv4 only: agent-lxc's net0 has no ip6, so Proxmox writes IPv6AcceptRA = false; the cluster pods have no IPv6 route.

  • From agent-lxc, Plesk and the site work over IPv6 once RA is accepted (sudo sysctl -w net.ipv6.conf.eth0.accept_ra=1; runtime only, gone after a restart). Permanent, as root on the Proxmox host: pct set 210 -net0 <current net0>,ip6=auto.
  • Mail no longer touches web-1066 at all (above), so the IPv4 ban does not matter for codes.
  • Still: one request at a time to bazibo.nl and ftp.bazibo.nl, never a loop. The security report's FTPS pull (secreport plesk-reset) forces IPv4 and stays stopped until the ban is gone.

Switch, verify, roll back​

The code mail's relay lives only in the Secret netnl-bridge (never in git). Two scripts, from agent-lxc in the root of the homelab repo:

scripts/switch-bazibo-smtp.sh --rollback # code mail via Soverin (the state since 2026-12-01)
scripts/switch-bazibo-smtp.sh --force # back to Yourhosting's relay: only after a deliberate decision (Spamhaus, above)
  • --rollback deletes NETNL_BAZIBO_SMTP_* from the Secret in one merge patch and restarts the Deployment (Recreate: a few seconds without the facade).
  • Without --rollback, the script writes NETNL_BAZIBO_SMTP_HOST/PORT/MODE/USERNAME/PASSWORD/FROM for mail.yourhosting.nl in one merge patch, with the password from OpenBao on jumpy over stdin. It refuses without --force (Spamhaus), and even with it without a successful scripts/check-bazibo-smtp.sh --login in the last 24 h.
  • check-bazibo-smtp.sh makes exactly one IPv4 connection from inside the netnl pod, with one AUTH PLAIN under --login, and refuses to run again for the same host within 6 hours. Never loop it: Yourhosting's firewalls block us for repeated connections.

Check which relay the running pod uses (names only, never values):

ssh jumpy 'kubectl -n netnl exec deploy/netnl -- sh -c "env | cut -d= -f1 | grep -E ^NETNL_BAZIBO_ | sort"'

Via Soverin this lists no NETNL_BAZIBO_SMTP_HOST, only NETNL_BAZIBO_MAIL_REPLY_TO and the other Bazibo keys.

Verify with one hand-issued code. It is mailed to Mark and never shown:

ssh jumpy 'kubectl -n netnl exec deploy/netnl -- netnl-admin bazibo mint --mail mark@westerweel.work --ref test-relay-<yyyymmdd-hhmm>'

The ref is the idempotency key: a repeated ref mails nothing, so use a new one per test. The mail lands in Mark's Soverin mailbox. View the source. Via Soverin it should show From: Bazibo <mark@westerweel.work>, Reply-To: hallo@bazibo.nl, and SPF and DKIM pass for westerweel.work. The test code is a real code. Revoke it afterwards: ssh jumpy 'kubectl -n netnl exec deploy/netnl -- netnl-admin bazibo revoke <code_id>', where the code id is printed by mint (check with netnl-admin bazibo show <code_id>).

The code on screen after payment (claim page, since 2026-12-01)​

Mark, 1 Dec 2026, after a code mail bounced on a full Gmail inbox (452 4.2.2 over quota, which no relay can get past): "die moet 100% een code krijgen". Codes are also shown after payment, so the mail is no longer the only way a buyer gets one.

  • The live Payment Link (plink_1UgOXDE8wmN9kKdgjdTnOUFc) redirects after checkout to https://api.westerweel.work/bazibo/claim?session_id={CHECKOUT_SESSION_ID}. The page asks Stripe whether that session is a paid purchase of our link and price, and shows the code: an "Ontgrendel Bazibo / Unlock Bazibo" button, the QR, the code as text and "we also mailed it to you", in Dutch and English. Unknown, foreign or unpaid sessions get a page without a code.
  • Page and mail always carry the same code: both key on the Checkout Session id. A hand resend (--ref <session>-resend1, below) is what the page shows from then on, unless it is revoked.
  • It needs NETNL_STRIPE_API_KEY in the Secret netnl-bridge (Checkout Sessions read) and NETNL_STRIPE_PRICE_ID in the ConfigMap. Details: internetnl-cli docs/how-to/supporter-webhook.md, "The claim page".
  • A buyer whose mail bounced, or who closed the tab, can be sent their claim link: https://api.westerweel.work/bazibo/claim?session_id=<cs_live_…> (session id from the Stripe Dashboard, Payments → the payment → Checkout Session, or from the bounce's bazibo_issuance row). Do not put a code in a mail by hand: the link shows it.
  • The link works for every past purchase. It is a bearer link: whoever has it sees the code, for as long as Stripe knows the session. Send it only to the address on the Stripe payment, or to someone you have checked is the buyer. The device limit (10) still applies. A refund does not hide the code: revoke its code id (netnl-admin bazibo revoke <code_id>).

Check it (one request, no code in the output):

curl -s -o /dev/null -w '%{http_code} %header{cache-control}\n' \
'https://api.westerweel.work/bazibo/claim?session_id=cs_live_doesnotexist' # 404 no-store

Point the link at the page again (only if someone changed it in the Dashboard), from internetnl-cli with the live key: STRIPE_API_KEY=… uv run netnl-stripe-setup --claim-redirect-only plink_1UgOXDE8wmN9kKdgjdTnOUFc. It touches only that link.

Bounces​

A relay that accepts a mail does not mean the mail was delivered. Since 2026-12-01 a bounce no longer means the buyer has no code: they saw it on the claim page right after paying (above), and their claim link still shows it. netnl-bazibo-watch only sees what the relay said, so a rejection by the recipient's server (a bounce, DSN) needs its own watcher.

bounce-watch (dotfiles bin/bounce-watch.py, systemd user timer bounce-watch.timer on agent-lxc, every 30 minutes) reads DSNs in two mailboxes:

MailboxWhyAccess
hallo@bazibo.nl (Yourhosting IMAP, ~/.config/dmarc-watch/env)bounces of mail sent as hallo@bazibo.nl (the Yourhosting period, and again after "Later" below)handled bounces move to the folder Bounces
mark@westerweel.work (Soverin IMAP, ~/.config/bounce-watch/soverin.env, 0600, from OpenBao kv/westerweel/soverin)bounces of code mails sent via Soverin since 2026-12-01: the envelope sender is mark@westerweel.workread-only (Mark 2026-12-01, issue #112): EXAMINE and BODY.PEEK only, never a flag, move or delete; handled UIDs are kept in ~/.local/state/bounce-watch/state.json
  • For each bounced code mail: a LET OP line in ~/.local/state/experiments/digest-notes.md (so it is in Mark's daily digest; [via Soverin] for the second mailbox) and one Ratatoskr ping to Mark. The recipient is masked (l*****@live.nl) and the code never appears: only the DSN and the original's headers are read.
  • In Mark's mailbox only a DSN whose original is positively a code mail counts: Subject "Bazibo-code" and From name Bazibo or Reply-To hallo@bazibo.nl (the issuer sets no X- header). Any other mail of his produces no output. Soverin's own bounces come from bounce@my.soverin.net with Subject Bounced: Je Bazibo-code / Your Bazibo code.
  • Limits in Mark's mailbox: only INBOX is read (a DSN filed under Junk, or removed from the server by a mail client within 30 minutes, is not seen), and a DSN without the original's headers stays silent there. Recognition depends on the code mail's subject, which is _BAZIBO_SUBJECT in internetnl-cli src/netnl/mail.py; change both together.
  • It never resends. Mark approves a resend; then one new code goes out by hand via the normal path (netnl-admin bazibo mint --mail <buyer> --ref <txn>-resend1, which now goes via Soverin), and the old code id is revoked. For a Stripe purchase the claim link (above) is the first answer: it needs no new code and no working mailbox.
  • In hallo@bazibo.nl a bounce that is not a code mail gets only a digest line, and a DSN without the original is pinged as "origineel onbekend".
  • Check it: systemctl --user list-timers bounce-watch.timer, journalctl --user -u bounce-watch -n 20, or bounce-watch.py --dry-run (read-only on both). A failed connect or login writes one digest line: hallo@ then pauses 6 hours (a Yourhosting ban would also stop dmarc-watch), Soverin 1 hour. Without soverin.env the Soverin part is skipped.

Still the structural fix: send as hallo@bazibo.nl via Soverin ("Later" below). Then bounces land in hallo@bazibo.nl again and the reading of Mark's mailbox can be switched off (delete ~/.config/bounce-watch/soverin.env). A separate envelope sender (From mark@westerweel.work, envelope hallo@bazibo.nl) is no shortcut: Soverin refuses a From outside the account (seen 2026-11-27) and most likely the same envelope sender, and SPF for bazibo.nl would fail from Soverin's IPs until "Later" step 2 exists.

Later: hallo@bazibo.nl via Soverin (not done)​

To send the code mail as hallo@bazibo.nl again without Yourhosting's relay, Soverin has to be allowed to send for bazibo.nl. This fits the move of bazibo.nl's DNS to Cloudflare (below), and can be done in the same zone file:

  1. Add bazibo.nl as a domain in Mark's Soverin account (Soverin asks for a verification TXT record). Soverin only allows a From of a domain it knows.
  2. SPF: include:soverin.net in the bazibo.nl SPF record, next to the Yourhosting entries (cloudflare/zones/bazibo.nl.json). Stay under 10 DNS lookups.
  3. DKIM: publish the DKIM record(s) Soverin gives for bazibo.nl. Soverin uses its own selector names, so this sits next to Plesk's default._domainkey, not instead of it.
  4. Put NETNL_BAZIBO_SMTP_FROM=hallo@bazibo.nl in the Secret netnl-bridge, without any other NETNL_BAZIBO_SMTP_* key. internetnl-cli then keeps the bridge relay (Soverin) and uses that address as From and envelope sender. Restart the Deployment. Test with one code to Mark: From: Bazibo <hallo@bazibo.nl>, SPF/DKIM/DMARC pass for bazibo.nl. Back: delete that one key and restart.
  5. Bounces then go to hallo@bazibo.nl, where bounce-watch reads them ("Bounces" above).
  6. DMARC reports will then show Soverin's sending IPs: add them to SEED_IPS in dmarc-watch (dotfiles), or it warns about an unknown IP once per IP.

Not now: Mark decides on the DNS move first (Cloudflare section, "Switching").

Cloudflare in front (prepared 2026-11-30, not active)​

Mark, 30 Nov 2026: if Plesk keeps blocking, move bazibo.nl's DNS to Cloudflare too. The zone is prepared, not switched: Mark switches the nameservers only after worldofnines.com works on Cloudflare. Hosting, mail and the Plesk deploy stay at Yourhosting. Cloudflare only proxies the site.

The zone is cloudflare/zones/bazibo.nl.json in this repo, applied with cloudflare/apply.py (runbook cloudflare-edge). Nameservers assigned on 2026-11-30: jamie.ns.cloudflare.com, lennox.ns.cloudflare.com.

Cloudflare deletes a Free zone that stays pending for 28 days, so this one goes around 2026-12-28 if the switch hasn't happened. Recreate it with cloudflare/apply.py cloudflare/zones/bazibo.nl.json --create-zone --apply. A new zone may get other nameservers, so always take them from the script's output.

WhatIn the zone
bazibo.nl, www A/AAAAproxied (orange) to the Plesk server
*, mail, smtp, imap, pop, pop3, webmail, autodiscover, autoconfig, ftpDNS-only, same addresses and TTL 600 as at Yourhosting
MX, DMARC, _domainkey, default._domainkey, Google site verificationcopied as they are, DNS-only
SPFa replaced by ip4:92.63.174.175 ip6:2a05:…:2717. Once the apex is proxied, a would point to Cloudflare and stop covering mail sent from the Plesk server
DKIMsame key, with the stray spaces inside p= removed
SettingsSSL Full (strict) (the Plesk Let's Encrypt cert covers bazibo.nl and www), Always HTTPS, min TLS 1.2, HSTS 1 year without subdomains, email obfuscation off (it would inject a script into the pages)
Headers (Transform Rule)CSP = the union of the pages' own meta CSPs plus frame-ancestors 'none'; nosniff, Referrer-Policy, X-Frame-Options: DENY, Permissions-Policy with camera and microphone for self (QR transfer, the papegaai game), X-Powered-By removed
CacheCache Rule: no edge cache, so a Plesk deploy and the service worker update as they do today. Edge caching is a later choice

Switching (Mark, later)​

  1. Ask Yourhosting about their firewall first. Once the site is proxied, the shared Plesk server sees Cloudflare's addresses as every visitor. A firewall that bans by IP (the one that banned our scanner on 2026-11-25) would then ban a Cloudflare address, and the site goes down for everyone routed through it. Ask Yourhosting support whether the server trusts Cloudflare's IP ranges and takes the visitor from CF-Connecting-IP (Plesk logs then keep the real IPs too). If not, switch with bazibo.nl and www DNS-only ("proxied": false in the zone file, --apply) and decide on proxying separately; the headers and HSTS from Cloudflare then do not apply yet.
  2. DNSSEC first. On 2026-11-30 the .nl registry held a DS for bazibo.nl (17191 13 2 …, Yourhosting's key). Switching the nameservers while it is there makes bazibo.nl SERVFAIL for validating resolvers (the same problem worldofnines.com had). In Mijn Yourhosting turn DNSSEC off for bazibo.nl and wait until dig DS bazibo.nl @ns1.dns.nl +norec returns no DS, plus one hour for the DS TTL.
  3. Set the nameservers at Yourhosting to the two that python3 cloudflare/apply.py cloudflare/zones/bazibo.nl.json prints (on 2026-11-30 jamie.ns.cloudflare.com and lennox.ns.cloudflare.com).
  4. Wait for the zone to show active (cloudflare/apply.py cloudflare/zones/bazibo.nl.json prints the status), then run the checks below. When proxied they must now show server: cloudflare and the security headers (in the DNS-only fallback of step 0 they look as before). Load the app once in a browser: games, the QR transfer (camera) and the activation call to api.westerweel.work must work with the CSP.
  5. Send a test mail from hallo@bazibo.nl and check SPF: PASS and DKIM: PASS.
  6. Then turn on DNSSEC in Cloudflare and add its DS record at Yourhosting.

Rolling back means setting the Yourhosting nameservers again. Their Premium DNS zone is left as it is, so it still holds every record.

Checks​

curl -sI https://bazibo.nl/ | head -1 # 200
curl -sI http://www.bazibo.nl/ | grep -i location # https://bazibo.nl/ (via one or two 301s)
echo | openssl s_client -connect bazibo.nl:443 -servername bazibo.nl 2>/dev/null \
| openssl x509 -noout -enddate -ext subjectAltName # LE, bazibo.nl/www/mail
curl -s https://bazibo.nl/.git/config -o /dev/null -w '%{http_code}\n' # 403/404, never 200

Roll back​

  • Site: in Plesk set the document root back to httpdocs (Hosting settings) and/or set the Git repo's deploy mode to Handmatig. The GitHub Pages copy keeps working regardless.
  • A bad deploy: revert the commit on main; the webhook publishes the revert.
  • Mail: delete or edit the forwarder under Mail › E-mailadressen.
  • TLS: SSL It! › Toewijzing certificaat opheffen; re-issue with Certificaat opnieuw uitgeven.