Comments (9)
@Rabbit0w0 发送邮件需要有以下设置:
- 保证你的机器或服务器出网络 25 端口需要开放,这个需要联系你的主机或网络提供商,国内大部分主机提供商都是默认封禁出方向 25 端口,需要提工单申请。可以使用
telnet mx1.qq.com 25
来判断你的主机是否开放网络出方向 25 端口。 - 你需要解析 A 记录 到你的主机 ip 上,并且解析同名 MX 到你的 A 记录记录值上
- 你需要添加 SPF 解析记录,一般是一个 TXT 解析,值一般为
v=spf1 ip4:IP ~all
- (可选) 你需要解析 PTR 记录,将 IP 映射 PTR 记录到你的 发件服务器上 (PTR 记录一般由域名提供商负责解析)
假设你的邮件是 [email protected] CodeFever 服务器 IP 是 22.22.22.22 你需要进行以下设置
git A 22.22.22.22
git MX git.codefever.cn
git TXT v=spf1 ip4:IP ~all
22.22.22.22 PTR git.codefever.cn (可选)
from codefever.
然而事实上好像雀实发不出去
from codefever.
@Rabbit0w0 您好,我们仔细的检查了一下 docker 容器的环境和安装文档,此问题的出现可能不是你的问题,我们的 docker 镜像没有预安装 mailx 服务。此问题会在下次更新时修复。
你也可以通过以下方式尝试修复此问题:
如果是 docker 方式:
- 登录容器 shell,运行
yum install -y mailx
安装 mailx,然后再检查邮件是否能够收到 - 如果仍然收到不到邮件,请回复 收件地址 我们确认下邮件是否被收件服务器拦截
如果使用 从零开始安装 方式:
- 运行
yum install -y mailx
安装 mailx,然后再检查邮件是否能够收到 - 如果仍然收到不到邮件,请回复 收件地址 我们确认下邮件是否被收件服务器拦截
from codefever.
仍无法收到邮件, 已尝试Gmail QQ邮箱 Outlook
from codefever.
@Rabbit0w0 hi,你好,我们会对代码做更进一步的检查。目前已经确认,这大概率不是设置上问题。有进一步消息我们会在此 issue 内跟进。
from codefever.
@Rabbit0w0 问题已经修复,参照 Readme 文档中中的 如何更新
章节即可更新
from codefever.
未解决
顺便提交一个Bug, 重发单个邮箱的验证码时其他待验证邮箱也会显示已重发
from codefever.
@Rabbit0w0 还没有解决么 我先把 issue 打开 周一上班后我们再看看代码层面上有没有问题
from codefever.
@Rabbit0w0 问题已经解决了,按照 Readme 中的链接的更新步骤去更新。https://github.com/PGYER/codefever/blob/master/doc/zh-cn/admin/settings.md 文档会指导如何设置解析。
邮件从触发到接收到需要大概 2min 时间
如果还有什么问题请继续回复此 issue
from codefever.
Related Issues (20)
- 创建超过1个标签错误 HOT 2
- error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 HOT 10
- 关于功能建议 HOT 1
- k8s 环境下无法访问 HOT 13
- 关于登录上去仓库转圈圈的问题 HOT 5
- 在当前最新版(f2311b15)发现一个rce漏洞, 我应该如何与您联系? HOT 1
- 最新版docker部署报错 HOT 1
- Docker镜像安装遇到问题 HOT 3
- docker安装好,遇到的问题 HOT 1
- 增加CI/CD功能 HOT 1
- The Codefever has a Remote Command Execute Vulnerability In latest version HOT 1
- 系统迁移问题 HOT 5
- 使用ssh登录进codefever Docker HOT 1
- Web访问报错 Disallowed Key Characters. HOT 3
- 根据git地址导入项目 HOT 2
- 希望有windows Docker客户端 安装教程 HOT 1
- Webhook问题 HOT 1
- ldap集成认证 HOT 1
- 服务器更新,CodeFever 容器 重启后,整个应用被初始化,咨询原因 HOT 1
- docker运行后mail和cron在后台都显示未启动 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codefever.