Taking Email Back
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
Taking Email Back
How New Open Source Mail Servers and Clients Make Self-Hosting Practical Again. The fourth in a five-part series on European-funded open source projects in hardware and software.
新的开源邮件服务器和客户端如何让自托管再次变得实用。这是关于欧洲资助的硬件和软件开源项目五部分系列报道中的第四篇。
Three Homes, No Data Center: Deuxfleurs, a French nonprofit, keeps its servers in members’ homes in Lille, Nantes, and Massy: two or three second-hand Lenovo ThinkCentre mini PCs each, with a copy of the same data so its websites stay up when one of them loses power or fiber line. Quentin Dufour, one of the founders, says some major French websites already serve their pages from this setup. Next, the collective wants its email to work the same way.
三个家庭,没有数据中心:法国非营利组织 Deuxfleurs 将其服务器存放在位于里尔、南特和马西的成员家中:每处放置两到三台二手的联想 ThinkCentre 迷你电脑,并保存相同的数据副本,以便在其中一台断电或光纤线路中断时,其网站仍能保持运行。创始人之一昆汀·杜福尔(Quentin Dufour)表示,一些法国大型网站已经通过这种架构提供页面服务。接下来,该集体希望其电子邮件也能以同样的方式运作。
The software for self-hosting email in this manner is called Aerogramme, and it isn’t finished. Deuxfleurs still runs its own mail on Dovecot, a long-established open source mail server, and plans to move to Aerogramme around January 2027.
用于以这种方式自托管电子邮件的软件名为 Aerogramme,目前尚未完成。Deuxfleurs 目前仍在使用老牌开源邮件服务器 Dovecot 运行其邮件系统,并计划在 2027 年 1 月左右迁移到 Aerogramme。
The collective is heading the opposite way from almost everyone else. According to the independent daily DNS measurements published by RIPE Labs, email for the million busiest domains on the web has consolidated dramatically: In 2016, 44.6 percent of these domains used small or self-hosted servers, and that share halved to 22.4 percent by July 2026. Small regional hosting companies and independents are losing accounts to corporate providers like Google and Microsoft, who together handled 38.6 percent of these busy domains.
该集体的发展方向与几乎所有人背道而驰。根据 RIPE Labs 发布的独立每日 DNS 测量数据,网络上最繁忙的百万个域名的电子邮件服务已经发生了巨大的整合:2016 年,这些域名中有 44.6% 使用小型或自托管服务器,而到 2026 年 7 月,这一比例减半至 22.4%。小型区域托管公司和独立服务商正在流失客户,转而投向谷歌和微软等企业提供商,后者共同处理了这些繁忙域名中 38.6% 的业务。
Email is older than the Internet itself, and it still runs on open standards anyone can implement. Any server can deliver to any other, and any standards-compliant client can read any mailbox. It’s the hosting that has concentrated into a very few hands, eroding autonomy and giving hosting providers power over the data that travels through digital correspondence.
电子邮件的历史比互联网本身还要悠久,它仍然运行在任何人都可以实现的开放标准之上。任何服务器都可以向其他服务器发送邮件,任何符合标准的客户端都可以读取任何邮箱。问题在于托管服务已经集中在极少数人手中,这削弱了自主权,并使托管提供商能够控制通过数字通信传输的数据。
Two cases illustrate how this can limit operational independence. In May 2025, staff at the International Criminal Court (ICC) told the Associated Press that the court’s chief prosecutor lost access to his Microsoft email account after he was named in US sanctions; Microsoft denies suspending services but hasn’t explained what happened to his account. In February 2026, the Dutch government told its parliament that the tax administration was moving about 40,000 workplaces to Microsoft 365 for lack of a short-term alternative, while acknowledging that Microsoft could be forced under state pressure to stop delivering services.
两个案例说明了这如何限制运营独立性。2025 年 5 月,国际刑事法院(ICC)的工作人员告诉美联社,该院首席检察官在被列入美国制裁名单后,失去了对其微软电子邮件账户的访问权限;微软否认暂停了服务,但并未解释其账户发生了什么。2026 年 2 月,荷兰政府告知议会,由于缺乏短期替代方案,税务部门正在将约 4 万个工作岗位迁移到 Microsoft 365,同时也承认微软可能会在国家压力下被迫停止提供服务。
The Dutch government reversed course in October: The tax administration, customs, and the benefits agency will run mail and calendar on their own servers from 2027, with European open source tools for storage and collaboration to follow. The question now: How are developers working to decentralize email hosting on a wider scale? Each obstacle pushing organizations off of small or self-hosted email servers has open source projects working on a solution. Three of them show how the pieces fit; all of them supported by NGI Zero, the EU-funded programs that enable open source research and development.
荷兰政府在 10 月改变了方针:税务、海关和福利机构将从 2027 年起在自己的服务器上运行邮件和日历系统,随后将采用欧洲的开源工具进行存储和协作。现在的问题是:开发人员如何致力于更大规模地去中心化电子邮件托管?每一个将组织推离小型或自托管邮件服务器的障碍,都有相应的开源项目在寻求解决方案。其中三个项目展示了这些部分是如何组合在一起的;所有这些项目都得到了 NGI Zero 的支持,这是一个由欧盟资助的、旨在促进开源研究和开发的计划。
How Email Got Away from Us: In the 1990s, running your own mail server was ordinary. Universities and small companies did it, and so did Mauro De Gennaro. In 1993, as a teenager, he fetched mail for users of his bulletin board over UUCP: the dial-up protocol Unix machines used to exchange mail. He has worked on mail software for most of the three decades since. When he looked at the open source stack again about six years ago, he saw “it’s the same software that companies and servers have been using for over 20 years.”
电子邮件是如何离我们而去的:在 20 世纪 90 年代,运行自己的邮件服务器是很平常的事。大学和小公司这样做,Mauro De Gennaro 也是如此。1993 年,十几岁的他通过 UUCP 为其公告板的用户获取邮件:这是 Unix 机器用于交换邮件的拨号协议。在此后的三十年里,他大部分时间都在从事邮件软件的工作。大约六年前,当他再次审视开源技术栈时,他发现“这仍然是公司和服务器已经使用了 20 多年的同一套软件”。
He counts 12 separate programs to run a conventional self-hosted setup. Each has its own configuration format and logs, written by different people in different styles. The software works well, he says, but was “designed and documented for other developers.” Bundles such as Mailcow and Mail-in-a-Box install the whole set at once: “They abstract the complexity,” De Gennaro says, “but they do not remove it.” Since all of it was designed for a single machine, running it as a cluster server is possible in the same way it’s possible to take a Fiat Cinquecento and turn it electric: “It was not designed for that.”
他统计出运行一个传统的自托管设置需要 12 个独立的程序。每个程序都有自己的配置格式和日志,由不同的人以不同的风格编写。他说,这些软件运行良好,但“是为其他开发人员设计和编写文档的”。像 Mailcow 和 Mail-in-a-Box 这样的软件包可以一次性安装整套程序:“它们抽象了复杂性,”De Gennaro 说,“但并没有消除它。”由于所有这些都是为单机设计的,将其作为集群服务器运行,就像把一辆菲亚特 Cinquecento 改装成电动车一样:“它本来就不是为此设计的。”
Google launched Gmail into that friction in 2004, with a gigabyte of free storage, and let companies run their own domain’s mail on it. “Then they started billing,” De Gennaro says. The users were captive, and moving email is disruptive enough that few of them left.
2004 年,谷歌在这一矛盾中推出了 Gmail,提供 1GB 的免费存储空间,并允许公司在其上运行自己的域名邮件。“然后他们开始收费,”De Gennaro 说。用户被困住了,而迁移电子邮件的破坏性太大,以至于很少有人离开。
Ben Bucksch joined the Mozilla mail team in the late 1990s, where his first contribution made email links clickable; he also served in leadership for the Thunderbird Council and invented AutoConfig, which lets a mail client set up an account from nothing but an email address. In his telling, the lock-in started within the client.
Ben Bucksch 在 20 世纪 90 年代末加入了 Mozilla 邮件团队,他的第一个贡献是使电子邮件链接可点击;他还曾在 Thunderbird 理事会担任领导职务,并发明了 AutoConfig,它允许邮件客户端仅凭电子邮件地址就能设置账户。在他看来,锁定始于客户端内部。
IT departments think about email as servers; “what users want is to keep their workflow,” Bucksch says. Microsoft shaped those workflows with Outlook’s calendar and corporate features: Outlook works properly only with Microsoft Exchange, and Microsoft is pushing Exchange customers into its cloud. By some estimates, about 75 percent of professional mailboxes are on Office 365. “If we want to free the lock-in,” he says, “we need to start with the client.”
IT 部门将电子邮件视为服务器;“用户想要的是保持他们的工作流程,”Bucksch 说。微软通过 Outlook 的日历和企业功能塑造了这些工作流程:Outlook 只有在 Microsoft Exchange 下才能正常工作,而微软正在将 Exchange 客户推向其云端。据估计,约 75% 的专业邮箱都在 Office 365 上。“如果我们想摆脱锁定,”他说,“我们需要从客户端入手。”
Dufour and Armaël Guéneau of Deuxfleurs locate the problem in operations. IMAP is the protocol most clients use to read mail. An IMAP server has to serve webmail that queries the server for every view, desktop clients such as Thunderbird that synchronize whole mailboxes, and phones that do some of each. Implementing it is hard; the reliability people expect is harder. When the tax office sends you an email, Dufour says, “it must work.” The expertise to run mail at that level, Guéneau says, “tends to be captured by hyperscalers.”
Deuxfleurs 的 Dufour 和 Armaël Guéneau 将问题归结为运营。IMAP 是大多数客户端用于读取邮件的协议。IMAP 服务器必须为每次查看都向服务器查询的 Webmail、同步整个邮箱的 Thunderbird 等桌面客户端,以及兼具两者功能的手机提供服务。实现它很难;人们所期望的可靠性更难。Dufour 说,当税务局给你发邮件时,“它必须能送达”。Guéneau 说,在这一水平上运行邮件所需的专业知识“往往被超大规模云服务商所垄断”。
As Dufour tells it, Google didn’t adapt existing mail software; it built Gmail on top of its distributed.
正如 Dufour 所述,谷歌并没有改编现有的邮件软件;它是在其分布式架构之上构建了 Gmail。