Something went wrong. Try again.
Experimental AT protocol email hosting
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344---// One mailbox value in a setup guide: a generic placeholder (or the fleet// default) at build time, replaced by personalize.ts with the value from// the query string when the account page linked here with one.interface Props { name: "address" | "server" | "imap" | "smtp" | "smtpSecurity" | "passwd";}const { name } = Astro.props;
// Ports are fleet-wide (nix/modules/roles/cell.nix), so their defaults are// real values; the rest are per mailbox and per cell.const defaults = { imap: "993", smtp: "587", smtpSecurity: "STARTTLS" };const placeholders = { address: "your email address", server: "your mail server", passwd: "your app password",};---
{ name === "smtpSecurity" ? ( <strong data-setting={name}>{defaults.smtpSecurity}</strong> ) : name === "imap" || name === "smtp" ? ( <code data-setting={name}>{defaults[name]}</code> ) : ( <span data-setting={name} class="setting-placeholder">{placeholders[name]}</span> )}
<script> import "./personalize";</script>
<style is:global> .setting-placeholder { font-style: italic; } .setting-secret { cursor: pointer; font-weight: 700; color: var(--sl-color-accent-high); }</style>