Crate spf_milter

Crate spf_milter 

Source
Expand description

The SPF Milter application library.

This library was published to facilitate integration testing of the SPF Milter application. No backwards compatibility guarantees are made for the public API in this library. Please look into the application instead.

Structs§

CliOptions
A set of CLI options.
CliOptionsBuilder
A builder for CLI options.
Config
Initial configuration read from the file system.
ParseLogDestinationError
An error indicating that a log destination could not be parsed.
ParseLogLevelError
An error indicating that a log level could not be parsed.
ParseSocketError
An error indicating that a socket could not be parsed.
ParseSyslogFacilityError
An error indicating that a syslog facility could not be parsed.

Enums§

LogDestination
The log destination.
LogLevel
The log level.
Socket
A socket specification.
SyslogFacility
The syslog facility.

Constants§

MILTER_NAME
The SPF Milter application name.
VERSION
The SPF Milter version string.

Functions§

run
Starts SPF Milter listening on the given socket using the supplied configuration.