Skip to content

gotamer/smtpd

 
 

Repository files navigation

Go smtpd GoDoc Go Report Card

This is a fork of github.com/chrj/smtpd I just added LMTP, most work must be credited to Christian Joergensen

Package smtpd implements an LMTP, SMTP and ESMTP 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

Version numbers

The package is tagged with semantic version numbers, making it suitable for use in a Go Module.

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.

Languages

  • Go 100.0%