Go SMTP server library
Go to file
2014-07-27 09:37:42 +02:00
.hgignore Send the HELO hostname to the HeloChecker. 2014-07-18 08:46:39 +02:00
address.go Different fixes. 2014-07-17 16:00:44 +02:00
envelope.go Added new Server field Hostname for the FQDN over the server (and updated various uses of the hostname). Moved Server.Addr to a parameter for ListenAndServe, as it was only used there. 2014-07-21 12:43:42 +02:00
example_test.go Added new Server field Hostname for the FQDN over the server (and updated various uses of the hostname). Moved Server.Addr to a parameter for ListenAndServe, as it was only used there. 2014-07-21 12:43:42 +02:00
LICENSE Cleanup, added license. 2014-07-15 12:37:25 +02:00
protocol.go Fix panic on blank line. 2014-07-22 08:49:12 +02:00
README.md Tests refactoring, readme updated. 2014-07-26 18:29:14 +02:00
smtpd_test.go Refactored ssl test setup. 2014-07-27 09:37:42 +02:00
smtpd.go Added new Server field Hostname for the FQDN over the server (and updated various uses of the hostname). Moved Server.Addr to a parameter for ListenAndServe, as it was only used there. 2014-07-21 12:43:42 +02:00
wrap_test.go Added TLS param to Peer. Added option to prepend Received header to envelope data. 2014-07-21 00:06:56 +02:00
wrap.go Added TLS param to Peer. Added option to prepend Received header to envelope data. 2014-07-21 00:06:56 +02:00

Go smtpd GoDoc

Package smtpd implements an SMTP server in golang.

Features

  • STARTTLS (using crypto/tls)
  • Authentication (PLAIN/LOGIN, only after STARTTLS)
  • XCLIENT (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.