aboutsummaryrefslogtreecommitdiff
path: root/main.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 /main.go
parentRefactor mx stuff (diff)
downloadmaild-b27e7a73337659aca8ed1aadd4b907048b1f598c.tar.gz
maild-b27e7a73337659aca8ed1aadd4b907048b1f598c.tar.zst
maild-b27e7a73337659aca8ed1aadd4b907048b1f598c.zip
Listen to IMAP
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 51540f9..d4b3696 100644
--- a/main.go
+++ b/main.go
@@ -17,6 +17,7 @@ func main() {
clog.Fatal(1, "Error while loading configuration file: "+err.Error())
}
+ go serve_imap()
go serve_mx()
deadlock := make(chan struct{})