zoukankan      html  css  js  c++  java
  • RedMine Email notifications configure for MS Exchange

    Boss需要用到RedMine(project management) open source.

    由于不熟悉MS的SMTP服务,BOSS说他配好了,然后配置到Email notification时候,遭遇到 “redmine An error occurred while sending mail (550 5.7.1 Unable to relay for *.com )”,找到一篇文章 这里 ,里面谈到,应该是本地的SMTP服务没设置到,解决方案在这里 ,原来要设置本机的ip能够access SMTP服务才可以,明显,被老板坑了。

    BOSS还在SMTP里面设置了所有的邮件Forward到公司的Email Server,所以RedMine不需要配置密码了,所以/config/configuration 是这样的:

    default:
      email_delivery:
        delivery_method: :smtp
        smtp_settings:
          address: your_email_server.com
          port: 25
          domain: your_domain.com
          authentication: :none
          enable_starttls_auto: false
          openssl_verify_mode: 'none'

    其中:

    enable_starttls_auto: false
    openssl_verify_mode: 'none'
    

    是关键配置,不然会报 “An error occurred while sending mail (hostname does not match the server certificate)”的错误。

  • 相关阅读:
    【Linux】ZeroMQ 在 centos下的安装
    ZeroMQ下载、编译和使用
    在Linux系统上安装Git
    Linux下python2.7安装pip
    [Tyvj1474]打鼹鼠
    [BZOJ2908]又是nand
    [SPOJ375]Qtree
    浅谈算法——树链剖分
    [BZOJ5368/Pkusc2018]真实排名
    [FJOI2007]轮状病毒
  • 原文地址:https://www.cnblogs.com/hui314/p/redmine_configureation_for_ms_exchange.html
Copyright © 2011-2022 走看看