{"id":29703380,"url":"https://github.com/thedumbtechguy/ansible-role-ssmtp","last_synced_at":"2026-02-05T21:03:32.872Z","repository":{"id":149738105,"uuid":"89001647","full_name":"thedumbtechguy/ansible-role-ssmtp","owner":"thedumbtechguy","description":"An ansible role to install and configure SSMTP","archived":false,"fork":false,"pushed_at":"2017-05-12T13:44:37.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T13:52:18.847Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thedumbtechguy.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":"2017-04-21T16:07:20.000Z","updated_at":"2017-04-21T16:07:20.000Z","dependencies_parsed_at":"2023-05-05T21:32:14.905Z","dependency_job_id":null,"html_url":"https://github.com/thedumbtechguy/ansible-role-ssmtp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thedumbtechguy/ansible-role-ssmtp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbtechguy%2Fansible-role-ssmtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbtechguy%2Fansible-role-ssmtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbtechguy%2Fansible-role-ssmtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbtechguy%2Fansible-role-ssmtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thedumbtechguy","download_url":"https://codeload.github.com/thedumbtechguy/ansible-role-ssmtp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thedumbtechguy%2Fansible-role-ssmtp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29134244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T20:50:26.975Z","status":"ssl_error","status_checked_at":"2026-02-05T20:49:26.082Z","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-23T13:39:45.316Z","updated_at":"2026-02-05T21:03:30.489Z","avatar_url":"https://github.com/thedumbtechguy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role: ssmtp\n\nAn ansible role to install and configure ssmtp\n\n## Requirements\n\n\u003e This role has been tested on `Ubuntu 16.04` and `Ubuntu 16.10` only.\n\n## Variables\n\n- `ssmtp_smtp_server` - smtp server\n  - **Required**\n- `ssmtp_smtp_port` - smtp port\n  - Default: `25`\n- `ssmtp_use_tls` - use tls\n  - Default: `no`\n- `ssmtp_use_starttls` - use starttls\n  - Default: `no`\n\n- `ssmtp_auth_user` - authentication user\n  - **Required**\n- `ssmtp_auth_password` - authentication password\n  - **Required**\n- `ssmtp_auth_method` - authentication method\n  - Default: `LOGIN`\n\n- `ssmtp_sender_domain` - domain name of your sender addresses. e.g. gmail.com, company.tld.\n  - **Required**\n  \u003e **Note**: some smtp servers will reject emails if this domain is unknown e.g. mandrill.\n\n- `ssmtp_default_recipient` - address to redirect all emails sent to service accounts to. e.g. root. leave blank to disable.\n  - Default: `''`\n\n- `ssmtp_host_fqdn` - server hostname.\n  - Default: `'{{ ansible_fqdn }}`\n  \u003e **Note**: must be a fully qualified domain name or some smtp servers will reject the connection e.g. gmail.\n\n- `ssmtp_allow_sender_override` - if the 'From' header is set, it can be used.\n  - Default: `yes`\n\n- `ssmtp_sender_aliases` - list of local accounts and their sending alias\n  - Default: `[]`\n  - Example\n    ```yaml\n    ssmtp_sender_aliases:\n      - name: root\n        alias: aliased@company.tld\n      - name: admin\n        alias: admin.server2@company.tld\n    ```\n\n## Usage Example\n\n```yaml\n- hosts: all\n  vars:\n    ssmtp_smtp_server: smtp.gmail.com\n    ssmtp_smtp_port: 587\n    ssmtp_use_tls: yes\n    ssmtp_use_starttls: yes\n    ssmtp_auth_user: username\n    ssmtp_auth_password: password\n    ssmtp_sender_domain: gmail.com\n    ssmtp_default_recipient: username@gmail.com\n    ssmtp_allow_sender_override: no\n    ssmtp_sender_aliases:\n      - name: root\n        alias: 'root.{{ ansible_fqdn }}@company.tld'\n  roles:\n    - ssmtp\n```\n\n\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created by [TheDumbTechGuy](https://github.com/thedumbtechguy) ( [twitter](https://twitter.com/frostymarvelous) | [blog](https://thedumbtechguy.blogspot.com) | [galaxy](https://galaxy.ansible.com/thedumbtechguy/) )\n\n## Credits","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedumbtechguy%2Fansible-role-ssmtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthedumbtechguy%2Fansible-role-ssmtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthedumbtechguy%2Fansible-role-ssmtp/lists"}