zoukankan      html  css  js  c++  java
  • Linode 虚拟主机安装 discourse 邮件没有发送

    discourse 在安装的时候对电子的依赖性非常强。

    linode VPS 安装后 discourse 的电子邮件始终没有办法发送成功。


    discourse 在安装完成后,需要对电子邮件进行校验。如果你不配置 SMTP 服务器的话,你的 discourse 是没有办法完成安装的。

    很多时候如果你测试的话,你可能会使用你的私人邮件服务器进行 SMTP 测试,如果你是站长的话,你应该使用商业的电子邮件服务器。商业电子邮件服务器能够提供更好的功能,能够对发送的邮件进行跟踪,更主要的是发送量和每秒钟的发送速率能够更高,能够实现批量发送邮件。

    如果你怕麻烦也怕绑定信用卡的话,你也可以使用 AWS 的 SES 邮件服务,其实功能都差不多,还更加便宜,但是 SES 对发送的电子邮件处理就不是那么好了,你不知道你发送的邮件有没有被打开。

    linode VPS 在安装完成后是默认关闭 587 端口的,主要原因是可能虚拟主机服务商避免很多人申请一个非常便宜的 VPS,然后大量发送垃圾邮件。

    你可以在你的账号下提交工单让 linode 帮你打开 587 端口,一般来说他们都会回复你一个下面的内容:

    Hello,
    
    To help combat spam on our platform, new Linode accounts have SMTP port restrictions in place on all Linodes by default. We have lifted these restrictions from your account, though we ask that you configure rDNS for any mailing Linodes you deploy.
    
    Our guides on configuring DNS and rDNS records within the Linode Manager are linked below:
    
    https://www.linode.com/docs/platform/manager/dns-manager/#add-dns-records
    https://www.linode.com/docs/networking/dns/configure-your-linode-for-reverse-dns/
    
    Once your DNS configuration is complete, you can confirm that these records have been configured correctly by running the following commands:
    
    “dig +short $URL” for checking the A record
    “dig -x $IP +short” for checking rDNS
    
    If you plan on using the Linode(s) for business related mailing now or in the future, do keep in mind that we require business mailing to adhere to the CAN-SPAM act.
    
    Finally, we recommend you review Section 2 ("Abuse") of our Acceptable Use Policy. Terms of Service or AUP violations may result in the reinstatement of SMTP port restriction or account termination.
    
    Let us know if you have any questions for us, and we’ll be happy to help.
    
    Best wishes,
    Jack
    Linode Support Team

    主要用途是校验你的 DNS 和 rDNS,我们就是按照上面的文章,将 DNS 和 rDNS 配置好以后,将运行的命令结果发给他们。

    一般情况下顺利的话 1 到 2 个小时就开通了,主要是因为 VPS 提供商希望知道你的服务器是干什么用的,你的邮件发送已经绑定了域名。相对来说如果你使用商业邮件发送服务器,这里就能够帮你省下很多事情。

    discourse 的安装需要邮件服务器配置,否则你都装不下去,但是 很多虚拟主机又关闭了 587 端口。所以你在安装 discourse  的时候,需要先联系你的服务器提供商,将 587 端口打开。

    https://www.cwiki.us/display/CWIKIKB/questions/62620012

  • 相关阅读:
    共享内存创建shmget控制操作shmat,shmctl
    信号量的基本概念与使用semget,semop
    消息队列的应用实例
    消息队列的创建与读写ftok,msgget,msgsnd,msgrcv,指令ipcs,ipcrm 查看,删除消息队列
    获取和设置消息队列的属性msgctl,删除消息队列
    消息队列的基本概念
    有名管道的应用实例,创建两个有名管道实现全双工通信,两个进程间的聊天
    有名管道mkfifo
    管道pipe与dup结合使用,应用实例
    HDU 2594 Simpsons’ Hidden Talents
  • 原文地址:https://www.cnblogs.com/huyuchengus/p/12920712.html
Copyright © 2011-2022 走看看