Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
github.com/xarg/imap
IMAP client and server implementation in Go.
This project is the result of an unification effort of 2 projects:
The motivation behind this merge is code reuse, easier testing and easier contribution.
go get github.com/xarg/imap
On it's own, the server, is not functional because it requires a mail storage, an authentication backend, etc.. It provides generic interfaces around mail storage and authentication. It must be used in conjunction with drivers.
See storage drivers.
However, it offers a few dummy interfaces as an inspiration or used for testing.
The simplest way to start a server:
package main
import (
imap "github.com/xarg/imap"
)
func main() {
// The simplest possible server - zero config
// It will find a free tcp port, create some temporary directories.. - just give me a server!
s := imap.NewServer()
s.Start()
}
You can try it out:
go run $GOPATH/src/github.com/xarg/imap/demo/server/demo.go
A more advanced example:
package main
import "github.com/xarg/imap"
func main() {
// More advanced config
m := &imap.DummyMailstore{}
s := imap.NewServer(
imap.Listen("127.0.0.1:1193"),
imap.Store(m),
)
s.Start()
}
http://godoc.org/github.com/xarg/imap
BSD
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.