登录 注册
开发者工具 emailmailserversmtp
15,465
Stars
1,569
Forks
282
Watchers
621
Open Issues
CC0-1.0
许可证
Python
语言
2013-08-21
创建时间
2026-11-08
最近更新

项目能做什么

开箱即用的私有邮件服务器,一键轻松部署专属 SMTP 等完整邮件服务。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
Mail-in-a-Box
=============

By [@JoshData](https://github.com/JoshData) and [contributors](https://github.com/mail-in-a-box/mailinabox/graphs/contributors).

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.

**Please see [https://mailinabox.email](https://mailinabox.email) for the project's website and setup guide!**

* * *

Our goals are to:

* Make deploying a good mail server easy.
* Promote [decentralization](http://redecentralize.org/), innovation, and privacy on the web.
* Have automated, auditable, and [idempotent](https://web.archive.org/web/20190518072631/https://sharknet.us/2014/02/01/automated-configuration-management-challenges-with-idempotency/) configuration.
* **Not** make a totally unhackable, NSA-proof server.
* **Not** make something customizable by power users.

Additionally, this project has a [Code of Conduct](CODE_OF_CONDUCT.md), which supersedes the goals above. Please review it when joining our community.


In The Box
----------

Mail-in-a-Box turns a fresh Ubuntu 22.04 LTS 64-bit machine into a working mail server by installing and configuring various components.

It is a one-click email appliance. There are no user-configurable setup options. It "just works."

The components installed are:

* SMTP ([postfix](http://www.postfix.org/)), IMAP ([Dovecot](http://dovecot.org/)), CardDAV/CalDAV ([Nextcloud](https://nextcloud.com/)), and Exchange ActiveSync ([z-push](http://z-push.org/)) servers
* Webmail ([Roundcube](http://roundcube.net/)), mail filter rules (thanks to Roundcube and Dovecot), and email client autoconfig settings (served by [nginx](http://nginx.org/))
* Spam filtering ([spamassassin](https://spamassassin.apache.org/)) and greylisting ([postgrey](http://postgrey.schweikert.ch/))
* DNS ([nsd4](https://www.nlnetlabs.nl/projects/nsd/)) with [SPF](https://en.wikipedia.org/wiki/Sender_Policy_Framework), DKIM ([OpenDKIM](http://www.opendkim.org/)), [DMARC](https://en.wikipedia.org/wiki/DMARC), [DNSSEC](https://en.wikipedia.org/wiki/DNSSEC), [DANE TLSA](https://en.wikipedia.org/wiki/DNS-based_Authentication_of_Named_Entities), [MTA-STS](https://tools.ietf.org/html/rfc8461), and [SSHFP](https://tools.ietf.org/html/rfc4255) policy records automatically set
* TLS certificates are automatically provisioned using [Let's Encrypt](https://letsencrypt.org/) for protecting https and all of the other services on the box
* Backups ([duplicity](http://duplicity.nongnu.org/)), firewall ([ufw](https://launchpad.net/ufw)), intrusion protection ([fail2ban](http://www.fail2ban.org/wiki/index.php/Main_Page)), and basic system monitoring ([munin](http://munin-monitoring.org/))

It also includes system management tools:

* Comprehensive health monitoring that checks each day that services are running, ports are open, TLS certificates are valid, and DNS records are correct
* A control panel for adding/removing mail users, aliases, 
阅读完整原文

项目深度分析 AI 生成

Mail-in-a-Box 全托管 PaaS 实例

产品构想针对不具备 VPS 运维能力或无法获取 25 端口开放主机的用户,提供预装且配置好反向 DNS (rDNS) 的独立云托管实例。
核心功能开箱即用洁净 IP、自动配置 PTR 与基础网络、图形化一键备份与自动升级、健康状态监控与告警。
目标用户重视隐私但缺乏运维能力的个人博主、独立工作室、小型非技术团队。
难度/周期中等 · 1-2 个月 · 成本:小批量云服务器/IP 资源采购、自动化开通与编排脚本开发。
收费模式按实例按月/按年订阅(例如 $10 - $20/月)。
竞争风险恶意用户利用实例发送垃圾邮件导致 IP 池被列入黑名单,需严格的风控与滥用处理机制。
依据 数据支持的判断

邮件高送达率智能中继与信誉监控插件

产品构想自建邮件系统最大的痛点是 IP 信誉不足导致邮件进入垃圾箱,提供专为 Mail-in-a-Box 对接的智能出站 SMTP 中继与 DMARC/黑名单监控服务。
核心功能一键集成出站中继(通过 API/控制面板配置)、IP/域名黑名单实时预警、DMARC 聚合报告可视化分析、送达率健康评分。
目标用户已自建 Mail-in-a-Box 但频繁遭遇邮件被 Gmail/Outlook 拦截的站长与中小企业。
难度/周期中等 · 1 个月 · 成本:中继基础设施成本、分析看板研发成本。
收费模式按发信量阶梯收费(例如基础套餐 $5/月包含 1 万封)。
竞争风险面临 SendGrid、Postmark 等成熟邮件投递服务商的价格与信誉竞争。
依据 已验证事实

企业邮箱私有化迁移与维保专家服务

产品构想为希望削减商业邮件软件订阅支出的企业提供平滑迁移到专属 Mail-in-a-Box 的交钥匙工程与长期技术支持。
核心功能无缝迁移历史邮件、日历及通讯录(Nextcloud/Z-Push 适配)、定制高可用异地冷备方案、7x24 故障排查响应。
目标用户席位较多、预算紧张的中小微企业、对外贸通信隐私要求高的外贸团队。
难度/周期低 · 2 周(服务流程与迁移工具链标准化) · 成本:极低(主要是个人交付时间与少量测试环境成本)。
收费模式一次性迁移服务费(按账号数量收取)+ 季度/年度维保 retainer 费用。
竞争风险属于人力交付型业务,难以规模化快速扩张。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

相似项目数据正在完善中,暂不展示(避免误导)

项目优势与风险

技术成熟度创建于 2013-08-21,近 30 天仍在推送,发布过 39 个 Release
社区活跃Star 15,465 / Fork 1,569 / Issue 621(数据支持,可自行核实)
许可证CC0-1.0
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。