Files
NewSzxcn-Email/.github/release-notes/v1.2.14.md
zxyszx 86773c64ca
Docker Release / Check web and api (push) Waiting to run
Docker Release / Resolve release tag (push) Blocked by required conditions
Docker Release / Build and publish all-in-one (push) Blocked by required conditions
Docker Release / Build and publish api (push) Blocked by required conditions
Docker Release / Build and publish web (push) Blocked by required conditions
Docker Release / Build and publish dovecot (push) Blocked by required conditions
Docker Release / Build and publish postfix (push) Blocked by required conditions
Docker Release / Build and publish rspamd (push) Blocked by required conditions
Docker Release / Create GitHub release (push) Blocked by required conditions
feat: unify email identity and administrator security
2026-08-05 02:55:36 +08:00

36 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 本次更新
### 统一邮箱登录与注册
- 前台和后台统一使用主登录邮箱与密码登录,不再接受旧用户名登录。
- 自助注册会一次性创建账号和邮箱,并要求填写显示名称、邮箱前缀、域名和密码确认。
- 只有主登录邮箱可以登录网页,账号下的其他邮箱不会成为额外登录入口。
- 网页修改或管理员重置密码时,会同步更新该账号全部邮箱的 SMTP/IMAP 密码。
### 加强管理员与安全管理
- 系统只保留一名安装时创建的管理员,后台和 API 均不能新增或提升第二名管理员。
- 内置“管理员”和“普通用户”权限配置不可修改或删除,自定义权限配置仍可正常创建和分配。
- 双因素认证新增恢复码,服务器菜单支持重置管理员密码和管理员 2FA。
- 保留 Cloudflare Turnstile 登录与注册防刷验证。
### 修复邮件批量移动与界面布局
- “全部邮箱”模式可以将跨邮箱选中的邮件批量移动到各邮箱对应的自定义文件夹。
- 固定邮箱选择器、复制按钮和展开菜单宽度,切换具体邮箱时不再缩窄。
- 邮箱页与设置页统一侧栏宽度,点击设置时分隔线和内容区域不再左右跳动。
### 改进安装与升级兼容
- 新安装默认创建 `admin@邮箱域名` 管理员邮箱,并支持自定义管理员邮箱前缀。
- 旧数据库升级时自动保留现有管理员、邮箱、密码和双因素认证数据,不会生成错误的占位域名账号。
- 管理员在后台修改主登录邮箱后,服务重启不会恢复成安装时的旧邮箱。
- 安装指南、环境变量示例和管理员恢复命令已同步更新。
### 验证
- 已通过完整 Go 测试、Go 静态检查、前端 TypeScript 检查和生产构建。
- 已通过安装脚本测试、ShellCheck,以及桌面端和移动端浏览器验证。
**完整更新日志**[v1.2.13...v1.2.14](https://github.com/zxyszx/NewSzxcn-Email/compare/v1.2.13...v1.2.14)