internal/

directory
v1.99.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2026 License: GPL-3.0

Directories

Path Synopsis
Package anvil implements the yarilo-anvil TCP+mTLS connection-accounting server.
Package anvil implements the yarilo-anvil TCP+mTLS connection-accounting server.
auth
client
Package client implements the yarilo-auth TAB-delimited client protocol.
Package client implements the yarilo-auth TAB-delimited client protocol.
oauth2
Package oauth2 validates OAuth 2.0 bearer tokens for the SASL OAUTHBEARER mechanism (RFC 7628) and exposes the result as a passdb.Passdb so OAuth-authenticated logins flow through the regular yarilo-auth pipeline (chain ordering, caching, penalty, policy, audit log — all work unchanged).
Package oauth2 validates OAuth 2.0 bearer tokens for the SASL OAUTHBEARER mechanism (RFC 7628) and exposes the result as a passdb.Passdb so OAuth-authenticated logins flow through the regular yarilo-auth pipeline (chain ordering, caching, penalty, policy, audit log — all work unchanged).
policy
Package policy implements a wforce-compatible HTTP policy client.
Package policy implements a wforce-compatible HTTP policy client.
protocol
Package protocol implements the yarilo-auth TCP+mTLS protocol.
Package protocol implements the yarilo-auth TCP+mTLS protocol.
scram
Package scram is the session-layer glue between the SCRAM SASL server (in our forked go-sasl) and the per-protocol IMAP / POP3 / Submission session handlers in yarilo.
Package scram is the session-layer glue between the SCRAM SASL server (in our forked go-sasl) and the per-protocol IMAP / POP3 / Submission session handlers in yarilo.
sql
Package sql implements SQL passdb/userdb for yarilo-auth.
Package sql implements SQL passdb/userdb for yarilo-auth.
Package backend wires all server components for the backend (or single) mode.
Package backend wires all server components for the backend (or single) mode.
Package backendapi is the backend-plane admin HTTP API.
Package backendapi is the backend-plane admin HTTP API.
cluster
proto
Package proto implements the yarilo-director TAB-delimited wire protocol.
Package proto implements the yarilo-director TAB-delimited wire protocol.
ring
Package ring implements consistent hashing for yarilo-director.
Package ring implements consistent hashing for yarilo-director.
Package connlimit provides per-user@IP connection counting for IMAP/POP3/SMTP.
Package connlimit provides per-user@IP connection counting for IMAP/POP3/SMTP.
Package director — PeerDialer connects to sibling director replicas and propagates ring and user-directory changes so all replicas converge on the same state without a central coordinator.
Package director — PeerDialer connects to sibling director replicas and propagates ring and user-directory changes so all replicas converge on the same state without a central coordinator.
Package imap wires go-imap/v2 to yarilo's mailbox and index backends.
Package imap wires go-imap/v2 to yarilo's mailbox and index backends.
Package lmtp implements an LMTP server (RFC 2033) for local mail delivery.
Package lmtp implements an LMTP server (RFC 2033) for local mail delivery.
Package lmtplogin implements the yarilo-lmtp-login service.
Package lmtplogin implements the yarilo-lmtp-login service.
Package login implements the yarilo mail-protocol login proxy.
Package login implements the yarilo mail-protocol login proxy.
Package loginproto defines the internal login-pod → backend preamble protocol.
Package loginproto defines the internal login-pod → backend preamble protocol.
Package managesieve implements the RFC 5804 ManageSieve backend.
Package managesieve implements the RFC 5804 ManageSieve backend.
Package monitor implements yarilo-monitor: a sidecar health checker that probes backend pods via IMAP/POP3/LMTP login and reports state changes to the director (BACKEND-FLUSH on failure, BACKEND-UP on recovery).
Package monitor implements yarilo-monitor: a sidecar health checker that probes backend pods via IMAP/POP3/LMTP login and reports state changes to the director (BACKEND-FLUSH on failure, BACKEND-UP on recovery).
Package pop3 implements a POP3 server (RFC 1939).
Package pop3 implements a POP3 server (RFC 1939).
Package quotastatus implements the Postfix policy service protocol (RFC-style text key=value over TCP) for quota enforcement.
Package quotastatus implements the Postfix policy service protocol (RFC-style text key=value over TCP) for quota enforcement.
Package sasllogin proxies Postfix SASL authentication to yarilo-auth.
Package sasllogin proxies Postfix SASL authentication to yarilo-auth.
storage
index/file
Package file is the per-folder index implementation that underlies every yarilo storage driver (maildir, dbox, mdbox).
Package file is the per-folder index implementation that underlies every yarilo storage driver (maildir, dbox, mdbox).
mailbox/dbox/v1legacy
Package v1legacy is a read-only reader for yarilo's pre-Phase-3 dbox format.
Package v1legacy is a read-only reader for yarilo's pre-Phase-3 dbox format.
mailbox/dboxv2
Package dboxv2 is the Dovecot-compliant single-message dbox (sdbox) storage driver, replacing yarilo's pre-Phase-3 internal/storage/ mailbox/dbox implementation.
Package dboxv2 is the Dovecot-compliant single-message dbox (sdbox) storage driver, replacing yarilo's pre-Phase-3 internal/storage/ mailbox/dbox implementation.
mailbox/maildir
Package maildir implements MailboxBackend for Maildir format.
Package maildir implements MailboxBackend for Maildir format.
mailbox/mdbox
Package mdbox is the multi-message dbox (mdbox) storage driver.
Package mdbox is the multi-message dbox (mdbox) storage driver.
mailbox/mdbox/mdboxmap
Package mdboxmap implements the global per-user multi-message dbox map (on-disk file: `dovecot.map.index`).
Package mdboxmap implements the global per-user multi-message dbox map (on-disk file: `dovecot.map.index`).
mailbox/mdbox/v1legacy
Package v1legacy is a read-only reader for yarilo's pre-Phase-5 mdbox format.
Package v1legacy is a read-only reader for yarilo's pre-Phase-5 mdbox format.
mailindex
Package mailindex is a wire-compatible Go implementation of the mail-index binary format (major=7 minor=3).
Package mailindex is a wire-compatible Go implementation of the mail-index binary format (major=7 minor=3).
Package submission implements the submission servers (port 587 / 465).
Package submission implements the submission servers (port 587 / 465).
proxy
Package proxy implements the outbound submission proxy.
Package proxy implements the outbound submission proxy.
Package telemetry exposes /healthz, /readyz, and /metrics on a dedicated port.
Package telemetry exposes /healthz, /readyz, and /metrics on a dedicated port.
userstate
acl
Package acl persists per-mailbox ACL state in a yarilo-acl file inside the folder's index directory (the same dir holding yarilo.index*).
Package acl persists per-mailbox ACL state in a yarilo-acl file inside the folder's index directory (the same dir holding yarilo.index*).
specialuse
Package specialuse persists per-user RFC 6154 special-use overrides set via IMAP CREATE (USE ...).
Package specialuse persists per-user RFC 6154 special-use overrides set via IMAP CREATE (USE ...).
subs
Package subs persists the set of mailbox names a user has SUBSCRIBE'd.
Package subs persists the set of mailbox names a user has SUBSCRIBE'd.
Package xclient implements the XCLIENT SMTP extension (Postfix-compatible).
Package xclient implements the XCLIENT SMTP extension (Postfix-compatible).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL