Redmine的 – 如何configuration邮件发送与后缀?

我安装了postfix作为我的smtp服务器,它工作正常,因为我可以发送电子邮件,例如通过input:

sendmail [email protected] 

和电子邮件交付正确。 但是现在我想让redmine发送通知给用户。 这是我的redmine安装信息:

 Environment: Redmine version 2.5.2.stable Ruby version 1.9.3-p547 (2014-05-14) [x86_64-linux] Rails version 3.2.19 Environment production Database adapter Mysql2 SCM: Subversion 1.8.8 Git 1.9.1 Filesystem Redmine plugins: no plugin installed 

和configuration.yml:

 default: # Outgoing emails configuration (see examples above) email_delivery: delivery_method: :sendmail smtp_settings: address: 127.0.0.1 port: 25 domain: dev.my-domain.org authentication: :login user_name: "" password: "" 

yml文件更改后,我每次都重新启动apache。 但是,当我尝试打开通知configuration页面时,我总是遇到以下错误:

电子邮件传递未configuration,并且通知被禁用。

config/configuration.ymlconfiguration您的SMTP服务器,并重新启动应用程序以启用它们。

如何处理?

你有没有检查你的config.action_mailer.perform_deliveries在config / environment.rb中是否为true?

你必须重启所有的,不仅仅是Apache。 我确实看到这个问题,我试着用“重新启动所有”