{"id":20810178,"url":"https://github.com/s-hamann/ansible-openwrt-msmtp","last_synced_at":"2025-10-09T16:03:09.529Z","repository":{"id":227121785,"uuid":"770502451","full_name":"s-hamann/ansible-openwrt-msmtp","owner":"s-hamann","description":"Ansible role for msmtp configuration on OpenWrt","archived":false,"fork":false,"pushed_at":"2024-03-11T17:40:23.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T14:29:20.254Z","etag":null,"topics":["ansible-role","msmtp","openwrt"],"latest_commit_sha":null,"homepage":"","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/s-hamann.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}},"created_at":"2024-03-11T17:00:36.000Z","updated_at":"2024-03-11T17:08:31.000Z","dependencies_parsed_at":"2024-03-11T19:03:25.267Z","dependency_job_id":null,"html_url":"https://github.com/s-hamann/ansible-openwrt-msmtp","commit_stats":null,"previous_names":["s-hamann/ansible-openwrt-msmtp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-hamann%2Fansible-openwrt-msmtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-hamann%2Fansible-openwrt-msmtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-hamann%2Fansible-openwrt-msmtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-hamann%2Fansible-openwrt-msmtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-hamann","download_url":"https://codeload.github.com/s-hamann/ansible-openwrt-msmtp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158416,"owners_count":20245652,"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":["ansible-role","msmtp","openwrt"],"created_at":"2024-11-17T20:20:16.064Z","updated_at":"2025-10-09T16:03:09.525Z","avatar_url":"https://github.com/s-hamann.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"OpenWrt msmtp\n=============\n\nThis role installs and configures [msmtp](https://marlam.de/msmtp/) on [OpenWrt](https://www.openwrt.org/) targets.\n\nRequirements\n------------\n\nThis role has no special requirements on the controller.\n\nIt does, however, require a working [Python](https://www.python.org/) installation on the target system or [gekmihesg's Ansible library for OpenWrt](https://github.com/gekmihesg/ansible-openwrt) on the Ansible controller.\n\nRole Variables\n--------------\n\n* `msmtp_default_config`  \n  Set default configuration settings for all accounts.\n  This variable must be a dictionary where the keys are msmtp configuration options and dictionary values are the respective configuration values.\n  Refer to the [msmtp documentation](https://marlam.de/msmtp/msmtp.html) for valid options.\n  Optional.\n* `msmtp_accounts`  \n  Set msmtp accounts and account-specific configuration.\n  This variable must be a dictionary where the keys are msmtp account names and the dictionary values are dictionaries, with the same semantics as `msmtp_default_config`.\n  Optional.\n* `msmtp_package`  \n  The name of the msmtp package to install.\n  Usually either `msmtp` or `msmtp-nossl`.\n  Defaults to `msmtp` if TLS is enabled in `msmtp_default_config` or `msmtp_accounts` and `msmtp-nossl` otherwise.\n* `msmtp_group`  \n  The name of a system group to have read access to the msmtp config file.\n  Only users in this group can use msmtp.\n  This role creates the group if it does not exist on the target system.\n  Optional.\n\nDependencies\n------------\n\nThis role does not depend on any specific roles.\n\nExample Configuration\n---------------------\n\nThe following is a short example for some of the configuration options this role provides:\n\n```yaml\nmsmtp_default_config:\n  tls: true\n  port: 587\nmsmtp_accounts:\n  default:\n    host: mail.oursite.example\n    port: 465\n    tls: true\n    tls_starttls: false\n    from: %U@oursite.example\n    syslog: LOG_MAIL\n  freemail:\n    host: smtp.freemail.example\n    from: joe_smith@freemail.example\n    auth: on\n    user: joe.smith\n    password: secret123\n```\n\nLicense\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-hamann%2Fansible-openwrt-msmtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-hamann%2Fansible-openwrt-msmtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-hamann%2Fansible-openwrt-msmtp/lists"}