backend

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Permissive

type Permissive struct {
	// contains filtered or unexported fields
}

Permissive backend performs no authentication checks

func NewBackend

func NewBackend(config *config.Config) *Permissive

NewBackend creates a New SMTP Pigeon Backend

func (*Permissive) AnonymousLogin

func (backend *Permissive) AnonymousLogin(_state *smtp.ConnectionState) (smtp.Session, error)

AnonymousLogin creates a new session

func (*Permissive) Login

func (backend *Permissive) Login(state *smtp.ConnectionState, username, password string) (smtp.Session, error)

Login creates a new session, any username or password is accepted

Jump to

Keyboard shortcuts

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