forked from pryv/open-pryv.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.hjson
54 lines (54 loc) · 1.52 KB
/
config.hjson
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
{
// Logging settings
logs: {
prefix: '',
console: { active: true, level: 'info', colorize: true },
file: { active: false },
},
email: {
message: {
// Sender name and email address
from: {
name: "Your Email address",
address: "[email protected]"
}
},
preview: false, // If true, it will open a webpage with a preview
send: true // Activate/deactivate the actual sending (prod/test env)
},
// Alternative transport, using the sendmail command of the machine
sendmail: {
// Set to false to use SMTP transport
active: true,
// Path of the sendmail command on the machine
path: '/usr/sbin/sendmail'
},
// SMTP will be used if sendmail:active is false,
smtp: {
// SMTP host of the external email delivery service
host: "smtp.email.service",
// SMTP port
port: 587,
// Credentials to authenticate against SMTP server
auth: {
user: "[email protected]",
pass: "YourPassword"
}
},
http: {
// IP address on which the mailing server is listening
ip: "127.0.0.1",
// Port on which the mailing server is listening
port: 9000,
// Each sendmail request should contain authorization header that
// matches this key, used to prevent abuse.
// No need to change if ip adress is not facing the internet.
auth: "SHOULD_MATCH_SERVICE_MAIL",
},
templates: {
// Root folder where the templates are stored
root: './templates/',
// Default language for templates
defaultLang: 'en'
}
}