https://haraka.github.io/README.html
- You are using GCP
- You are using Sendgrid as your upstream mail relay.
- You acknowledge that the only check for relaying is that the client is connecting from 10.0.0.0/8
bosh upload-stemcell https://bosh.io/d/stemcells/bosh-google-kvm-ubuntu-trusty-go_agent
git clone https://github.com/FINkit/haraka-boshrelease.git
cd haraka-boshrelease
git submodule update -i
The haraka-secrets.yml
file is excluded from git, so must be created manually.
The contents of the file should look like this:
haraka_smtp_forward_auth_user: username
haraka_smtp_forward_auth_pass: password
Replace the username and password required for the destination SMTP relay as required.
bosh create-release
bosh upload-release
bosh deploy -d bosh-haraka --recreate --vars-file=haraka-secrets.yml haraka.yml
This release will need to reach the sendgrid (or some other smarthost), which will require the appropriate firewall rules to be configured. See terraform/README.md
for a terraform module that can be included in your own terraform scripts.