无法从redmine bitnami发送电子邮件通知(不是来自gmail)

时间:2016-07-22 13:15:31

标签: ubuntu redmine bitnami

Redmine - 从VM下载的Ubuntu 14.04: https://bitnami.com/stack/redmine/virtual-machine 64位版本

我的configuration.yml包含:

default:
email_delivery:
        delivery_method: :smtp
        smtp_settings:
          openssl_verify_mode: 'none'
          enable_starttls_auto: false
          address: mail.e-bielsko.net
          port: '465'
          #domain: mail.e-bielsko.net
          authentication: :plain
          user_name: user
          password: "pass"

或第二个conf:

    email_delivery:
      delivery_method: :sendmail

如果有这样的配置redmine没有启动。我有这样一个错误:

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

apache2 last error_log: http://pastebin.com/thyw66pn

使用gmail进行配置。

如何使用例如:sendmail?

1 个答案:

答案 0 :(得分:0)

我添加了 ssl:true ,所以我的配置现在看起来:

default:
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      enable_starttls_auto: false
      address: "mail.e-bielsko.net"
      port: '465'
      ssl: true
      domain: "mail.e-bielsko.net"
      authentication: :login
      user_name: "name@name"
      password: "passwd"

知道如何运行sendmail会很高兴,但我很高兴它现在有效:)