{"id":13753191,"url":"https://github.com/geerlingguy/ansible-role-mailhog","last_synced_at":"2025-04-07T07:11:05.174Z","repository":{"id":24730488,"uuid":"28142727","full_name":"geerlingguy/ansible-role-mailhog","owner":"geerlingguy","description":"Ansible Role - MailHog for catching and viewing emails","archived":false,"fork":false,"pushed_at":"2025-01-31T04:23:18.000Z","size":70,"stargazers_count":66,"open_issues_count":1,"forks_count":40,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-31T05:09:06.288Z","etag":null,"topics":["ansible","catch","debug","development","email","local","mail","mailhog","role"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/geerlingguy/mailhog/","language":"Shell","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/geerlingguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"geerlingguy","patreon":"geerlingguy"}},"created_at":"2014-12-17T15:22:10.000Z","updated_at":"2025-02-26T21:18:36.000Z","dependencies_parsed_at":"2024-07-29T10:30:54.462Z","dependency_job_id":null,"html_url":"https://github.com/geerlingguy/ansible-role-mailhog","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-mailhog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-mailhog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-mailhog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geerlingguy%2Fansible-role-mailhog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geerlingguy","download_url":"https://codeload.github.com/geerlingguy/ansible-role-mailhog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608151,"owners_count":20965952,"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","catch","debug","development","email","local","mail","mailhog","role"],"created_at":"2024-08-03T09:01:18.089Z","updated_at":"2025-04-07T07:11:05.139Z","avatar_url":"https://github.com/geerlingguy.png","language":"Shell","funding_links":["https://github.com/sponsors/geerlingguy","https://patreon.com/geerlingguy"],"categories":["role"],"sub_categories":[],"readme":"# Ansible Role: MailHog\n\n[![CI](https://github.com/geerlingguy/ansible-role-mailhog/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-mailhog/actions/workflows/ci.yml)\n\nInstalls [MailHog](https://github.com/mailhog/MailHog), a Go-based SMTP server and web UI/API for displaying captured emails, on RedHat or Debian-based linux systems.\n\nAlso installs [mhsendmail](https://github.com/mailhog/mhsendmail) so you can redirect system mail to MailHog's built-in SMTP server.\n\nIf you're using PHP and would like to route all PHP email into MailHog, you will need to update the `sendmail_path` configuration option in php.ini, like so:\n\n    sendmail_path = \"{{ mailhog_install_dir }}/mhsendmail\"\n\n(Replace `{{ mailhog_install_dir }}` with the actual MailHog installation directory, which is `/opt/mailhog` by default—e.g. `/opt/mailhog/mhsendmail`).\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n    mailhog_install_dir: /opt/mailhog\n\nThe directory into which the MailHog binary will be installed.\n\n    mailhog_version: 1.0.0\n\nThe version of MailHog that will be installed. You can find the latest version by visiting the [MailHog project releases page](https://github.com/mailhog/MailHog/releases).\n\n    mailhog_binary_url: \"https://github.com/mailhog/MailHog/releases/download/v{{ mailhog_version }}/MailHog_linux_amd64\"\n\nThe MailHog binary that will be installed. You can find the latest version or a 32-bit version by visiting the [MailHog project releases page](https://github.com/mailhog/MailHog/releases).\n\n    mailhog_daemonize_bin_path: /usr/sbin/daemonize\n\nThe path to `daemonize`, which is used to launch MailHog via init script.\n\n    mhsendmail_version: 0.2.0\n    \nThe version of the mhsendmail binary that will be installed. You can find the latest version by visiting the [mhsendmail project releases page](https://github.com/mailhog/mhsendmail/releases).\n\n    mhsendmail_binary_url: \"https://github.com/mailhog/mhsendmail/releases/download/v{{ mhsendmail_version }}/mhsendmail_linux_amd64\"\n\nThe mhsendmail binary that will be installed. You can find the latest version or a 32-bit version by visiting the [mhsendmail project releases page](https://github.com/mailhog/mhsendmail/releases).\n\n## Dependencies\n\n  - geerlingguy.daemonize\n\n## Example Playbook\n\n    - hosts: servers\n      roles:\n        - { role: geerlingguy.mailhog }\n\n## License\n\nMIT / BSD\n\n## Author Information\n\nThis role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-mailhog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeerlingguy%2Fansible-role-mailhog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeerlingguy%2Fansible-role-mailhog/lists"}