package
2.1.5
Repository: https://github.com/grafana/smtprelay.git
Documentation: pkg.go.dev

# README

This is an internal fork of github.com/chrj/smtpd, with the following initial changes:

  • removed the _examples directory
  • removed the go.mod file
  • replaced the README.md file with this one

This internal fork will change over time to meet our needs, and may diverge from the original.

The original license is included in this directory as LICENSE.

# Functions

LocalAddrFromContext can be used in handlers to access the local address the connection arrived on.

# Constants

Extended SMTP.
SMTP.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: should this be a 502 or 451?.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrServerClosed is returned by the Server's Serve and ListenAndServe, methods after a call to Shutdown.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Envelope holds a message, its headers and recipients.
Peer represents the client connecting to the server.
Server defines the parameters for running the SMTP server nolint:govet.

# Type aliases

Protocol represents the protocol used in the SMTP session.