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
Click to show internal directories.
Click to hide internal directories.