{"id":36492433,"url":"https://github.com/drlogout/iredmail-cli","last_synced_at":"2026-01-12T01:57:13.893Z","repository":{"id":45276321,"uuid":"130743486","full_name":"drlogout/iredmail-cli","owner":"drlogout","description":"A command line interface to interact with iredMail (MYSQL edition)","archived":false,"fork":false,"pushed_at":"2021-12-26T01:25:15.000Z","size":10092,"stargazers_count":22,"open_issues_count":11,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-29T04:40:37.945Z","etag":null,"topics":["cli","dovecot","email","go","iredmail","mail","mysql","postfix"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drlogout.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}},"created_at":"2018-04-23T19:04:04.000Z","updated_at":"2025-04-13T15:35:46.000Z","dependencies_parsed_at":"2022-08-12T11:51:10.756Z","dependency_job_id":null,"html_url":"https://github.com/drlogout/iredmail-cli","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/drlogout/iredmail-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drlogout%2Firedmail-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drlogout%2Firedmail-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drlogout%2Firedmail-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drlogout%2Firedmail-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drlogout","download_url":"https://codeload.github.com/drlogout/iredmail-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drlogout%2Firedmail-cli/sbom","scorecard":{"id":356439,"data":{"date":"2025-08-11","repo":{"name":"github.com/drlogout/iredmail-cli","commit":"50ea3e8f361116e4ebeb2ad98da5876a85d35458"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.2.7 not signed: https://api.github.com/repos/drlogout/iredmail-cli/releases/11996156","Warn: release artifact v0.2.6 not signed: https://api.github.com/repos/drlogout/iredmail-cli/releases/11981794","Warn: release artifact v0.2.4 not signed: https://api.github.com/repos/drlogout/iredmail-cli/releases/11909458","Warn: release artifact v0.2.3 not signed: https://api.github.com/repos/drlogout/iredmail-cli/releases/11849916","Warn: release artifact v0.2.2 not signed: https://api.github.com/repos/drlogout/iredmail-cli/releases/11839350","Warn: release artifact v0.2.7 does not have provenance: https://api.github.com/repos/drlogout/iredmail-cli/releases/11996156","Warn: release artifact v0.2.6 does not have provenance: https://api.github.com/repos/drlogout/iredmail-cli/releases/11981794","Warn: release artifact v0.2.4 does not have provenance: https://api.github.com/repos/drlogout/iredmail-cli/releases/11909458","Warn: release artifact v0.2.3 does not have provenance: https://api.github.com/repos/drlogout/iredmail-cli/releases/11849916","Warn: release artifact v0.2.2 does not have provenance: https://api.github.com/repos/drlogout/iredmail-cli/releases/11839350"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T09:43:29.763Z","repository_id":45276321,"created_at":"2025-08-18T09:43:29.763Z","updated_at":"2025-08-18T09:43:29.763Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"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":["cli","dovecot","email","go","iredmail","mail","mysql","postfix"],"created_at":"2026-01-12T01:57:13.820Z","updated_at":"2026-01-12T01:57:13.887Z","avatar_url":"https://github.com/drlogout.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iredmail-cli\n\n[![CircleCI](https://circleci.com/gh/drlogout/iredmail-cli/tree/master.svg?style=svg)](https://circleci.com/gh/drlogout/iredmail-cli/tree/master)\n\n## Table of contents\n\n* [Table of contents](#table-of-contents)\n* [Installation](#installation)\n* [Overview](#overview)\n    * Mailbox\n    * Mailbox-alias\n    * Forwarding\n    * Alias\n* [Commands](#commands)\n    * [\u003cem\u003emailbox\u003c/em\u003e](#mailbox)\n        * [\u003cem\u003eadd [MAILBOX_EMAIL] [PLAIN_PASSWORD]\u003c/em\u003e](#add-mailbox_email-plain_password)\n        * [\u003cem\u003edelete [MAILBOX_EMAIL]\u003c/em\u003e](#delete-mailbox_email)\n        * [\u003cem\u003einfo [MAILBOX_EMAIL]\u003c/em\u003e](#info-mailbox_email)\n        * [\u003cem\u003elist\u003c/em\u003e](#list)\n        * [\u003cem\u003eupdate [MAILBOX_EMAIL]\u003c/em\u003e](#update-mailbox_email)\n        * [\u003cem\u003eadd-alias [ALIAS] [MAILBOX_EMAIL]\u003c/em\u003e](#add-alias-alias-mailbox_email)\n        * [\u003cem\u003edelete-alias [ALIAS_EMAIL]\u003c/em\u003e](#delete-alias-alias_email)\n    * [\u003cem\u003eforwarding\u003c/em\u003e](#forwarding)\n        * [\u003cem\u003eadd [MAILBOX_EMAIL] [DESTINATION_EMAIL]\u003c/em\u003e](#add-mailbox_email-destination_email)\n        * [\u003cem\u003edelete [MAILBOX_EMAIL] [DESTINATION_EMAIL]\u003c/em\u003e](#delete-mailbox_email-destination_email)\n        * [\u003cem\u003elist\u003c/em\u003e](#list-1)\n    * [\u003cem\u003edomain\u003c/em\u003e](#domain)\n        * [\u003cem\u003eadd [DOMAIN]\u003c/em\u003e](#add-domain)\n        * [\u003cem\u003edelete [DOMAIN]\u003c/em\u003e](#delete-domain)\n        * [\u003cem\u003elist\u003c/em\u003e](#list-2)\n        * [\u003cem\u003eadd-alias [ALIAS_DOMAIN] [DOMAIN]\u003c/em\u003e](#add-alias-alias_domain-domain)\n        * [\u003cem\u003edelete-alias  [ALIAS_DOMAIN]\u003c/em\u003e](#delete-alias--alias_domain)\n        * [\u003cem\u003eadd-catchall [DOMAIN] [DESTINATION_EMAIL]\u003c/em\u003e](#add-catchall-domain-destination_email)\n        * [\u003cem\u003edelete-catchall [DOMAIN] [DESTINATION_EMAIL]\u003c/em\u003e](#delete-catchall-domain-destination_email)\n    * [\u003cem\u003ealias\u003c/em\u003e](#alias)\n        * [\u003cem\u003eadd [ALIAS_EMAIL]\u003c/em\u003e](#add-alias_email)\n        * [\u003cem\u003edelete [ALIAS_EMAIL]\u003c/em\u003e](#delete-alias_email)\n        * [\u003cem\u003einfo [ALIAS_EMAIL]\u003c/em\u003e](#info-alias_email)\n        * [\u003cem\u003elist\u003c/em\u003e](#list-3)\n        * [\u003cem\u003eadd-forwarding [ALIAS_EMAIL] [DESTINATION_EMAIL]\u003c/em\u003e](#add-forwarding-alias_email-destination_email)\n        * [\u003cem\u003edelete-forwarding [ALIAS_EMAIL] [DESTINATION_EMAIL]\u003c/em\u003e](#delete-forwarding-alias_email-destination_email)\n    * [\u003cem\u003eversion\u003c/em\u003e](#version)\n\n\n\n## Installation\n\n\u003e The current version only supports the MySQL version of iRedMail\n\nDownload the appropriate binary from https://github.com/drlogout/iredmail-cli/releases/latest, untar the file and move the binary to e.g. `/usr/local/bin/iredmail-cli`. \n\nBy default `iredmail-cli` expects a config file under `~/.my.cnf-vmailadmin`. This file is generated through the iRedMail installation. It's also possible to specify a config file with the `—config` flag.\n\nThe `.my.cnf-vmailadmin` file needs following variables:\n\n```\n[client]\nhost=127.0.0.1 (optional, default 127.0.0.1)\nport=3306 (optional, default 3306)\nuser=vmailadmin\npassword=\"UXXjQYn3KLbAJhonbkmNyGNJRsoXZ4rn\"\n```\n\n\n\n## Overview\n\n**Mailbox**\n\nWhat is called `user` in iRedMail is a `mailbox` in the iredmail-cli terminology. I don't know if this is a good idea, but for me user feels wrong.\n\n```\niRedMail: \n\tinfo@example.com = user\niredmail-cli:\n\tinfo@example.com = mailbox\n```\nSee [\u003cem\u003emailbox\u003c/em\u003e](#mailbox)\n\n**Mailbox-alias**\n\nA mailbox can have additional email addresses:\n\n![doc-mailbox-alias](assets/doc-mailbox-alias.png)\n\nAll emails sent to the addresses `post@example.com` and `hello@example.com` will be delivered to the same mailbox `info@example.com`.\n\nEmails can now also be sent with  `post@example.com` and `hello@example.com` as sender.\n\nSee [\u003cem\u003emailbox add-alias [ALIAS] [MAILBOX_EMAIL]\u003c/em\u003e](#add-alias-alias-mailbox_email)\n\n**Forwarding**\n\nMails can be forwarded from a mailbox:\n\n![doc-forwarding](assets/doc-forwarding.png)\n\nAll emails sent to the mailbox `info@example.com` will also be delivered to the addresses `tech@company.com` and `support@example.net`.\n\nSee [\u003cem\u003eforwarding\u003c/em\u003e](#forwarding)\n\n**Alias**\n\nIf no mailbox is required, an alias can be used to forward emails to other addresses:\n\n![doc-alias](assets/doc-alias.png)\n\nMultiple destination addresses are possible.\n\n[\u003cem\u003ealias\u003c/em\u003e](#alias)\n\n\n\n## Commands\n\nTo print the help of a command or sub command append the `—help` or `-h` flag.\n\n------\n\n### *mailbox*\n\nAdd/delete/list mailboxes and mailbox-aliases.\n\n#### *add \\[MAILBOX_EMAIL] \\[PLAIN_PASSWORD]*\n\nAdd a new mailbox.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli mailbox add info@example.com swekjhlwekjdhw\n```\n\n*Flags:*\u003cbr/\u003e\n-q, --quota: Set custom quota in MB, default 2048\u003cbr/\u003e\n-s, --storage-path: Set custom storage path\n\n#### *delete \\[MAILBOX_EMAIL]*\n\nDelete a mailbox.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli mailbox delete info@example.com\n```\n*Flags:*\u003cbr/\u003e\n-f, --force: Force deletion\n\n#### *info \\[MAILBOX_EMAIL]*\n\nShow mailbox info.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli mailbox info info@example.com\n+----------------------+---------------------------------------------+\n|       MAILBOX        |              info@example.com               |\n+----------------------+---------------------------------------------+\n| Quota                | 2048 MB                                     |\n| Maildir              | example.com/i/n/f/info-2018.07.09.09.13.27/ |\n+----------------------+---------------------------------------------+\n```\n#### *list*\n\nList mailboxes.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli mailbox list\n+-----------------------+------------+\n|        MAILBOX        | QUOTA (MB) |\n+-----------------------+------------+\n| info@domain.com       |       2048 |\n| info@example.com      |       2048 |\n| mail@example.net      |       2048 |\n| support@example.com   |       2048 |\n+-----------------------+------------+\n\n# To filter results use the --filter flag\n$ iredmail-cli mailbox list -f example.com\n+-----------------------+------------+\n|        MAILBOX        | QUOTA (MB) |\n+-----------------------+------------+\n| info@example.com      |       2048 |\n| support@example.com   |       2048 |\n+-----------------------+------------+\n```\n\n*Flags:*\u003cbr/\u003e\n-f, --filter: Filter results\n\n#### *update \\[MAILBOX_EMAIL]*\n\nUpdate keep-copy and quota.\u003cbr/\u003e\n*keep-copy:* If mailboxes with forwardings should not keep a copy of the forwarded email use \"--keep-copy no\".\u003cbr/\u003e\nThis is only possible if at least one forwarding for [MAILBOX_EMAIL] exists.\u003cbr/\u003e\nBy default copies are kept in the mailbox.\u003cbr/\u003e\n*quota:* The quota of the mailbox could be set with this flag, e.g. \"--quota 4096\" (in MB).\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli mailbox update info@example.com -k no\n$ iredmail-cli mailbox update info@example.com -q 4098\n```\n*Flags:*\u003cbr/\u003e\n-k, --keep-copy: enable or disable keep-copy\u003cbr/\u003e\n-q, --quota: Set custom quota in MB\n\n#### *add-alias [ALIAS] \\[MAILBOX_EMAIL]*\n\nAdd a mailbox alias.\u003cbr/\u003e\nA mailbox `info@example.com` can have additional email addresses like `abuse@example.com`, `webmaster@example.com` and more, all emails sent to these addresses will be delivered to the same mailbox (`info@example.com`). Emails can now also be sent with those addresses as sender.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli mailbox add-alias abuse info@example.com\n$ iredmail-cli mailbox add-alias webmaster info@example.com\n$ iredmail-cli mailbox info info@example.com\n+----------------------+---------------------------------------------+\n|       MAILBOX        |              info@example.com               |\n+----------------------+---------------------------------------------+\n| Quota                | 2048 MB                                     |\n| Mailbox aliases      | abuse                                       |\n|                      | webmaster                                   |\n| Maildir              | example.com/i/n/f/info-2018.07.09.09.13.27/ |\n+----------------------+---------------------------------------------+\n```\n\n#### *delete-alias [ALIAS_EMAIL]*\n\nDelete an alias.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli mailbox delete-alias abuse@example.com\n```\n------\n\n### *forwarding*\n\nAdd/delete/list forwardings.\n\n#### *add \\[MAILBOX_EMAIL] [DESTINATION_EMAIL]*\n\nAdd forwarding.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli forwarding add info@example.com post@otherdomain.com\n$ iredmail-cli forwarding add info@example.com tech@company.com\n$ iredmail-cli mailbox info info@example.com\n+----------------------+---------------------------------------------+\n|       MAILBOX        |              info@example.com               |\n+----------------------+---------------------------------------------+\n| Quota                | 2048 MB                                     |\n| Mailbox aliases      | abuse                                       |\n|                      | webmaster                                   |\n| Forwardings          | tech@company.com                            |\n|                      | post@otherdomain.com                        |\n| Keep copy in mailbox | yes                                         |\n| Maildir              | example.com/i/n/f/info-2018.07.09.09.13.27/ |\n+----------------------+---------------------------------------------+\n\n```\n\nBy default a copy will be left in the mailbox, to change that behavior use the `iredmail-cli mailbox update` command.\n\n#### *delete \\[MAILBOX_EMAIL] [DESTINATION_EMAIL]*\n\nDelete forwarding.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli forwarding delete info@example.com tech@company.com\n```\n\n#### *list*\n\nList forwardings.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli forwarding list\n+------------------+----------------------------+----------------------+\n|  MAILBOX EMAIL   |     DESTINATION EMAIL      | KEEP COPY IN MAILBOX |\n+------------------+----------------------------+----------------------+\n| info@example.com | tech@company.com           | yes                  |\n|                  | post@otherdomain.com       |                      |\n| mail@example.net | mail@domain.com            | no                   |\n+------------------+----------------------------+----------------------+\n```\n\n*Flags:*\u003cbr/\u003e\n-f, --filter: Filter results\n\n------\n\n### *domain*\n\nAdd/delete/list domains, domain aliases and catchall forwardings.\n\n#### *add [DOMAIN]*\n\nAdd a domain.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli domain add somedomain.com\n```\n\n*Flags:*\u003cbr/\u003e\n-d, --description: Domain description\u003cbr/\u003e\n-s, --settings: Domain settings (default: default_user_quota:2048)\n\n#### *delete [DOMAIN]*\n\nDelete a domain.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli domain delete somedomain.com\n```\n\n*Flags:*\u003cbr/\u003e\n-f, --force: Force deletion\n\n#### *list*\n\nList domains.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli domain list\n+-------------+-----------+-------------------+-------------+\n|   DOMAIN    |   ALIAS   | CATCH-ALL ADDRESS | DESCRIPTION |\n+-------------+-----------+-------------------+-------------+\n| domain.com  |           |                   |             |\n| example.com |           |                   |             |\n+-------------+-----------+-------------------+-------------+\n```\n\n*Flags:*\u003cbr/\u003e\n-f, --filter: Filter results\n\n#### *add-alias \\[ALIAS_DOMAIN] \\[DOMAIN]*\n\nAdd an alias domain.\u003cbr/\u003e\nEmails sent to user@[ALIAS_DOMAIN] will be delivered to user@[DOMAIN].\u003cbr/\u003e\n*Example:*\u003cbr/\u003e\n\n```bash\n$ iredmail-cli domain add-alias domain.net domain.com\n$ iredmail-cli domain list\n+-------------+------------+-------------------+-------------+\n|   DOMAIN    |   ALIAS    | CATCH-ALL ADDRESS | DESCRIPTION |\n+-------------+------------+-------------------+-------------+\n| domain.com  | domain.net |                   |             |\n| example.com |            |                   |             |\n+-------------+------------+-------------------+-------------+\n```\n\n#### *delete-alias  \\[ALIAS_DOMAIN]*\n\nDelete an alias domain.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli domain delete-alias [ALIAS_DOMAIN]\n```\n\n#### *add-catchall \\[DOMAIN] \\[DESTINATION_EMAIL]*\n\nAdd a per-domain catch-all forwarding.\u003cbr/\u003e\nEmails sent to non-existing mailboxes of [DOMAIN] will be delivered to [DESTINATION_EMAIL].\u003cbr/\u003e\nMultiple [DESTINATION_EMAIL]s are possible.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli domain add-catchall example.com info@example.com\n$ iredmail-cli domain add-catchall example.com post@otherdomain.com\n\n$ iredmail-cli domain list\n+-------------+------------+----------------------+-------------+\n|   DOMAIN    |   ALIAS    | CATCH-ALL ADDRESS    | DESCRIPTION |\n+-------------+------------+----------------------+-------------+\n| domain.com  | domain.net |                      |             |\n| example.com |            | info@example.com     |             |\n|             |            | post@otherdomain.com |             |\n+-------------+------------+----------------------+-------------+\n```\n\n#### *delete-catchall \\[DOMAIN] \\[DESTINATION_EMAIL]*\n\nDelete a per-domain catch-all forwarding.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli domain delete-catchall example.com post@otherdomain.com\n```\n\n------\n\n### *alias*\n\nAdd/delete/list aliases and their forwardings.\n\n#### *add [ALIAS_EMAIL]*\n\nAdd an alias.\u003cbr/\u003e\nEmails sent to [ALIAS_EMAIL] will be delivered to alias forwardings.\u003cbr/\u003e\nUse the \"alias add-forwarding\" command to add forwardings to the alias.\u003cbr/\u003e\nAn alias can have multiple forwardings.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli alias add tech@example.com\n```\n\n#### *delete [ALIAS_EMAIL]*\n\nDelete an alias.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli alias delete tech@example.com\n```\n\n*Flags:*\u003cbr/\u003e\n-f, --force: Force deletion\n\n#### *info [ALIAS_EMAIL]*\n\nShow alias info.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli alias info tech@example.com\n+--------------------+---------------------------+\n|       ALIAS        |        FORWARDINGS        |\n+--------------------+---------------------------+\n| tech@example.com   | info@example.com          |\n|                    | chris@example.com         |\n|                    | pete@domain.com           |\n+--------------------+---------------------------+\n```\n\n#### *list*\n\nList aliases.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli alias list\n+-----------------------+---------------------------+\n|         ALIAS         |        FORWARDINGS        |\n+-----------------------+---------------------------+\n| tech@example.com      |                           |\n| help@example.net      |                           |\n+-----------------------+---------------------------+\n```\n\n*Flags:*\u003cbr/\u003e\n-f, --filter: Filter results\n\n#### *add-forwarding \\[ALIAS_EMAIL] \\[DESTINATION_EMAIL]* \n\nAdd forwarding to an alias.\u003cbr/\u003e\nEmails sent to [ALIAS_EMAIL] will be delivered to [DESTINATION_EMAIL].\u003cbr/\u003e\nAn alias can have multiple forwardings.\u003cbr/\u003e\n*Example:*\n\n```bash\n$ iredmail-cli alias add tech@example.com info@exmaple.com\n$ iredmail-cli alias add tech@example.com pete@domain.com\n\n+-----------------------+---------------------------+\n|         ALIAS         |        FORWARDINGS        |\n+-----------------------+---------------------------+\n| tech@example.com      | info@exmaple.com          |\n|                       | pete@domain.com           |\n+-----------------------+---------------------------+\n```\n\n#### *delete-forwarding \\[ALIAS_EMAIL] \\[DESTINATION_EMAIL]*\n\nDelete forwarding from an alias.\u003cbr/\u003e\n*Example:* \n\n```bash\n$ iredmail-cli alias delete tech@example.com pete@domain.com \n```\n\n------\n\n### *version*\n\nShow iredMail and iredmail-cli version.\n\n*Example:*\n\n```bash\n$ iredmail-cli version\ncli version: 0.2.5\niredMail version (MySQL): 0.9.8\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrlogout%2Firedmail-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrlogout%2Firedmail-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrlogout%2Firedmail-cli/lists"}