{"id":30013254,"url":"https://github.com/cesnet/ansible-role-postfix","last_synced_at":"2026-02-09T03:02:07.397Z","repository":{"id":304644027,"uuid":"1019431724","full_name":"CESNET/ansible-role-postfix","owner":"CESNET","description":"Ansible role cesnet.postfix for installing Postfix MTA","archived":false,"fork":false,"pushed_at":"2025-08-18T08:16:57.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-18T08:28:02.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","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/CESNET.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,"zenodo":null}},"created_at":"2025-07-14T10:09:54.000Z","updated_at":"2025-08-18T08:17:00.000Z","dependencies_parsed_at":"2025-07-14T13:48:25.794Z","dependency_job_id":"c8f096cc-4192-4a74-9964-e13eeceeac4b","html_url":"https://github.com/CESNET/ansible-role-postfix","commit_stats":null,"previous_names":["cesnet/ansible-role-postfix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CESNET/ansible-role-postfix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-postfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-postfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-postfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-postfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CESNET","download_url":"https://codeload.github.com/CESNET/ansible-role-postfix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-postfix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29255376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T01:52:29.835Z","status":"online","status_checked_at":"2026-02-09T02:00:09.501Z","response_time":56,"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":[],"created_at":"2025-08-05T15:58:44.863Z","updated_at":"2026-02-09T03:02:07.392Z","avatar_url":"https://github.com/CESNET.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"postfix\n==========\n\nAnsible role for install MTA Postfix on Debian 11+. \n\nRole vars:\n-------------\n\n| Variable                                   | Description |\n|--------------------------------------------|-------------|\n| `postfix_myhostname`                       | Fully Qualified Domain Name (FQDN) used by Postfix to identify itself in SMTP communication. |\n| `postfix_mydomain`                         | Domain name of the server; usually the part after the first dot in `myhostname`. |\n| `postfix_myorigin`                         | Domain appended to outgoing mail without a domain; typically `{{ postfix_mydomain }}`. |\n| `postfix_relayhost`                        | Optional SMTP relay through which all outgoing mail is sent (e.g., `[smtp.example.com]:587`). |\n| `use_certs`                                | If `true`, enables TLS certificates for securing SMTP connections. |\n| `use_login`                                | If `true`, enables SMTP authentication with username and password. |\n| `postfix_smtp_tls_cert_file`               | Path to the TLS certificate file used by Postfix. |\n| `postfix_smtp_tls_key_file`                | Path to the private key file used by Postfix. |\n| `postfix_smtp_tls_security_level`          | TLS security mode for SMTP connections (e.g., `encrypt`, `may`). |\n| `postfix_smtp_password`                    | Password for SMTP authentication. |\n| `postfix_smtp_username`                    | Username for SMTP authentication. |\n| `postfix_sasl_passwd`                      | SASL credentials for relay host in format: `relayhost username:password`. Built automatically as `{{ postfix_relayhost }} {{ postfix_smtp_username }}:{{ postfix_smtp_password }}`. |\n| `postfix_canonical_name`                   | Name used for canonical address mapping (rewriting sender name). |\n| `postfix_canonical_email`                  | Email address used for canonical address mapping (rewriting sender email). |\n| `postfix_generic_name`                     | Name used for generic address mapping (rewriting recipient name). |\n| `postfix_generic_email`                    | Email address used for generic address mapping (rewriting recipient email). |\n| `postfix_for_docker_bridge_network_name`   | Name of the Docker bridge network Postfix should bind to (if running inside Docker). |\n| `postfix_testing_email`                    | Email for sending testing email. |\n\n\n\n## Simple Example Playbook\n\n```yaml\n- hosts: all\n  roles:\n    - cesnet.postfix\n```\n\n## Example of More Complex Playbook\n\n```yaml\n- hosts:\n    - \"some-random-name.my-cloud.org\"\n  vars:\n    postfix_myhostname: \"mail.example.com\"\n    postfix_mydomain: \"example.com\"\n    postfix_myorigin: \"{{ postfix_mydomain }}\"\n    postfix_relayhost: \"[smtp.relay.com]:587\"\n    use_certs: true\n    use_login: true\n    postfix_smtp_tls_cert_file: \"/etc/ssl/certs/mail.crt\"\n    postfix_smtp_tls_key_file: \"/etc/ssl/private/mail.key\"\n    postfix_smtp_tls_security_level: \"encrypt\"\n    postfix_smtp_username: \"relayuser_example\"\n    postfix_smtp_password: \"supersecret\"\n    postfix_canonical_name: \"Mail Server\"\n    postfix_canonical_email: \"noreply@example.com\"\n    postfix_generic_name: \"Postfix Test\"\n    postfix_generic_email: \"test@example.com\"\n    postfix_for_docker_bridge_network_name: \"postfix_network\"\n    postfix_sasl_passwd: \"{{ postfix_relayhost }} {{ postfix_smtp_username }}:{{ postfix_smtp_password }}\"   \n    postfix_testing_email: testint@email.com\n  roles:\n    - cesnet.postfix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fansible-role-postfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesnet%2Fansible-role-postfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fansible-role-postfix/lists"}