greylist

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckResult

type CheckResult struct {
	Action   string // "accept", "defer", "pass"
	Message  string
	WaitTime time.Duration
}

type Greylister

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

func NewGreylister

func NewGreylister(repo repository.GreylistRepository) *Greylister

func (*Greylister) Check

func (g *Greylister) Check(ip, sender, recipient string) (*CheckResult, error)

func (*Greylister) Cleanup

func (g *Greylister) Cleanup() error

Jump to

Keyboard shortcuts

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