1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
# =============================================================================
# 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
|