remote

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: GPL-3.0 Imports: 34 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package remote implements module which does outgoing message delivery using servers discovered using DNS MX records.

Implemented interfaces: - module.DeliveryTarget

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c *container.C, modName, instName string) (module.Module, error)

func NewDANEPolicy

func NewDANEPolicy(c *container.C, modName, instName string) (module.Module, error)

func NewDNSSECPolicy added in v0.4.0

func NewDNSSECPolicy(_ *container.C, _, instName string) (module.Module, error)

func NewLocalPolicy

func NewLocalPolicy(c *container.C, modName, instName string) (module.Module, error)

func NewMTASTSPolicy

func NewMTASTSPolicy(c *container.C, modName, instName string) (module.Module, error)

func NewSTSPreload added in v0.4.0

func NewSTSPreload(c *container.C, modName, instName string) (module.Module, error)

Types

type PolicyGroup

type PolicyGroup struct {
	L []module.MXAuthPolicy
	// contains filtered or unexported fields
}

PolicyGroup is a module container for a group of Policy implementations.

It allows to share a set of policy configurations between remote target instances using named configuration blocks (module instances) system.

It is registered globally under the name 'mx_auth'. This is also the name of corresponding remote target configuration directive. The object does not implement any standard module interfaces besides module.Module and is specific to the remote target.

func (*PolicyGroup) Configure added in v0.9.0

func (pg *PolicyGroup) Configure(inlineArgs []string, cfg *config.Map) error

func (*PolicyGroup) InstanceName

func (pg *PolicyGroup) InstanceName() string

func (*PolicyGroup) Name

func (*PolicyGroup) Name() string

type Target

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

func (*Target) Configure added in v0.9.0

func (rt *Target) Configure(inlineArgs []string, cfg *config.Map) error

func (*Target) InstanceName

func (rt *Target) InstanceName() string

func (*Target) Name

func (rt *Target) Name() string

func (*Target) Start

func (rt *Target) Start() error

func (*Target) StartDelivery added in v0.9.0

func (rt *Target) StartDelivery(ctx context.Context, msgMeta *module.MsgMetadata, mailFrom string) (module.Delivery, error)

func (*Target) Stop added in v0.9.0

func (rt *Target) Stop() error

Jump to

Keyboard shortcuts

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