{"id":21614783,"url":"https://github.com/eea/eea.docker.postfix","last_synced_at":"2025-04-11T06:53:33.713Z","repository":{"id":33040055,"uuid":"36675869","full_name":"eea/eea.docker.postfix","owner":"eea","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-24T10:25:17.000Z","size":35,"stargazers_count":26,"open_issues_count":3,"forks_count":16,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-03-25T04:42:07.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/eea.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-01T17:12:18.000Z","updated_at":"2025-03-20T05:56:46.000Z","dependencies_parsed_at":"2024-07-24T12:14:49.327Z","dependency_job_id":null,"html_url":"https://github.com/eea/eea.docker.postfix","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.postfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.postfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.postfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Feea.docker.postfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/eea.docker.postfix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358555,"owners_count":21090402,"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":[],"created_at":"2024-11-24T22:09:20.591Z","updated_at":"2025-04-11T06:53:33.691Z","avatar_url":"https://github.com/eea.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Postfix SMTP only with relay support\n\nPostfix SMTP only Docker image with SMTP relay support.\n\n - Rocky Linux: **9.3**\n - Postfix: **3.5.9**\n - Expose: **25**\n\n## Supported tags and respective Dockerfile links\n\n\u003e [!IMPORTANT]\n\u003e Starting with the release **3.5-1.0**, the `MTP_USER` and `MTP_PASS` variables became mandatory, as without them, emails are rejected as **SPAM** and are not sent\n\n   \n  - `:latest` [*Dockerfile*](https://github.com/eea/eea.docker.postfix/blob/master/Dockerfile) - Rocky Linux: **9.3** Postfix: **3.5.9**\n\n  - `:3.5-1.0` [*Dockerfile*](https://github.com/eea/eea.docker.postfix/blob/master/Dockerfile) - Rocky Linux: **9.3** Postfix: **3.5.9**\n\n  - `:2.10-3.8` [*Dockerfile*](https://github.com/eea/eea.docker.postfix/blob/2.10-3.8/Dockerfile) - CentOS: **7** Postfix: **2.10.1**\n\nSee [older versions](https://github.com/eea/eea.docker.postfix/releases)\n\n\n## Base docker image\n\n - [hub.docker.com](https://hub.docker.com/r/eeacms/postfix)\n\n\n## Source code\n\n  - [github.com](http://github.com/eea/eea.docker.postfix)\n\n\n## Usage\n\nStart postfix (to send emails using postfix within container)\n\n    $ docker run --rm --name=postfix \\\n                 -e  MTP_HOST=foo.com \\\n             eeacms/postfix\n\nor start postfix (to send emails by using a remote email server)\n\n    $ docker run --rm --name=postfix \\\n                 -e MTP_HOST=foo.com \\\n                 -e MTP_RELAY=smtp.gmail.com \\\n                 -e MTP_USER=foo \\\n                 -e MTP_PASS=secret \\\n             eeacms/postfix\n\nStart sending emails:\n\n    $ docker run -it --rm --link=postfix busybox sh\n      $ telnet postfix 25\n      HELO foo.com\n      MAIL FROM: bar@foo.com\n      RCPT TO: foo@bar.com\n      DATA\n      subject: Test\n      Testing 1, 2, 3\n      .\n      quit\n\n\n## Supported environment variables\n\n* `MTP_HOST` The `myhostname` parameter specifies the internet hostname of this mail system\n* `MTP_DESTINATION` The `mydestination` parameter specifies the list of domains that this machine considers itself the final destination for.\n* `MTP_BANNER` The `smtpd_banner` parameter specifies the text that follows the 220 code in the SMTP server's greeting banner.\n* `MTP_RELAY` The `relayhost` parameter specifies the default host to send mail to when no entry is matched in the optional transport(5) table.\n* `MTP_RELAY_DOMAINS` The `relay_domains` parameter restricts what destinations this system will relay mail to.\n* `MTP_PORT` The `relayhost` port.\n* `MTP_USER` The user used to connect to the `relayhost`.\n* `MTP_PASS` The password used to connect to the `relayhost`.\n* `MTP_INTERFACES` The `inet_interfaces` parameter specifies the network interface addresses that this mail system receives mail on.\n* `MTP_PROTOCOLS` The `inet_protocols` parameter specifies the network interface protocol. Can be set to `all`, `ipv4`,`ipv6` or `ipv4,ipv6`. The default value is `all`.\n* `MTP_MS_SIZE_LIMIT` If set, will configure email size limit.\n* `SMTPD_TLS_SECURITY_LEVEL` The SMTP TLS security level for the Postfix SMTP server. Default value: none. Possible values: none(TLS will not be used), may( Opportunistic TLS), encrypt(Mandatory TLS encryption)\n* `SMTP_TLS_SECURITY_LEVEL` The default SMTP TLS security level for the Postfix SMTP client. Default value: may. Possible values: none(TLS will not be used), may( Opportunistic TLS), encrypt(Mandatory TLS encryption)\n\n\n## Copyright and license\n\nThe Initial Owner of the Original Code is European Environment Agency (EEA).\nAll Rights Reserved.\n\nThe Original Code is free software;\nyou can redistribute it and/or modify it under the terms of the GNU\nGeneral Public License as published by the Free Software Foundation;\neither version 2 of the License, or (at your option) any later\nversion.\n\n\n## Funding\n\n[European Environment Agency (EU)](http://eea.europa.eu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.postfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Feea.docker.postfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Feea.docker.postfix/lists"}