# ============================================================================= # Dove — Local Infrastructure Service for Peaceful Development Experience # ============================================================================= # # This is the default configuration file for Dove. It controls operational # settings for each service. All services bind to 127.0.0.1 on standard # ports (HTTP 80, DNS 53, SMTP 25/465/587, IMAP 143/993, POP3 110/995) # and Dove must run as root to bind to these privileged ports. # # Settings that can be managed at runtime (queue policies, health check # intervals, cron schedules, KV limits, etc.) are configured through the # dashboard and stored in the database — they do not appear here. # # Copy this file to config.toml and adjust values as needed. # All values shown below are defaults and can be omitted if unchanged. # Commented-out values are optional and disabled by default. # ============================================================================= # HTTP Dashboard # ============================================================================= # The web dashboard and REST API for managing your local infrastructure. [http] # Enable verbose debug logging for HTTP requests and responses. debug = false # Optional credentials to protect the web dashboard. # When set, users must authenticate before accessing the dashboard. # Leave commented out to allow unrestricted access. # username = "" # password = "" # ============================================================================= # SMTP Server # ============================================================================= # Receives incoming emails for mailboxes registered under your domains. # Listens on port 25 (plain), 465 (implicit TLS), and 587 (submission). [smtp] # The domain name announced in SMTP EHLO/HELO greetings. domain = "localhost" # Maximum allowed email size in bytes. Default is 25 MB. max_message_size = 26214400 # Timeout in seconds for reading data from SMTP clients. read_timeout = 30 # Timeout in seconds for writing data to SMTP clients. write_timeout = 30 # Require SMTP authentication before accepting messages. auth_required = false # Credentials for SMTP authentication. # Only used when auth_required is set to true. # username = "" # password = "" # Enable TLS support for encrypted SMTPS and STARTTLS listeners. # Requires valid certificate and key paths below. tls_enabled = false # Paths to the TLS certificate and private key files. # Required when tls_enabled is set to true. # tls_cert = "" # tls_key = "" # ============================================================================= # IMAP Server # ============================================================================= # Provides IMAP access for external mail clients (Thunderbird, Apple Mail, # etc.) to retrieve emails stored in Dove mailboxes. # Listens on port 143 (plain) and 993 (implicit TLS). [imap] # Require IMAP authentication before granting mailbox access. auth_required = false # Credentials for IMAP authentication. # Only used when auth_required is set to true. # username = "" # password = "" # Enable TLS support for encrypted IMAPS connections. tls_enabled = false # Paths to the TLS certificate and private key files. # Required when tls_enabled is set to true. # tls_cert = "" # tls_key = "" # ============================================================================= # POP3 Server # ============================================================================= # Provides POP3 access for external mail clients to download and remove # emails from Dove mailboxes. # Listens on port 110 (plain) and 995 (implicit TLS). [pop3] # Require POP3 authentication before granting mailbox access. auth_required = false # Credentials for POP3 authentication. # Only used when auth_required is set to true. # username = "" # password = "" # Enable TLS support for encrypted POP3S connections. tls_enabled = false # Paths to the TLS certificate and private key files. # Required when tls_enabled is set to true. # tls_cert = "" # tls_key = "" # ============================================================================= # S3-Compatible Object Storage # ============================================================================= # Filesystem-backed object storage with full S3 API compatibility. # Listens on port 9000. [storage] # Directory where object data is stored on disk. # Relative paths are resolved from Dove's data directory. data_dir = "storage" # Maximum allowed object size in bytes. Default is 512 MB. max_object_size = 536870912