Defect #11337
closedNo mail notifications sent after upgrade
Description
After I'v upgraded Redmine from 1.4.3 to 2.0.3 it stopped sending mail notifications.
The configuration file seems OK (didn't change) but I didn't see anything from the associated email mailbox in /var/log/mail.log.
Also there are no more 'Sending email notification to: ...' lines in Redmine's log.
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.7.2
Rack version 1.4
Rails version 3.2.6
Active Record version 3.2.6
Action Pack version 3.2.6
Active Resource version 3.2.6
Action Mailer version 3.2.6
Active Support version 3.2.6
Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x7f28c791a630>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
Application root /opt/redmine/optimaster
Environment production
Database adapter sqlite3
Database schema version 20120422150750
What other information do you need to fix this bug?
Files
Updated by Etienne Massip over 14 years ago
What's your email configuration looks like?
Updated by Etienne Massip over 14 years ago
- Priority changed from High to Normal
Updated by Krisztian Kocsis over 14 years ago
- File configuration.yml configuration.yml added
I'v attached my config file.
Updated by Etienne Massip over 14 years ago
Do you have lines in your production.log telling that the application is parsing mailer views (a.k.a. mailer/*anything*)?
Updated by Krisztian Kocsis over 14 years ago
Updated by Etienne Massip over 14 years ago
Does it work when you change all async_smtp_ to smtp_ (i.e., use synchronous notifications) in your configuration?
Updated by Krisztian Kocsis over 14 years ago
Previously it was smtp_.
Tried, did not help.
Updated by Etienne Massip over 14 years ago
Does test mail work?
Updated by Krisztian Kocsis over 14 years ago
Okay, it is not a bug, it is a misconfiguration.
Some default ActionMailer config may changed.
I had to set enable_starttls_auto to false since there was a hostname does not match CN problem.
Updated by Etienne Massip over 14 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Krisztian Kocsis wrote:
I had to set enable_starttls_auto to false since there was a hostname does not match CN problem.
Where could you see this error message please?
Updated by Krisztian Kocsis over 14 years ago
On Settings -> Email notifications page after I tried to send the test email.
Updated by Krisztian Kocsis over 14 years ago
There was something else instead of CN!
Updated by Fernando Hartmann about 14 years ago
Krisztian Kocsis wrote:
There was something else instead of CN!
It happened in my 2.0.4 install too, and the error is
Yes, my email server has configuration problems, but worked well with Redmine 1.4.4. I needed include enable_starttls_auto: false in configuration to work again.
My configuration.yml now is likely