Go SMTP server library
Go to file
2017-10-09 20:05:15 +02:00
examples/dkim-proxy Update import paths for move to GitHub 2017-08-20 18:05:24 +02:00
address.go Fix several panics on invalid input 2016-02-12 01:26:50 +00:00
envelope.go Fix several panics on invalid input 2016-02-12 01:26:50 +00:00
example_test.go Add Go Report Card, fix a couple of golint warnings. 2017-08-24 11:41:02 +02:00
LICENSE Fix several panics on invalid input 2016-02-12 01:26:50 +00:00
protocol_test.go Improve the command parser to try to parse malformed commands. 2017-05-23 21:42:13 +02:00
protocol.go Add Go Report Card, fix a couple of golint warnings. 2017-08-24 11:41:02 +02:00
README.md Add Go Report Card, fix a couple of golint warnings. 2017-08-24 11:41:02 +02:00
smtpd_test.go Support TLS listeners (fixes issue #2). 2017-10-09 20:05:15 +02:00
smtpd.go Support TLS listeners (fixes issue #2). 2017-10-09 20:05:15 +02:00
wrap_test.go Fix several panics on invalid input 2016-02-12 01:26:50 +00:00
wrap.go Fix several panics on invalid input 2016-02-12 01:26:50 +00:00

Go smtpd GoDoc Go Report Card

Package smtpd implements an SMTP server in golang.

Features

  • STARTTLS (using crypto/tls)
  • Authentication (PLAIN/LOGIN, only after STARTTLS)
  • XCLIENT and PROXY protocol (for running behind a proxy)
  • Connection, HELO, sender and recipient checks for rejecting e-mails using callbacks
  • Configurable limits for: connection count, message size and recipient count
  • Hands incoming e-mail off to a configured callback function

Feedback

If you end up using this package or have any feedback, I'd very much like to hear about it. You can reach me by email.