diff options
| author | Bobby <[email protected]> | 2026-03-07 15:09:42 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-03-07 15:09:42 +0530 |
| commit | 8f8d41413ff775b6d721059783a0e2de4f90f50c (patch) | |
| tree | 40923d049ee7df8b0bc90d74373c94cdd4d8b230 /example.config.toml | |
| parent | 41926c10ea2e8496ce4b528262f5047ccbe6f155 (diff) | |
| download | dove-8f8d41413ff775b6d721059783a0e2de4f90f50c.tar.xz dove-8f8d41413ff775b6d721059783a0e2de4f90f50c.zip | |
feat: add configuration management and server setup
- Implemented configuration file creation and loading in config.go.
- Added default configuration content embedded in embed.go.
- Introduced logging middleware for HTTP requests.
- Created Makefile for build and setup automation.
- Integrated Tailwind CSS and HTMX for frontend styling and interactivity.
- Developed basic authentication flow with login and dashboard pages.
- Enhanced error handling and user feedback in templates.
- Updated dependencies in go.mod and go.sum.
Diffstat (limited to 'example.config.toml')
| -rw-r--r-- | example.config.toml | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/example.config.toml b/example.config.toml new file mode 100644 index 0000000..8748a3b --- /dev/null +++ b/example.config.toml @@ -0,0 +1,50 @@ +[server] +host = "0.0.0.0" +port = 8080 +debug = false +# username = "" +# password = "" + +[smtp] +host = "0.0.0.0" +port = 5025 +smtps_port = 5465 +starttls_port = 5587 +max_message_size = 26214400 +auth_required = false +# username = "" +# password = "" +tls_enabled = false +# tls_cert = "" +# tls_key = "" +relay_enabled = false +# relay_host = "" +relay_port = 587 +# relay_username = "" +# relay_password = "" +relay_starttls = true + +[imap] +host = "0.0.0.0" +port = 5143 +imaps_port = 5993 +auth_required = false +# username = "" +# password = "" +tls_enabled = false +# tls_cert = "" +# tls_key = "" + +[pop3] +host = "0.0.0.0" +port = 5110 +pop3s_port = 5995 +auth_required = false +# username = "" +# password = "" +tls_enabled = false +# tls_cert = "" +# tls_key = "" + +[mailbox] +mode = "registered"
\ No newline at end of file |
