-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.example
37 lines (37 loc) · 1017 Bytes
/
config.json.example
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
{
"server": {
"credentials": {
"user": "smtpuser",
"password": "smtppassword"
}
},
"hooks": [
{
"comment": "Example configuration to forward to the Signal REST API (https://github.com/bbernhard/signal-cli-rest-api)",
"mailto": "me@example.local",
"accept": [
"^.*PASS.*$"
],
"deny": [
"^.*FAIL.*$"
],
"replace": {
"\n": "\\n",
"\r": "",
"\t": " "
},
"target": "http://signal-rest-api.example.local/v2/send",
"method": "POST",
"body": {
"message": "%%SUBJECT%%\n\n%%CONTENT%%",
"number": "+49123456789",
"recipients": [
"+49987654321"
]
},
"headers": {
"Content-Type": "application/json"
}
}
]
}