-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.toml
43 lines (38 loc) · 1.49 KB
/
config.example.toml
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
domain = "proxyemail.example.com"
private_address = "[email protected]"
outbound_address = "[email protected]"
aws_region = "us-east-1"
[bucket]
# name is the name of your s3 bucket used for storing email messages
name = "proxyemail"
# msg_prefix is where incoming messages are stored
msg_prefix = "/email"
# forward_meta_prefix is where lambda-email stores meta data required for
# replying to messages properly
forward_meta_prefix = "/forward-metadata"
# outbox_prefix is where pending outbound email are stored
outbox_prefix = "/outbox"
[[route]]
# When we get an email from [email protected] addressed to
# [email protected], invoke the email_to_sms sns topic
src = "__PRIVATE_ADDRESS__"
dst = "[email protected]"
sns = "arn:aws:sns:us-east-1:123456789012:email_to_sms"
forward = false
[[route]]
# when we get any email addressed to [email protected]
# ivoke the process_mailinglist sns topic and also forward it to
# the private address
src = "/.*/"
dst = "[email protected]"
sns = "arn:aws:sns:us-east-1:123456789012:process_mailinglist"
forward = true
[[route]]
# send any emails addressed to [email protected] to
# our blackhole sns topic. Don't forward them. Include
# suspect messages for forwarding.
src = "/.*/"
dst = "[email protected]"
sns = "arn:aws:sns:us-east-1:123456789012:email_blackhole"
forward = false
allow_suspect_messages = true