{"id":29357011,"url":"https://github.com/cesnet/ansible-role-sendmail-for-docker","last_synced_at":"2026-02-05T04:33:20.139Z","repository":{"id":139726088,"uuid":"374951205","full_name":"CESNET/ansible-role-sendmail-for-docker","owner":"CESNET","description":"Ansible role cesnet.sendmail_for_docker configuring Sendmail usable from Docker containers","archived":false,"fork":false,"pushed_at":"2026-01-26T18:53:29.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-01-27T06:37:52.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","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":"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-08T09:13:31.000Z","updated_at":"2026-01-26T18:53:33.000Z","dependencies_parsed_at":"2023-04-19T06:46:47.725Z","dependency_job_id":null,"html_url":"https://github.com/CESNET/ansible-role-sendmail-for-docker","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/CESNET/ansible-role-sendmail-for-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-sendmail-for-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-sendmail-for-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-sendmail-for-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-sendmail-for-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CESNET","download_url":"https://codeload.github.com/CESNET/ansible-role-sendmail-for-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CESNET%2Fansible-role-sendmail-for-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29111887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:44:17.043Z","status":"ssl_error","status_checked_at":"2026-02-05T03:44:12.077Z","response_time":65,"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":"2025-07-09T05:41:25.710Z","updated_at":"2026-02-05T04:33:20.131Z","avatar_url":"https://github.com/CESNET.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# cesnet.sendmail_for_docker\nAnsible role cesnet.sendmail_for_docker configuring Sendmail usable from Docker containers.\n\nIt installs sendmail MTA and configures it to listen on all IP addresses and to accept SMTP messages\ncoming from a specified Docker subnet.\n\nRole Variables\n--------------\n\n- **sendmail_for_docker_hostname** - the hostname to be set for the machine, it appears in the MIME headers in outgoing emails\n- **sendmail_for_docker_bridge_network_name** - the name of Docker bridge network that should be able to send emails, it is added to /etc/hosts, default is perun_net \n- **sendmail_for_docker_config** - arbitrary lines to be added to /etc/mail/sendmail.mc, default is empty\n\nExample Playbook\n----------------\n```yaml\n- hosts: all\n  roles:\n    - role: cesnet.sendmail_for_docker\n      vars:\n        sendmail_for_docker_hostname: my-server.example.org\n        sendmail_for_docker_bridge_network_name: perun_net\n        sendmail_for_docker_bridge_network_gateway: 192.168.0.1\n        sendmail_for_docker_config: |\n          dnl # define relay.muni.cz as relay receiving ESMTP protocol on TCP port 25 \n          define(`SMART_HOST', relay.muni.cz)dnl\n          define(`RELAY_MAILER',`esmtp')dnl\n          define(`ESMTP_MAILER_ARGS', `TCP $h 25')dnl\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fansible-role-sendmail-for-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcesnet%2Fansible-role-sendmail-for-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcesnet%2Fansible-role-sendmail-for-docker/lists"}