|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.28.1
|
|
|
|
|
// protoc-gen-go v1.30.0
|
|
|
|
|
// protoc v3.21.12
|
|
|
|
|
// source: config.proto
|
|
|
|
|
|
|
|
|
|
@@ -27,10 +27,11 @@ type Config struct {
|
|
|
|
|
|
|
|
|
|
// Default hostname to use when saying hello.
|
|
|
|
|
// This is used:
|
|
|
|
|
// 1) To say hello to clients, for aesthetic purposes.
|
|
|
|
|
// 2) As the HELO/EHLO domain on outgoing SMTP connections, so ideally
|
|
|
|
|
// it would resolve back to the server. In practice, it's not a big
|
|
|
|
|
// deal if it isn't, but it makes troubleshooting easier.
|
|
|
|
|
// 1. To say hello to clients, for aesthetic purposes.
|
|
|
|
|
// 2. As the HELO/EHLO domain on outgoing SMTP connections, so ideally
|
|
|
|
|
// it would resolve back to the server. In practice, it's not a big
|
|
|
|
|
// deal if it isn't, but it makes troubleshooting easier.
|
|
|
|
|
//
|
|
|
|
|
// Default: the system's hostname.
|
|
|
|
|
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
|
|
|
// Maximum email size, in megabytes.
|
|
|
|
|
@@ -46,27 +47,28 @@ type Config struct {
|
|
|
|
|
SubmissionAddress []string `protobuf:"bytes,4,rep,name=submission_address,json=submissionAddress,proto3" json:"submission_address,omitempty"`
|
|
|
|
|
// Addresses to listen on for submission-over-TLS (usually port 465).
|
|
|
|
|
// Default: "systemd", which means systemd passes sockets to us.
|
|
|
|
|
// systemd sockets must be named with "FileDescriptorName=submission_tls".
|
|
|
|
|
// systemd sockets must be named with
|
|
|
|
|
// "FileDescriptorName=submission_tls".
|
|
|
|
|
SubmissionOverTlsAddress []string `protobuf:"bytes,5,rep,name=submission_over_tls_address,json=submissionOverTlsAddress,proto3" json:"submission_over_tls_address,omitempty"`
|
|
|
|
|
// Address for the monitoring http server.
|
|
|
|
|
// Do NOT expose this to the public internet.
|
|
|
|
|
// Default: no monitoring http server.
|
|
|
|
|
MonitoringAddress string `protobuf:"bytes,6,opt,name=monitoring_address,json=monitoringAddress,proto3" json:"monitoring_address,omitempty"`
|
|
|
|
|
// Mail delivery agent (MDA, also known as LDA) to use.
|
|
|
|
|
// This should point to the binary to use to deliver email to local users.
|
|
|
|
|
// The content of the email will be passed via stdin.
|
|
|
|
|
// If it exits unsuccessfully, we assume the mail was not delivered.
|
|
|
|
|
// This should point to the binary to use to deliver email to local
|
|
|
|
|
// users. The content of the email will be passed via stdin. If it exits
|
|
|
|
|
// unsuccessfully, we assume the mail was not delivered.
|
|
|
|
|
// Default: "maildrop".
|
|
|
|
|
MailDeliveryAgentBin string `protobuf:"bytes,7,opt,name=mail_delivery_agent_bin,json=mailDeliveryAgentBin,proto3" json:"mail_delivery_agent_bin,omitempty"`
|
|
|
|
|
// Command line arguments for the mail delivery agent. One per argument.
|
|
|
|
|
// Some replacements will be done.
|
|
|
|
|
// On an email sent from marsnik@mars to venera@venus:
|
|
|
|
|
// - %from% -> from address (marsnik@mars)
|
|
|
|
|
// - %from_user% -> from user (marsnik)
|
|
|
|
|
// - %from_domain% -> from domain (mars)
|
|
|
|
|
// - %to% -> to address (venera@venus)
|
|
|
|
|
// - %to_user% -> to user (venera)
|
|
|
|
|
// - %to_domain% -> to domain (venus)
|
|
|
|
|
// - %from% -> from address (marsnik@mars)
|
|
|
|
|
// - %from_user% -> from user (marsnik)
|
|
|
|
|
// - %from_domain% -> from domain (mars)
|
|
|
|
|
// - %to% -> to address (venera@venus)
|
|
|
|
|
// - %to_user% -> to user (venera)
|
|
|
|
|
// - %to_domain% -> to domain (venus)
|
|
|
|
|
//
|
|
|
|
|
// Default: "-f", "%from%", "-d", "%to_user%" (adequate for procmail
|
|
|
|
|
// and maildrop).
|
|
|
|
|
|