【发布时间】:2017-05-04 22:39:21
【问题描述】:
我的 redmine 工作正常。但是,电子邮件通知不起作用。
我正在使用:
Environment:
Redmine version 3.0.3.stable
Ruby version 2.2.2-p95 (2015-04-13) [x86_64-linux]
Rails version 4.2.1
Environment production
Database adapter Mysql2
SCM:
Filesystem
Redmine plugins:
no plugin installed
configuration.yml:
default:
# Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :smtp
smtp_settings:
address: "smtp.bsservices.com.br"
port: 587
domain: "smtp.bsservices.com.br"
authentication: :login
user_name: '<user>@bsservices.com.br'
password: '<password>'
openssl_verify_mode: 'none'
错误:
(权限被拒绝 - “smtp.bsservices.com.br”端口 587 的连接(2))
错误 2:
App 6529 标准错误:保存附件“/var/www/redmine/files/2016/12/161223114939_app_creator.PNG”(79469 字节) 应用程序 6529 标准错误:在 18 毫秒内完成 500 内部服务器错误(ActiveRecord:2.5 毫秒) 应用 6529 标准错误: 应用程序 6529 标准错误:Errno::EACCES(权限被拒绝 @ rb_sysopen - /var/www/redmine/files/2016/12/161223114939_app_creator.PNG): 应用程序 6529 标准错误:app/models/attachment.rb:109:in
initialize' App 6529 stderr: app/models/attachment.rb:109:inopen' 应用 6529 标准错误:app/models/attachment.rb:109:infiles_to_final_location' App 6529 stderr: app/controllers/attachments_controller.rb:90:inupload'
我已经授予文件夹的所有权限 (777)。
有什么帮助吗?
【问题讨论】:
-
(1) 您发布的 YAML 语法无效。请编辑您的问题并确保缩进与原始文件中的缩进完全相同。 (2) YAML 文件中配置的主机名与错误消息中的主机名不匹配。您实际使用的是哪一个?
-
霍尔格...我的错。我修正了描述。