我的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'
错误:
(权限被拒绝 - 连接(2)为&#34; smtp.bsservices.com.br&#34;端口587)
错误2:
App 6529 stderr:保存附件&#39; /var/www/redmine/files/2016/12/161223114939_app_creator.PNG' (79469字节) App 6529 stderr:在18ms内完成500内部服务器错误(ActiveRecord:2.5ms) App 6529 stderr: App 6529 stderr:Errno :: EACCES(权限被拒绝@ rb_sysopen - /var/www/redmine/files/2016/12/161223114939_app_creator.PNG): App 6529 stderr:app / models / attachment.rb:109:
initialize' App 6529 stderr: app/models/attachment.rb:109:in
打开&#39; App 6529 stderr:app / models / attachment.rb:109:files_to_final_location' App 6529 stderr: app/controllers/attachments_controller.rb:90:in
上传&#39;
我已将所有权限(777)授予该文件夹。
任何帮助?
答案 0 :(得分:0)
问题的根本原因是Redmine无法连接到邮件服务器以实际发送邮件。这可能有多种原因之一: