{"id":28555897,"url":"https://github.com/roots/ansible-role-mailpit","last_synced_at":"2025-07-02T22:32:02.731Z","repository":{"id":139967074,"uuid":"603504512","full_name":"roots/ansible-role-mailpit","owner":"roots","description":"Ansible Role - Mailpit email testing for developers","archived":false,"fork":false,"pushed_at":"2024-11-13T10:28:39.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-29T20:41:50.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","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/roots.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"roots"}},"created_at":"2023-02-18T18:02:25.000Z","updated_at":"2024-11-13T10:28:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"0538ac81-6a27-4e46-b1f7-9f88eb44f453","html_url":"https://github.com/roots/ansible-role-mailpit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/roots/ansible-role-mailpit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fansible-role-mailpit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fansible-role-mailpit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fansible-role-mailpit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fansible-role-mailpit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roots","download_url":"https://codeload.github.com/roots/ansible-role-mailpit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roots%2Fansible-role-mailpit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263226073,"owners_count":23433630,"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":[],"created_at":"2025-06-10T06:08:14.940Z","updated_at":"2025-07-02T22:32:02.722Z","avatar_url":"https://github.com/roots.png","language":"Jinja","funding_links":["https://github.com/sponsors/roots"],"categories":[],"sub_categories":[],"readme":"# Ansible Role: Mailpit\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"LICENSE.md\"\u003e\n    \u003cimg alt=\"MIT License\" src=\"https://img.shields.io/github/license/roots/ansible-role-mailpit?color=%23525ddc\u0026style=flat-square\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/roots/ansible-role-mailpit/releases\"\u003e\n    \u003cimg alt=\"Release\" src=\"https://img.shields.io/github/release/roots/ansible-role-mailpit.svg?style=flat-square\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/roots/ansible-role-mailpit/actions\"\u003e\n    \u003cimg alt=\"Build Status\" src=\"https://img.shields.io/github/actions/workflow/status/roots/ansible-role-mailpit/ci.yml?branch=main\u0026style=flat-square\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://twitter.com/rootswp\"\u003e\n    \u003cimg alt=\"Follow Roots\" src=\"https://img.shields.io/twitter/follow/rootswp.svg?style=flat-square\u0026color=1da1f2\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nInstalls [Mailpit](https://github.com/axllent/mailpit), an email testing tool for developers, on RedHat or Debian-based linux systems.\nMailpit acts as both an SMTP server, and provides a web interface to view all captured emails. Mailpit is inspired by MailHog, but much, much faster.\n\nThis role is based on https://github.com/geerlingguy/ansible-role-mailhog\n\nIf you're using PHP and would like to route all PHP email into Mailpit, you will need to update the `sendmail_path` configuration option in php.ini, like so:\n\n```yaml\nsendmail_path = \"{{ mailpit_install_dir }}/mailpit sendmail\"\n```\n\n## Requirements\n\nA Debian-based (eg: Ubuntu) or RedHat system running systemd.\n\n## Role Variables\n\nAvailable variables are listed below, along with default values (see `defaults/main.yml`):\n\n```yaml\nmailpit_install_dir: /opt/mailpit\n```\n\nThe directory into which the MailHog binary will be installed.\n\n```yaml\nmailpit_version: 1.3.8\n```\n\nThe version of Mailpit that will be installed. You can find the latest version by visiting the [Mailpit project releases page](https://github.com/axllent/mailpit/releases).\n\n```yaml\nmailpit_release_url: \"https://github.com/axllent/mailpit/releases/download/v{{ mailpit_version }}/mailhog-linux-amd64\"\n```\n\n## Example Playbook\n\n```yaml\n- hosts: servers\n  roles:\n    - { role: roots.mailpit }\n```\n\n## Community\n\nKeep track of development and community news.\n\n- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)\n- Participate on the [Roots Discourse](https://discourse.roots.io/)\n- Follow [@rootswp on Twitter](https://twitter.com/rootswp)\n- Read and subscribe to the [Roots Blog](https://roots.io/blog/)\n- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froots%2Fansible-role-mailpit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froots%2Fansible-role-mailpit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froots%2Fansible-role-mailpit/lists"}