{"id":25344552,"url":"https://github.com/bitmeal/docker-postfix-outbound","last_synced_at":"2025-08-05T11:10:58.300Z","repository":{"id":184005103,"uuid":"249956375","full_name":"bitmeal/docker-postfix-outbound","owner":"bitmeal","description":"postfix docker container for sending outbound mail: add signup, notification and verification mails to your app the easy way. configured for minimum rejection rate","archived":false,"fork":false,"pushed_at":"2020-03-25T21:45:47.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T15:21:17.549Z","etag":null,"topics":["docker","mailsender","mailserver","outbound-email","postfix","smtp","smtp-server"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitmeal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-03-25T11:08:19.000Z","updated_at":"2020-03-29T22:28:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f1073cd-91b7-4916-8e30-f60bb4a0defa","html_url":"https://github.com/bitmeal/docker-postfix-outbound","commit_stats":null,"previous_names":["bitmeal/docker-postfix-outbound"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitmeal/docker-postfix-outbound","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitmeal%2Fdocker-postfix-outbound","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitmeal%2Fdocker-postfix-outbound/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitmeal%2Fdocker-postfix-outbound/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitmeal%2Fdocker-postfix-outbound/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitmeal","download_url":"https://codeload.github.com/bitmeal/docker-postfix-outbound/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitmeal%2Fdocker-postfix-outbound/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268883500,"owners_count":24323148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","mailsender","mailserver","outbound-email","postfix","smtp","smtp-server"],"created_at":"2025-02-14T11:35:26.305Z","updated_at":"2025-08-05T11:10:58.237Z","avatar_url":"https://github.com/bitmeal.png","language":"Shell","readme":"# docker-postfix-outbound\nSimple docker container to use postfix for outbound mail sending. Intended for applications that need to send verification/notification mails, but do not need a full mailserver.\n\n## config\narguments for building:\n* `DOMAIN` set your domain while building\n\nuse following envvars when starting with `--env / -e`:\n* `SMTP_PORT`: defaults to 25\n* `ALLOW_SUBNET`: subnet in CIDR notation, to accept mails from. will default to the /24 subnet of the containers ip if not given\n* `MAIL_DOMAIN`: defaults to domain set while building container (if set and valid)\n* `MAIL_HOSTNAME`: optional, will be set to `MAIL_DOMAIN` if missing\n\n### transport maps\nMount a directory containing `transport-pcre` or `transport-hash` at `/postfix/conf/` to use the transport_map feature and control valid recipients or relaying of your server. The regular expression mapping in **`transport-pcre` takes precedence** over the `transport-hash`-map.\n\n#### pcre\nAllowing sending To, CC and BCC to everybody but `user\u003c+optional_string\u003e@host.com`:\n```\n/^user(\\+[^@]+)?@host\\.com/ discard:\n/.*/ :\n```\n\n#### hash\nAllowing all `@host.com`, error on `@example.com` and silently discarding all other mails:\n```\nhost.com :\nexample.com error: No example.com allowed\n* discard:\n```\n\n## run\n\nexample commandline:\n```bash\ndocker run -d --env SMTP_PORT=10025 --env MAIL_DOMAIN=my.domain --name postfix --network mynetwork --network-alias mailsender postfix\n```\n\n## build\n```bash\ndocker build --tag postfix .\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitmeal%2Fdocker-postfix-outbound","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitmeal%2Fdocker-postfix-outbound","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitmeal%2Fdocker-postfix-outbound/lists"}