aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-13 16:33:50 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-13 16:33:50 +0800
commitb27e7a73337659aca8ed1aadd4b907048b1f598c (patch)
treeaee98e8ef63b51724e22eeceb62d70f4c670e80c /config.go
parentRefactor mx stuff (diff)
downloadmaild-b27e7a73337659aca8ed1aadd4b907048b1f598c.tar.gz
maild-b27e7a73337659aca8ed1aadd4b907048b1f598c.tar.zst
maild-b27e7a73337659aca8ed1aadd4b907048b1f598c.zip
Listen to IMAP
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.go b/config.go
index e7d6aa4..92bec3e 100644
--- a/config.go
+++ b/config.go
@@ -25,6 +25,10 @@ var config struct {
Net string `scfg:"net"`
Addr string `scfg:"addr"`
} `scfg:"mx"`
+ IMAP struct {
+ Net string `scfg:"net"`
+ Addr string `scfg:"addr"`
+ } `scfg:"imap"`
_tls_config *tls.Config
}
var (