imap: add commented server debug

This commit is contained in:
emersion 2017-12-12 13:50:37 +01:00
parent 789234bf17
commit fad35e2b3f
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ func main() {
s := imapserver.New(be) s := imapserver.New(be)
s.Addr = "127.0.0.1:" + port s.Addr = "127.0.0.1:" + port
s.AllowInsecureAuth = true // TODO: remove this s.AllowInsecureAuth = true // TODO: remove this
//s.Debug = os.Stdout
s.Enable(imapspacialuse.NewExtension()) s.Enable(imapspacialuse.NewExtension())
log.Println("Starting IMAP server at", s.Addr) log.Println("Starting IMAP server at", s.Addr)