Sign-in, security & privacy
Understand authentication and data boundaries.
Authentication#
Standalone mailbox sign-in uses the connected mail server's credentials. Administrators have a separate local account. Authenticator-app two-factor authentication uses RFC 6238 codes and one-use recovery codes; keep those recovery codes in a safe place. Passkeys depend on the account type, browser, origin, and configured policy.
With the add-on, mailcow authenticates native mailbox sessions and factors. Trusting mailcow MFA is an explicit operator setting, not an assumption that every existing session represents fresh verification. See mailcow authentication.
What is stored#
The upstream mail server remains authoritative. aseMail keeps its own users, preferences, encrypted mailbox credentials, encrypted recent-message cache, personal calendar, and queued delivery/recovery content in PostgreSQL.
Mailbox credentials and sensitive cached metadata use authenticated XChaCha20-Poly1305 encryption. Calendar titles, locations, and descriptions are encrypted under the instance master key. Administrator passwords use Argon2id. This is storage protection, not end-to-end encryption against an operator controlling the running host.
Losing secrets/master-key makes existing encrypted data unrecoverable. Back up the database and key separately from the host, and protect both.
Email content and remote resources#
Incoming HTML is sanitized and isolated in a sandboxed frame. Remote images are removed by default and can be allowed through the app's controls. Loading an external image can contact its host. Optional sender-logo providers have separate data flows and configuration; see verified logos.
Attachments download with attachment disposition and nosniff. Sanitization and isolation do not make every attachment trustworthy; use your organization's normal handling policy.
Hosting boundaries#
Use HTTPS beyond localhost. Opaque session cookies are HttpOnly, SameSite=Lax, and Secure on HTTPS. Mutation routes verify CSRF, and authentication endpoints are rate limited. IMAP/SMTP connections validate TLS certificates.
The security model assumes the host, PostgreSQL, reverse proxy, and mail servers are controlled by the organization. Restrict proxy trust to exact IPs/CIDRs, keep PostgreSQL private, and do not enable private-network profiles for arbitrary user-supplied hosts.
Report a vulnerability#
Contact the repository maintainers privately through your existing project access with the affected version, impact, and reproduction. Do not put credentials, message contents, or exploit details in a public issue. No public security-reporting email has been verified for this website.