Documentation
¶
Overview ¶
Package provision creates the mxRaven domain, listeners, keys, routes, and S3 archive rule needed by a perch installation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
BaseURL string
Token string
Tenant string
Hostname string
DataDir string
Domain string
InboundDomain string
SendingDomain string
EnableSubmission bool
Storage config.StorageConfig
DryRun bool
AuthPolicy string
Rspamd bool
RejectMalware bool
RejectHighConfidenceSpam bool
RateLimit *RateLimit
}
Options controls provisioning.
type RateLimit ¶
type RateLimit struct {
MessageRatePerMinute float64
RecipientRatePerMinute float64
TaskRatePerMinute float64
Burst int32
MaxConcurrency int32
}
RateLimit configures an MTA listener override. Zero fields are left at zero in the request; callers normally set all fields.
Click to show internal directories.
Click to hide internal directories.