aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-16 11:43:38 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-16 11:43:38 +0800
commitb408645806e8098b89e782a09e8ba7ef36c6fb6f (patch)
treeccc245e196a4df6ae8dce325cede4705656637d3 /config.go
parentIMAP: Use clog.Debug instead of fmt.Printf (diff)
downloadmaild-b408645806e8098b89e782a09e8ba7ef36c6fb6f.tar.gz
maild-b408645806e8098b89e782a09e8ba7ef36c6fb6f.tar.zst
maild-b408645806e8098b89e782a09e8ba7ef36c6fb6f.zip
IMAP: Use TLS
Diffstat (limited to '')
-rw-r--r--config.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.go b/config.go
index 92bec3e..b805dbc 100644
--- a/config.go
+++ b/config.go
@@ -26,8 +26,9 @@ var config struct {
Addr string `scfg:"addr"`
} `scfg:"mx"`
IMAP struct {
- Net string `scfg:"net"`
- Addr string `scfg:"addr"`
+ Net string `scfg:"net"`
+ Addr string `scfg:"addr"`
+ Trans string `scfg:"trans"`
} `scfg:"imap"`
_tls_config *tls.Config
}