[GH-ISSUE #540] [Feature] 如何防止滥用 #210

Closed
opened 2026-02-26 20:36:08 +03:00 by kerem · 4 comments
Owner

Originally created by @dnslin on GitHub (Dec 31, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/540

请描述您的 Feature

像某些黑产或者灰产 会利用注册机 或者 无头浏览器申请大量的email 来发送垃圾邮件或者广告邮件导致域名被投诉 甚至被hold

描述您想要的解决方案

有没有一种方案只有注册才能申请邮件 而不是游客都能申请邮箱

描述您考虑过的替代方案

附加上下文

Originally created by @dnslin on GitHub (Dec 31, 2024). Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/540 ## 请描述您的 Feature 像某些黑产或者灰产 会利用注册机 或者 无头浏览器申请大量的email 来发送垃圾邮件或者广告邮件导致域名被投诉 甚至被hold ## 描述您想要的解决方案 有没有一种方案只有注册才能申请邮件 而不是游客都能申请邮箱 ## 描述您考虑过的替代方案 ## 附加上下文
kerem 2026-02-26 20:36:08 +03:00
Author
Owner

@dreamhunter2333 commented on GitHub (Jan 1, 2025):

目前支持 cf 的人机验证,通过人机验证才能新建

Turnstile 人机验证配置
CF_TURNSTILE_SITE_KEY = ""
CF_TURNSTILE_SECRET_KEY = ""

或者只允许注册用户使用某些域名,非注册用户没有域名可以使用

DEFAULT_DOMAINS 配合 USER_DEFAULT_ROLE 使用

https://temp-mail-docs.awsl.uk/zh/guide/cli/worker.html

<!-- gh-comment-id:2566928920 --> @dreamhunter2333 commented on GitHub (Jan 1, 2025): 目前支持 cf 的人机验证,通过人机验证才能新建 Turnstile 人机验证配置 CF_TURNSTILE_SITE_KEY = "" CF_TURNSTILE_SECRET_KEY = "" 或者只允许注册用户使用某些域名,非注册用户没有域名可以使用 DEFAULT_DOMAINS 配合 USER_DEFAULT_ROLE 使用 https://temp-mail-docs.awsl.uk/zh/guide/cli/worker.html
Author
Owner

@dnslin commented on GitHub (Jan 1, 2025):

非注册用户的选取域名似乎是通过 DOMAINS 来获取的

<!-- gh-comment-id:2567021127 --> @dnslin commented on GitHub (Jan 1, 2025): 非注册用户的选取域名似乎是通过 DOMAINS 来获取的
Author
Owner

@dreamhunter2333 commented on GitHub (Jan 1, 2025):

非注册用户的选取域名似乎是通过 DOMAINS 来获取的

DEFAULT_DOMAINS 未配置是默认是 DOMAINS 的值

<!-- gh-comment-id:2567024292 --> @dreamhunter2333 commented on GitHub (Jan 1, 2025): > 非注册用户的选取域名似乎是通过 DOMAINS 来获取的 DEFAULT_DOMAINS 未配置是默认是 DOMAINS 的值
Author
Owner

@dnslin commented on GitHub (Jan 17, 2025):

感谢

<!-- gh-comment-id:2597682654 --> @dnslin commented on GitHub (Jan 17, 2025): 感谢
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#210
No description provided.