You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple, serverless email forwarder that uses [Amazon Simple Email Service (Amazon SES)][link-ses-doc]. It was built using the [Serverless][link-serverless] framework, which is used to create an [Amazon CloudFormation][link-cloudformation] stack that includes most of the necessary assets.
9
9
@@ -32,10 +32,6 @@ Rename `env.example` to `env.yaml`.
32
32
33
33
The `env.yaml` file provides the [Amazon SES Rule Set Name][link-ses-rules] that will be used by the [Serverless Framework][link-serverless] to create the Receipt Rule that will forward the email.
34
34
35
-
It is possible to specify different Rule Set Names for different stages, but
36
-
only one Rule Set can be active at a time. It is usually easier to use the same
37
-
Rule Set for every stage.
38
-
39
35
```yaml
40
36
# Prod Stage
41
37
prod:
@@ -48,6 +44,31 @@ default:
48
44
ruleSetName: default-rule-set
49
45
```
50
46
47
+
It is possible to specify different Rule Set Names for different stages, but
48
+
only one Rule Set can be active at a time. It is usually easier to use the same
49
+
Rule Set for every stage.
50
+
51
+
#### config.js
52
+
53
+
Rename `config.example` to `config.js`.
54
+
55
+
The `config.js` file specifies how emails should be forwarded.
56
+
57
+
```javascript
58
+
module.exports = {
59
+
default: {
60
+
fromEmail: 'no-reply@verified.domain',
61
+
forwardMapping: {
62
+
'@sentto.example': [
63
+
'address@forwardto.example',
64
+
],
65
+
},
66
+
},
67
+
};
68
+
```
69
+
70
+
It is possible to specify different configurations for different stages.
71
+
51
72
About
52
73
-----
53
74
@@ -106,7 +127,7 @@ Shout outs to these talented developers:
0 commit comments