[PR #646] [CLOSED] [Feature] 基于子域名转发到不同的邮箱中去 #645 #676

Closed
opened 2026-02-26 21:32:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/646
Author: @Zyx-A
Created: 4/29/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • e91a843 添加支持多域名转发。[Feature] 基于子域名转发到不同的邮箱中去 #645 #645

📊 Changes

5 files changed (+43 additions, -7 deletions)

View changed files

📝 worker/src/admin_api/worker_config.ts (+2 -2)
📝 worker/src/email/index.ts (+17 -2)
📝 worker/src/types.d.ts (+6 -1)
📝 worker/src/utils.ts (+17 -1)
📝 worker/wrangler.toml.template (+1 -1)

📄 Description

[Feature] 基于子域名转发到不同的邮箱中去 #645
按我自己的理解,进行了源码修改,主要改造了 FORWARD_ADDRESS_LIST 变量,使其同 USER_ROLES 变量语法类似。
FORWARD_ADDRESS_LIST 变量值格式为: [{"domains":[""],"forward":"xxx1@xxx.com",},{"domains":["subdomain-1.domain.com","subdomain-2.domain.com"],"forward":"xxx2@xxx.com"}] 。其中domains的列表值可为空,为空则代表将全局所有邮件转发到指定邮箱。


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/646 **Author:** [@Zyx-A](https://github.com/Zyx-A) **Created:** 4/29/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`e91a843`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/e91a8430198fb5608842f97b264f52a69c77d46b) 添加支持多域名转发。[Feature] 基于子域名转发到不同的邮箱中去 #645 [#645](https://github.com/dreamhunter2333/cloudflare_temp_email/issues/645) ### 📊 Changes **5 files changed** (+43 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `worker/src/admin_api/worker_config.ts` (+2 -2) 📝 `worker/src/email/index.ts` (+17 -2) 📝 `worker/src/types.d.ts` (+6 -1) 📝 `worker/src/utils.ts` (+17 -1) 📝 `worker/wrangler.toml.template` (+1 -1) </details> ### 📄 Description [Feature] 基于子域名转发到不同的邮箱中去 #645 按我自己的理解,进行了源码修改,主要改造了 `FORWARD_ADDRESS_LIST` 变量,使其同 `USER_ROLES` 变量语法类似。 `FORWARD_ADDRESS_LIST` 变量值格式为: `[{"domains":[""],"forward":"xxx1@xxx.com",},{"domains":["subdomain-1.domain.com","subdomain-2.domain.com"],"forward":"xxx2@xxx.com"}]` 。其中domains的列表值可为空,为空则代表将全局所有邮件转发到指定邮箱。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:32:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudflare_temp_email#676
No description provided.