{"id":44893905,"url":"https://github.com/aspettl/mailadmin","last_synced_at":"2026-04-03T14:03:51.101Z","repository":{"id":37824527,"uuid":"384980268","full_name":"aspettl/mailadmin","owner":"aspettl","description":"Domain and account management for small mailserver systems","archived":false,"fork":false,"pushed_at":"2026-03-30T10:59:12.000Z","size":1488,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-30T12:30:09.834Z","etag":null,"topics":["docker","docker-mailserver","mail","mailserver","rails"],"latest_commit_sha":null,"homepage":"","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/aspettl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-11T15:13:48.000Z","updated_at":"2026-03-30T10:59:15.000Z","dependencies_parsed_at":"2023-11-13T05:31:12.058Z","dependency_job_id":"1a76acd1-7608-45b0-8995-112cf2336b79","html_url":"https://github.com/aspettl/mailadmin","commit_stats":null,"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/aspettl/mailadmin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspettl%2Fmailadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspettl%2Fmailadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspettl%2Fmailadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspettl%2Fmailadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aspettl","download_url":"https://codeload.github.com/aspettl/mailadmin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspettl%2Fmailadmin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31355772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T08:03:20.796Z","status":"ssl_error","status_checked_at":"2026-04-03T08:00:37.834Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["docker","docker-mailserver","mail","mailserver","rails"],"created_at":"2026-02-17T19:41:04.999Z","updated_at":"2026-04-03T14:03:51.096Z","avatar_url":"https://github.com/aspettl.png","language":"Ruby","readme":"# Mailadmin\n\nGitHub address: https://github.com/aspettl/mailadmin\n\nMailadmin is a simple tool to manage email domains, accounts and alias addresses\nconveniently. It targets systems where there is only a handful of users who\nwant to manage their own domains. It is *not* meant to be used by end users\n(those using the mailboxes) - however, there is an API for the Roundcube\npassword plugin.\n\nIt was developed to manage a mailserver running with\n[docker-mailserver](https://github.com/docker-mailserver/docker-mailserver).\nHowever, it could be used to produce configuration files for any mailserver\nsetup, e.g. Postfix with Dovecot.\n\n## Features\n\n* UI features\n  * manage domains and domain aliases\n    * support domain catchalls\n  * mailboxes for end users\n    * `crypt`-based password hashes\n    * \"Have I Been Pwned\" password check\n    * optional email forwarding\n  * alias addresses\n  * blackhole addresses\n* multiple \"admin\" users\n  * one user can manage only his or her domains\n* config export to `docker-mailserver`\n* Roundcube password plugin API\n\n### Screenshots\n\n* [Manage Domains](https://raw.githubusercontent.com/aspettl/mailadmin/main/screenshots/manage_domains.png)\n* [Manage Accounts](https://raw.githubusercontent.com/aspettl/mailadmin/main/screenshots/manage_accounts.png)\n\n## Docker images\n\nPrebuilt images for the latest commit of the `main` branch are available via\nDockerHub:\n\n* [aspettl/mailadmin:edge](https://hub.docker.com/r/aspettl/mailadmin)\n* [aspettl/docker-mailserver-configreload:edge](https://hub.docker.com/r/aspettl/docker-mailserver-configreload)\n\nReleases are pushed with the version number as docker image tag.\n\n## Start/try out locally\n\nRequirements:\n\n* Ruby (see `.ruby-version`) and bundler for `bundle install` to\n  install all dependencies.\n* MariaDB or MySQL database server should be already running. The connection is\n  established via the socket `/var/run/mysqld`. Expected user name is `mailadmin`,\n  password empty, all privileges for `mailadmin_`-prefixed databases.\n\nCreate the database via `rails db:create`, `rails db:migrate` to\napply migrations, `rails db:fixtures:load` for some example data, `rails server`\nto start and log in at http://localhost:3000 with \"alice@example.com\" and\npassword \"test\".\n\n## Build docker images\n\nYou can use `docker-compose build` to build all docker images.\n\n## Local docker-based staging environment\n\nUse `docker-compose up -d` and `docker-compose down`. Have a look at the\nconfiguration in `docker-compose.yml` and the `Dockerfile` defaults for\nenvironment variables.\n\nNote: When the container starts, it will automatically apply database migrations.\n\n## User setup in production environment\n\nThere is no UI to manage admin users.\n\nTo create a user, \"docker exec\" or \"kubectl exec\" into the container and run\n`bundle exec rails console`. Then, use\n\n```ruby\nUser.create! do |u|\n  u.email    = 'yourname@example.com'\n  u.password = 'passwordwithatleast10chars'\nend\n```\n\nNote that every user is allowed to create new domains. There is only a check\nthat new subdomains must not belong to a domain of a different user.\n\n## Integration into docker-mailserver\n\nSee `docker-compose.yml` and `integrations/docker-mailserver-configreload`.\n\n## Integration into Roundcube\n\nRoundcube will typically connect via IMAP to docker-mailserver and not need\nany special configuration. The only exception is when Roundcube users should be\nable to change their account passwords, see `integrations/roundcube-password-plugin`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspettl%2Fmailadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faspettl%2Fmailadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspettl%2Fmailadmin/lists"}