Redmine - how to configure email sending with postfix?
5,150
Did you check if your config.action_mailer.perform_deliveries
is true in config/environment.rb?
Related videos on Youtube
Author by
b4rt3kk
Updated on September 18, 2022Comments
-
b4rt3kk over 1 year
I've installed postfix as my smtp server and it works fine, cuz I can send e-mails, for example by typing:
sendmail [email protected]
and e-mail is delivered corectly. But now I would like that redmine would send notifications to the users. That's my redmine installation info:
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
And the 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: ""
After changes of yml file I've restarted apache every time of course. But all the time I'm getting following error when trying to open notifications config page:
Email delivery is not configured, and notifications are disabled.
Configure your SMTP server in
config/configuration.yml
and restart the application to enable them.How to deal with it?
-
b4rt3kk over 9 yearsYes I did, it was set to false, but I switched it to true.