-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
appsettings.json
78 lines (78 loc) · 2.04 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"ConnectionStrings":
{
"sqlite": "Data Source=MailDemon.sqlite",
"sqlserver": "Server=YourSqlServer;Initial Catalog=MailDemon;Persist Security Info=False;User ID=maildemon;Password=[YourPassword];MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;"
},
"DatabaseProvider": "sqlite",
"Logging":
{
"LogLevel":
{
"Default": "Warning",
"Microsoft.AspNetCore": "Warning"
}
},
"mailDemon":
{
"domain": "yourdomain.com",
"ip": "",
"port": "25",
"greeting": "ESMTP & MailDemon &",
"users":
[
{
"name": "noreply",
"displayName": "noreply",
"password": "CHANGE_THIS_PASSWORD!",
"address": "CHANGE_THIS:[email protected]",
"forwardAddress": "CHANGE_THIS:[email protected]"
}
],
"globalForwardAddress": "",
"maxConnectionCount": "128",
"maxFailuresPerIPAddress": "3",
"whitelistIP": "",
"maxMessageSize": "16777216",
"failureLockoutTimespan": "01:00:00:00",
"requireEhloIpHostMatch": false,
"requireSpfMatch": true,
"dkimSelector": "",
"dkimPemFile": "",
"sslCertificateFile": "",
"sslCertificatePrivateKeyFile": "",
"sslCertificatePassword": "",
"ignoreCertificateErrorsRegex":
[
{
"domains":
[
"hotmail.com",
"live.com",
"outlook.com"
],
"regex": "^CN=mail.protection.outlook.com,"
},
{
"domains":
[
"*"
],
"regex": ".",
"comment": "This will allow ALL invalid SSL certs from all SMTP servers. This is a common problem so do this if you don't want to hassle with adding override."
}
]
},
"mailDemonWeb":
{
"enable": false,
"authority": "https://yourdomain.com",
"recaptchaSiteKey": "",
"recaptchaSecretKey": "",
"adminUser": "mailadmin",
"adminPassword": "",
"sslCertificateFile": "",
"sslCertificatePrivateKeyFile": "",
"sslCertificatePassword": ""
}
}