-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexampleconfig.json
60 lines (60 loc) · 1.3 KB
/
exampleconfig.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
{
"destinations": {
"[email protected]": {
"type": "smtp",
"server": "smtp.example.org",
"port": 587,
"encryption": { "type": "starttls" },
"auth": {
"type": "plain",
"user": "[email protected]",
"password": "mysupersecretpassword"
},
"recipient": "[email protected]"
},
"execdst": {
"type": "exec",
"executable": "/usr/bin/my_executable",
"arguments": [ "some cli argument" ],
"environment": {
"SPECIAL_ENV_VAR": "Mom said I'm special"
}
}
},
"sources": {
"[email protected]": {
"type": "imap_poll",
"server": "imap.example.org",
"port": 993,
"interval": 30,
"keep": false,
"auth": {
"type": "login",
"user": "[email protected]",
"password": "42isnotasafepassword"
}
},
"[email protected]": {
"type": "imap_idle",
"server": "imap.example.org",
"port": 993,
"path": "INBOX",
"renewinterval": 1700,
"keep": true,
"auth": {
"type": "login",
"user": "[email protected]",
"password": "1337isProbablyAbitsafer!"
}
}
},
"mappings": {
"[email protected]": [ "[email protected]" ],
"[email protected]": [ "[email protected]" ]
},
"retryagent": {
"type": "filesystem",
"delay": 60,
"path": "/tmp/idlemail_retryagent"
}
}