Crate spf_milter[][src]

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. Users should look into the application instead.

Structs

CliOptions

A set of CLI options.

CliOptionsBuilder

A builder for CLI options.

ParseLogDestinationError

An error indicating that a log destination could not be parsed.

ParseLogLevelError

An error indicating that a log level 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.

SyslogFacility

The syslog facility.

Constants

MILTER_NAME

The SPF Milter application name.

VERSION

The SPF Milter version string.

Functions

reload_config

Requests that the configuration be reloaded later.

run

Starts SPF Milter with the given CLI options.

run_with_lookup

Starts SPF Milter with the given CLI options, using lookup for all DNS queries.