mirror of
https://github.com/mjl-/mox.git
synced 2024-12-29 18:03:48 +03:00
a69887bfab
this simplifies some of the code that makes modifications to the config file. a few protected functions can make changes to the dynamic config, which webadmin can use. instead of having separate functions in mox-/admin.go for each type of change. this also exports the parsed full dynamic config to webadmin, so we need fewer functions for specific config fields too.
17 lines
235 B
Text
17 lines
235 B
Text
DataDir: data
|
|
AdminPasswordFile: adminpassword
|
|
User: 1000
|
|
LogLevel: trace
|
|
Hostname: mox.example
|
|
Listeners:
|
|
local:
|
|
IPs:
|
|
- 0.0.0.0
|
|
Postmaster:
|
|
Account: mjl
|
|
Mailbox: postmaster
|
|
|
|
Transports:
|
|
direct:
|
|
Direct:
|
|
DisableIPv6: true
|