Project

General

Profile

Cannot retrieve IMAP mails after upgrading Redmine to 3.2.1

Added by Olivier Houdas almost 8 years ago

Hi all,
I'm facing a very weird issue.
Getting mails with the Redmine command redmine:email:receive_imap RAILS_ENV="production" ... worked fine on our server with Redmine 3.2.0.
When we upgraded to 3.2.1, it stopped working.
I tried adding log info in Redmine files to see what was happening, and although it was going inside Redmine:IMAP:check (in /lib/redmine/imap.rb, a log message made his way to Redmine's log from there) it was not entering at all inside /app/models/Mail_handler.rb (whereever I placed log messages, it didn't show up in Redmine's log).

Finally, I found a solution, by uninstalling mail 2.6.4, changing the Gemfile.lock file to indicate version 2.6.3, and it started working again.

Would anyone have an idea of where I could look out for logs containing info about what is happening, if no error at all is logged in Redmine's log? I checked Phusion passenger logs, but it contained nothing about the error neither.

Our server is running on Centos 6.6, Apache, Ruby on Rails 2.0.0p247. I have a test server on which I can break gems' code temporarily if necessary.

Thank you for your help - I have a workaround, but I need to be careful each time I upgrade Redmine as mail comes back in version 2.6.4 when I run bundle install on a new version...