The deployment mailer
One mailer per install, configured from the CLI as an organization admin. The config is deployment-wide and secrets are write-only.
Configure the relay
vitrinka admin smtp set \
--host smtp.example.com --port 587 --tls starttls \
--from "vitrinka@example.com" --user mailer --password-stdin| Flag | What it does |
|---|---|
--host | Relay host. |
--port | Relay port. Server default 587. |
--tls | starttls, implicit or none. |
--from | From address. |
--user | Relay user. An empty value switches to an anonymous relay. |
--password-stdin | Read the relay password from stdin. |
--password | The password as an argument — prefer `--password-stdin`. |
--ca | Path to a private-CA PEM bundle. |
--no-ca | Drop the stored CA bundle and go back to system roots. |
--clear | Delete the saved config and fall back to the env SMTP_* / RESEND_API_KEY. |
Prefer --password-stdin. A password passed as --password is visible in ps to anyone else on the box.
Check it works
status reports the source, the host, TLS mode and from-address, and whether a password is stored. test sends a test email to your own address.
vitrinka admin smtp status
vitrinka admin smtp testWhich organization
All three subcommands ask as an organization admin. --org picks which one when your login belongs to more than one; it falls back to $VITRINKA_ORG, then the bound workspace's organization, then your sole membership.
vitrinka admin smtp status --org acme