privatemail
Forward emails from verified domains on SES to SES verified email
.
Description
A RUST service that uses the inbound/outbound capabilities of AWS SES to forwared emails from verfied domains to a verified email address.
For example, if an email is sent from john@doe.example
to achu@fufu.soup
is forwarded to a verified email onions@suya.io
.
This service processes the From
and Reply-To
headers set as follows:
From: John Doe
Reply-To: john@doe.example
Email body
received by --
Pre-requisites
- Verify SES Domain on SES
- Verify SES Email forwarding
- Terraform binaries
- AWS SES Limits
- Generate Terraform cloud tokens
Build
- Edit the
terraform/variables.tf
file accordingly to suit your needs. - If you're using S3 as your backend, you'll need to make changes to
terraform/main.tf
- Test build locally.
Infrastructure Provisioning
- Verify your domain and email address on SES before running this
- Create a terraform Token which has admin access to your AWS Account
- Build and generate your Lambda.zip in the terraform directory
- Provision infrastructure
Alternately, you can run the release.sh
and it builds your code and provisions your infrastructure.
Contributing
We would appreciate your contributions, all PRs are wellcome. Please see CONTRIBUTING.md for more information.
Deployment :rocket:
Local Deploy
CI Deployment
Set up the necessary keys on actions
All deployments occur via GitHub Actions.
License
The scripts and documentation in this project are released under the MIT License