{"id":18100327,"url":"https://github.com/infertux/chef-msmtp","last_synced_at":"2025-08-01T13:34:00.805Z","repository":{"id":136327170,"uuid":"97261538","full_name":"infertux/chef-msmtp","owner":"infertux","description":"Chef cookbook for msmtp","archived":false,"fork":false,"pushed_at":"2019-08-22T14:47:49.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T10:56:00.504Z","etag":null,"topics":["chef","chef-cookbook","msmtp","smtp"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infertux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2017-07-14T18:19:37.000Z","updated_at":"2019-08-22T14:47:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"52935aa2-aebd-4722-a762-d4a81a35c99e","html_url":"https://github.com/infertux/chef-msmtp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fchef-msmtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fchef-msmtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fchef-msmtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infertux%2Fchef-msmtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infertux","download_url":"https://codeload.github.com/infertux/chef-msmtp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436145,"owners_count":20938532,"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":["chef","chef-cookbook","msmtp","smtp"],"created_at":"2024-10-31T21:13:52.046Z","updated_at":"2025-04-06T04:45:46.403Z","avatar_url":"https://github.com/infertux.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"msmtp cookbook\n================\n[![Cookbook](https://img.shields.io/cookbook/v/msmtp.svg)](https://supermarket.getchef.com/cookbooks/msmtp)\n[![Build Status](https://travis-ci.org/infertux/chef-msmtp.svg?branch=master)](https://travis-ci.org/infertux/chef-msmtp)\n\nThe msmtp cookbook installs the SMTP client msmtp.\n\n## Platform Support\n\n* Debian\n\n\n## Attributes\n\n* node['msmtp']['host'] - String. SMTP smarthost.\n* node['msmtp']['port'] - Integer. override the mail submission port instead of SMTP port 25.\n* node['msmtp']['auth'] - String. authentication enabled. Valid configurations \"on\", \"off\".\n* node['msmtp']['user'] - String. user to authenticate as to SMTP server.\n* node['msmtp']['password'] - String. This stores the password directly in the file. It's generally not recommended to store passwords in plain text files.\n* node['msmtp']['from'] - String. Envelope-from address.\n* node['msmtp']['aliases'] - Hash.  List of forwarding email address.\n\n\n## Recipes\n\n* `msmtp::default` - Installs msmtp-mta package, configures `/etc/msmtprc` and `/etc/aliases.msmtp`.\n\n## Usage\n\n### `msmtp::default` recipe\n\nInclude the `msmtp::default` in your run_list and in your wrapper cookbook ensure that you have the appropriate attributes configured.\n\n```\n    \"msmtp\": {\n      \"host\": \"localhost\",\n      \"port\": 587,\n      \"auth\": \"on\", # on|off\n      \"user\": \"mailer\",\n      \"password\": \"changeme\",\n      \"from\": \"mailer@localhost\",\n      \"aliases\": {\n        \"root\": \"admin@example.net\"\n      }\n    }\n```\n\nLicense\n-------\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfertux%2Fchef-msmtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfertux%2Fchef-msmtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfertux%2Fchef-msmtp/lists"}