{"id":18698068,"url":"https://github.com/cloudposse-archives/postfix","last_synced_at":"2025-04-12T07:32:41.254Z","repository":{"id":46235203,"uuid":"48427453","full_name":"cloudposse-archives/postfix","owner":"cloudposse-archives","description":"Dockerized Postfix with SASL SMTP Relay Support","archived":false,"fork":false,"pushed_at":"2023-12-15T17:40:47.000Z","size":15,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-26T03:02:19.901Z","etag":null,"topics":["dockerfile","kubernetes","mailgun","postfix","relay","sasl","smtp","smtp-server"],"latest_commit_sha":null,"homepage":"https://cloudposse.com/accelerate","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/cloudposse-archives.png","metadata":{"funding":{"github":"cloudposse"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-22T11:06:02.000Z","updated_at":"2023-12-15T17:43:36.000Z","dependencies_parsed_at":"2024-11-07T11:32:20.953Z","dependency_job_id":"20451745-b876-4a88-a25a-4b896739ad68","html_url":"https://github.com/cloudposse-archives/postfix","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudposse-archives%2Fpostfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudposse-archives%2Fpostfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudposse-archives%2Fpostfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudposse-archives%2Fpostfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudposse-archives","download_url":"https://codeload.github.com/cloudposse-archives/postfix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248534271,"owners_count":21120282,"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","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":["dockerfile","kubernetes","mailgun","postfix","relay","sasl","smtp","smtp-server"],"created_at":"2024-11-07T11:26:51.326Z","updated_at":"2025-04-12T07:32:41.249Z","avatar_url":"https://github.com/cloudposse-archives.png","language":"Shell","funding_links":["https://github.com/sponsors/cloudposse"],"categories":[],"sub_categories":[],"readme":"# postfix [![Travis](https://img.shields.io/travis/cloudposse/postfix.svg)]()\n\nThis is project implements as a docker container a postfix mail server. It supports a configurable hostname, trusted hosts, proper\nshutdown handling and mail relay (e.g. to mailgun).\n\n## Notes\n\nBy default, connected rfc1918 networks are detected and allowed. Local networks \n(127.0.0.1, ::1) are also allowed.\n\nYou can optionally enable the Carrier Grade NAT, RFC6598 (100.64.0.0/10).  \nRFC1918 is still the default.  RFC6598 does not include the RFC1918 subnets, because\nCGN is not meant to be used at the same time as private subnets.  If you really want \nboth, you'll need to override the entrypoint to include both arguments.\n\n## Syslog\n\nRsyslog is started automatically and sends logs to stdout\n\n## Suggested Volumes\n\n  * `/var/spool/postfix` is the spool directory. Its also where postfix chroots to by default.\n  * `/etc/postfix` is the configuation directory\n  \n## Configuration\n\nYou can customize the image behavior using environmental variables or entrypoint\narguments.\n\n\n| Enviromental Variable(s)                                | Entrypoint Option                                                                                      | Description                                                                              |\n|---------------------------------------------------------|--------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|\n| (use --hostname)                                        | --mail-name                                                                                            | Mail name to use (appears in mail headers). Defaults to hostname                         |\n| RELAYHOST=\"[relay hostname]                             | --relayhost []                                                                                         | The host to relay mail to.                                                               |\n| TRUST=\"local\" or TRUST_LOCAL=\"0\"                        | --trust-local                                                                                          | Trust addresses on the lo interface. Enabled by default                                  |\n| TRUST=\"connected-rfc1918\" or TRUST_CONNECTED_RFC=\"1\"    | --trust-connected-rfc1918                                                                              | Trust all locally connected rfc1918 subnets. Enabled by default                          |\n| TRUST=\"connected\" or TRUST_CONNECTED=\"1\"                | --trust-connected                                                                                      | Trust all addresses connected (excluding IPv6 local-link addresses). Disabled by default |\n| TRUST=\"rfc1918\" or TRUST_RFC1918=\"1\"                    | --trust-rfc1918                                                                                        | Trust all rfc1918 address. Disabled by default                                           |\n| TRUST=\"rfc6598\" or TRUST_RFC6598=\"1\"                    | --trust-rfc6598                                                                                        | Trust rfc6598 address.   This doesn't include RFC1918.  Disabled by default              |\n| TRUST_LLA=\"1\"                                           | --trust-lla                                                                                            | Trust the fe80::/64 IPv6 subnet. Disabled by default                                     |\n| TRUST_SUBNETS=\"[space separated list of subnets]\"       | --trust-subnet []                                                                                      | Trust the specified subnet (IPv4 and IPv6 supported). Disabled by default                |\n| TRUST_INTERFACES=\"[space separated list of interfaces]\" | --trust-interface []                                                                                   | Trust all network address on the interface (excluding IPv6 LLA). Disabled by default     |\n|                                                         | --skip-trust-*                                                                                         | `local`, `connected-rfc1918`, `connected`, `rfc1918`, or `lla` to skip trusting it.      |\n|                                                         | --skip-all                                                                                             | Disable/reset all trusts. Disabled by default                                            |\n\n\n# Development\n\n## Units tests\n\nRegexp unit tests can be executed by running\n\n`cd ./rootfs/`\n\n`./test_ip_regexps`\n\nAny output should be fixed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudposse-archives%2Fpostfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudposse-archives%2Fpostfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudposse-archives%2Fpostfix/lists"}