{"id":39076165,"url":"https://github.com/cloud-gov/deploy-postfix","last_synced_at":"2026-01-17T18:26:49.989Z","repository":{"id":38025245,"uuid":"128223738","full_name":"cloud-gov/deploy-postfix","owner":"cloud-gov","description":"Bosh deployment manifest and deployment pipeline for the cloud.gov Postfix mail relay deployment","archived":false,"fork":false,"pushed_at":"2025-08-04T20:09:14.000Z","size":89,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-04T22:56:20.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-gov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-04-05T15:10:46.000Z","updated_at":"2025-08-04T20:09:17.000Z","dependencies_parsed_at":"2024-01-17T00:42:28.089Z","dependency_job_id":"e11995a1-38c0-4124-93fa-bdec58e86ddc","html_url":"https://github.com/cloud-gov/deploy-postfix","commit_stats":null,"previous_names":["cloud-gov/deploy-postfix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloud-gov/deploy-postfix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fdeploy-postfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fdeploy-postfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fdeploy-postfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fdeploy-postfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-gov","download_url":"https://codeload.github.com/cloud-gov/deploy-postfix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-gov%2Fdeploy-postfix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28515475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T17:57:59.192Z","status":"ssl_error","status_checked_at":"2026-01-17T17:57:52.527Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T18:26:49.405Z","updated_at":"2026-01-17T18:26:49.968Z","avatar_url":"https://github.com/cloud-gov.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloud.gov Postfix Deployment\n\nThis repo contains the source for the Bosh deployment manifest and deployment pipeline for the cloud.gov Postfix deployment.\n\n## Rationale \n\ncloud.gov requires a mail relay to send outbound mails from internal tooling.\n\n## Architecture\n\nThis pipeline will deploy:\n\n* Production\n  * 1 mail relay\n    * cg-provision will have allocated an IP (terraform_outputs.production_smtp_private_ip) and set up security groups with terraform.\n    * The postfix deployment will be deployed to the tooling bosh.\n    * Services will contact the postfix server and auth using SASL.\n    * Mail will be relayed to the configured mail relay.\n\n## Deployment\n\n### cloud.gov\n\n1. Create `production-postfix.yml`:\n\n   ```shell\n   cp bosh/secrets.example.yml /tmp/production-postfix.yml\n   bosh int bosh/manifest.yml --vars-store /tmp/production-postfix.yml \u003e /dev/null\n   ```\n\n   Replace all `XXX`es in `/tmp/production-postfix.yml` with proper values.  Then encrypt that file and upload it to S3.\n\n1. Create cg-deploy-postfix.yml: copy ci/concourse-defaults.yml to cg-deploy-postfix.yml, edit the file and uncomment all the lines with `XXX`es in them, fill in proper values.  Be sure to upload the file to the concourse secrets bucket so that others can use it.\n1. The pipeline under `ci/pipeline.yml` deploys to production:\n\n   ```shell\n   fly -t cloud-gov-govcloud sp -p deploy-postfix -c ci/pipeline.yml -l /tmp/cg-deploy-postfix.yml\n   ```\n\n### bosh-lite\n\nTo test the deployment out, you should be able to do this:\n\n```shell\nbosh int bosh/manifest.yml --vars-store /tmp/pfvars.yml \u003e /tmp/pfmanifest.yml\nbosh update-cloud-config bosh-lite-cloud-config.yml\nbosh deploy -d postfix /tmp/pfmanifest.yml -l bosh/varsfiles/bosh-lite.yml -l /tmp/pfvars.yml\n```\n\nThis assumes that the \u003chttps://github.com/cloud-gov/postfix-boshrelease\u003e release has been created and uploaded already.  If you do not have that, then you will probably need to clone that repo, cd into it, and then `bosh create-release ; bosh upload-release` to get it there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-gov%2Fdeploy-postfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-gov%2Fdeploy-postfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-gov%2Fdeploy-postfix/lists"}