Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

A go-imap backend that proxies all commands and responses to another IMAP server

License

Notifications You must be signed in to change notification settings

emersion/go-imap-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

go-imap-proxy

A go-imap backend that proxies all commands and responses to another IMAP server.

Usage

package main import ( "log""github.com/emersion/go-imap/server""github.com/emersion/go-imap-proxy" ) funcmain(){be:=proxy.NewTLS("mail.example.org:993", nil) // Create a new servers:=server.New(be) s.Addr=":1143"// Since we will use this server for testing only, we can allow plain text// authentication over unencrypted connectionss.AllowInsecureAuth=truelog.Println("Starting IMAP server at localhost:1143") iferr:=s.ListenAndServe(); err!=nil{log.Fatal(err) } }

License

MIT

About

A go-imap backend that proxies all commands and responses to another IMAP server

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages