Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServiceNotAvailable = 421 AuthenticationCredentialsInvalid = 535 TransactionFailed = 554 )
Variables ¶
View Source
var ErrTLSNotConfigured = errors.New("TLS not configured")
Functions ¶
func ErrInvalidScheme ¶
func ErrMissingTLSConfig ¶
Types ¶
type Server ¶
type Server struct { Auth *Auth Hostname string Limit *Limit Timeout *Timeout TLS *TLS Whitelist []string URI *URI Relay *relay.Relay SMTPD *smtpd.Server Listener net.Listener }
type Timeout ¶
func NewTimeout ¶
func NewTimeout(conf config.SMTPTimeout) *Timeout
Source Files ¶
Click to show internal directories.
Click to hide internal directories.