|0.2.3||Nov 21, 2022|
|0.1.0||Dec 27, 2021|
#63 in Email
24 downloads per month
Forward emails from verified domains on SES to SES
A RUST service that uses the inbound/outbound capabilities of AWS SES to forward emails from verified domains to an SES
verified email address.
For example, if an email is sent from
firstname.lastname@example.org is forwarded to a verified email
privatemail also add capability to
blacklist certain emails from coming to you.
Example email and how the
Reply-To headers are set:
From: John Doe <email@example.com> Reply-To: firstname.lastname@example.org <html>Email body</html> received by -- <email@example.com>
- Verify SES Domain on SES
- Verify SES Email forwarding
- Terraform binaries
- AWS SES Limits
- Generate Terraform cloud tokens
- Edit the
terraform/variables.tffile accordingly to suit your needs.
- If you're using S3 as your backend, you'll need to make changes to
- Test build locally.
$ cargo build $ cargo test
Provision Infrastructure with Terraform
- 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
$ cd terraform $ terraform init $ terraform validate -json $ terraform plan $ terraform apply
Alternately, you can run the
release.sh and it builds your code and provisions your infrastructure.
We appreciate your contributions; all PRs are welcomed. Please see CONTRIBUTING.md for more information.
$ bash release.sh
CI / CD (GitHub Actions)
Set up the following GitHub secrets for actions worfklows to work properly
FROM_EMAIL TF_API_TOKEN TO_EMAIL AWS_REGION BLACK_LIST
All deployments occur via GitHub Actions.
The scripts and documentation in this project are released under the MIT License