Documentation
¶
Overview ¶
Package remote implements module which does outgoing message delivery using servers discovered using DNS MX records.
Implemented interfaces: - module.DeliveryTarget
Index ¶
- func New(_, instName string) (module.Module, error)
- func NewDANEPolicy(_, instName string) (module.Module, error)
- func NewDNSSECPolicy(_, instName string) (module.Module, error)
- func NewLocalPolicy(_, instName string) (module.Module, error)
- func NewMTASTSPolicy(_, instName string) (module.Module, error)
- func NewSTSPreload(_, instName string) (module.Module, error)
- type PolicyGroup
- type Target
- func (rt *Target) Configure(inlineArgs []string, cfg *config.Map) error
- func (rt *Target) InstanceName() string
- func (rt *Target) Name() string
- func (rt *Target) Start() error
- func (rt *Target) StartDelivery(ctx context.Context, msgMeta *module.MsgMetadata, mailFrom string) (module.Delivery, error)
- func (rt *Target) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDNSSECPolicy ¶ added in v0.4.0
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 ¶
func (*Target) InstanceName ¶
func (*Target) StartDelivery ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.