smtpserver

package
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 58 Imported by: 1

Documentation

Overview

Package smtpserver implements an SMTP server for submission and incoming delivery of mail messages.

Index

Constants

This section is empty.

Variables

View Source
var Localserve bool

If set, regular delivery/submit is sidestepped, email is accepted and delivered to the account named mox.

Functions

func Listen added in v0.0.2

func Listen()

Listen initializes network listeners for incoming SMTP connection. The listeners are stored for a later call to Serve.

func Serve added in v0.0.2

func Serve()

Serve starts serving on all listeners, launching a goroutine per listener.

func ServeTLSConn added in v0.0.15

func ServeTLSConn(listenerName string, hostname dns.Domain, conn *tls.Conn, tlsConfig *tls.Config, submission, viaHTTPS bool, maxMsgSize int64, requireTLS bool)

ServeTLSConn serves a TLS connection.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL