Code Monkey home page Code Monkey logo

Comments (9)

cubicwork avatar cubicwork commented on June 14, 2024

@Rabbit0w0 发送邮件需要有以下设置:

  1. 保证你的机器或服务器出网络 25 端口需要开放,这个需要联系你的主机或网络提供商,国内大部分主机提供商都是默认封禁出方向 25 端口,需要提工单申请。可以使用 telnet mx1.qq.com 25 来判断你的主机是否开放网络出方向 25 端口。
  2. 你需要解析 A 记录 到你的主机 ip 上,并且解析同名 MX 到你的 A 记录记录值上
  3. 你需要添加 SPF 解析记录,一般是一个 TXT 解析,值一般为 v=spf1 ip4:IP ~all
  4. (可选) 你需要解析 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.

Rabbit0w0 avatar Rabbit0w0 commented on June 14, 2024

image
image
image

然而事实上好像雀实发不出去

from codefever.

cubicwork avatar cubicwork commented on June 14, 2024

@Rabbit0w0 您好,我们仔细的检查了一下 docker 容器的环境和安装文档,此问题的出现可能不是你的问题,我们的 docker 镜像没有预安装 mailx 服务。此问题会在下次更新时修复。

你也可以通过以下方式尝试修复此问题:

如果是 docker 方式:

  1. 登录容器 shell,运行 yum install -y mailx 安装 mailx,然后再检查邮件是否能够收到
  2. 如果仍然收到不到邮件,请回复 收件地址 我们确认下邮件是否被收件服务器拦截

如果使用 从零开始安装 方式:

  1. 运行 yum install -y mailx 安装 mailx,然后再检查邮件是否能够收到
  2. 如果仍然收到不到邮件,请回复 收件地址 我们确认下邮件是否被收件服务器拦截

from codefever.

Rabbit0w0 avatar Rabbit0w0 commented on June 14, 2024

image

仍无法收到邮件, 已尝试Gmail QQ邮箱 Outlook

from codefever.

cubicwork avatar cubicwork commented on June 14, 2024

@Rabbit0w0 hi,你好,我们会对代码做更进一步的检查。目前已经确认,这大概率不是设置上问题。有进一步消息我们会在此 issue 内跟进。

from codefever.

cubicwork avatar cubicwork commented on June 14, 2024

@Rabbit0w0 问题已经修复,参照 Readme 文档中中的 如何更新 章节即可更新

from codefever.

Rabbit0w0 avatar Rabbit0w0 commented on June 14, 2024

image
image

未解决

顺便提交一个Bug, 重发单个邮箱的验证码时其他待验证邮箱也会显示已重发

from codefever.

cubicwork avatar cubicwork commented on June 14, 2024

@Rabbit0w0 还没有解决么 我先把 issue 打开 周一上班后我们再看看代码层面上有没有问题

from codefever.

cubicwork avatar cubicwork commented on June 14, 2024

@Rabbit0w0 问题已经解决了,按照 Readme 中的链接的更新步骤去更新。https://github.com/PGYER/codefever/blob/master/doc/zh-cn/admin/settings.md 文档会指导如何设置解析。
邮件从触发到接收到需要大概 2min 时间
如果还有什么问题请继续回复此 issue

from codefever.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.