Files
wpywmail/server-native-v2/appsettings.example.json

68 lines
1.6 KiB
JSON

{
"Domain": "wpy.email",
"Hostname": "mail.example.com",
"HttpPrefix": "http://127.0.0.1:8787/",
"SmtpPort": 25,
"SubmissionPort": 587,
"DataDirectory": "C:\\WpywMailData",
"AdminEmail": "[email protected]",
"AdminPassword": "replace-with-a-long-password",
"TlsCertificatePath": "C:\\WpywMailData\\certs\\mail.example.com.pfx",
"TlsCertificatePassword": "replace-with-certificate-password",
"DeliveryMode": "direct",
"DirectDelivery": {
"ConnectionTimeoutSeconds": 30,
"CommandTimeoutSeconds": 30,
"DnsTimeoutSeconds": 5,
"OpportunisticStartTls": true,
"RequireStartTls": false,
"DnsServer": "",
"HeloName": ""
},
"Relay": {
"Host": "",
"Port": 587,
"User": "",
"Password": "",
"EnableSsl": true
},
"Retry": {
"MaxAttempts": 12,
"InitialDelaySeconds": 60,
"MaxDelaySeconds": 3600,
"RetryOnPermanentFailure": true,
"MaxAttemptsForPermanent": 3,
"SendBounceNotification": true
},
"Dkim": {
"Enabled": true,
"Selector": "mail",
"SigningDomain": "",
"PrivateKeyPath": "",
"Headers": [
"From",
"To",
"Subject",
"Date",
"Message-ID",
"MIME-Version",
"Content-Type",
"Content-Transfer-Encoding"
]
},
"Api": {
"SessionDays": 30,
"CorsOrigin": "*",
"LongPollSeconds": 25
},
"Smtp": {
"MaxMessageBytes": 26214400,
"AdvertiseStartTls": true,
"AllowAuthOnInbound": false,
"AddReceivedHeader": true,
"AuthFailuresBeforeBan": 8,
"BanMinutes": 15,
"EnforceSenderMatch": true
}
}