Repository navigation
Expand file tree
/
Copy pathgateway.yaml
More file actions
81 lines (72 loc) · 1.68 KB
/
Copy pathgateway.yaml
File metadata and controls
81 lines (72 loc) · 1.68 KB
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
79
80
81
global:
executor:
max_inflight: 100
watchdog_timeout: 60
# rest -> smtp
rest_listener:
addr: ["localhost", 8001]
#cert: localhost.crt
#key: localhost.key
gc_interval: 5
gc_tx_ttl: 300
session_uri: http://localhost:8001
smtp_output:
# use_system_smtplib: false
hosts:
outbound:
# protocol: lmtp
ehlo_host: localhost
enable_bdat: true
# smtp -> rest
smtp_listener:
services:
- addr: [localhost, 1025]
endpoint: mx
sender: ingress
tag: smtp-mx
# these depend on our patches to aiosmtpd
#chunk_size: 16384
# enable_bdat: true
- addr: [localhost, 1587]
endpoint: msa
sender: submission
tag: smtp-msa
#chunk_size: 16384
# auth_secrets: secrets.json
# enable_bdat: true
#cert: localhost.crt
#key: localhost.key
- addr: [localhost, 1465]
endpoint: msa
sender: submission
tag: smtp-msa
smtps: true
#chunk_size: 16384
# auth_secrets: secrets.json
# enable_bdat: true
#cert: localhost.crt
#key: localhost.key
rest_output:
- name: mx
endpoint: http://localhost:8000/senders/ingress/transactions
verify: localhost.crt
rcpt_timeout: 300
data_timeout: 300
chunk_size: 1048576
refresh_interval: 5
- name: msa
endpoint: http://localhost:8000/senders/submission/transactions
verify: localhost.crt
rcpt_timeout: 300
data_timeout: 300
chunk_size: 1048576
refresh_interval: 5
logging:
version: 1
loggers:
hpack:
level: INFO
mail.log:
# aiosmtpd logs all downstream data from the client at DEBUG
# both commands and message contents :/
level: INFO