vitrinkaDocsBack to the vitrína

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
FlagWhat it does
--hostRelay host.
--portRelay port. Server default 587.
--tlsstarttls, implicit or none.
--fromFrom address.
--userRelay user. An empty value switches to an anonymous relay.
--password-stdinRead the relay password from stdin.
--passwordThe password as an argument — prefer `--password-stdin`.
--caPath to a private-CA PEM bundle.
--no-caDrop the stored CA bundle and go back to system roots.
--clearDelete 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 test

Which 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