aboutsummaryrefslogtreecommitdiff
path: root/serve_imap.go
diff options
context:
space:
mode:
Diffstat (limited to 'serve_imap.go')
-rw-r--r--serve_imap.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/serve_imap.go b/serve_imap.go
index f1d195d..5337570 100644
--- a/serve_imap.go
+++ b/serve_imap.go
@@ -22,7 +22,6 @@ func serve_imap() {
}
clog.Info("IMAP: Listening via " + imap_net + " on " + imap_addr)
-
server := imapserver.New(&imapserver.Options{
NewSession: func(conn *imapserver.Conn) (imapserver.Session, *imapserver.GreetingData, error) {
return nil, nil, nil
@@ -31,7 +30,7 @@ func serve_imap() {
imap.CapIMAP4rev1: {},
imap.CapIMAP4rev2: {},
},
- DebugWriter: nil, // TODO
+ DebugWriter: nil, // TODO
})
err = server.Serve(listener)
if err != nil {