Actions
Defect #19960
openreceive_imap rake task does not connect to Office 365
Defect #19960:
receive_imap rake task does not connect to Office 365
Status:
New
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Resolution:
Affected version:
Description
Hello,
I configured mail receiving with my Office 365 IMAP settings.
When I run the rake task I get:
"OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed"
thrown at lib/redmine/imap.rb:30.
After a little research, I found out that changing line 30 from:imap = Net::IMAP.new(host, port, ssl)
to:imap = Net::IMAP.new(host, port, ssl, nil, false)
solves the problem.
Does this change imply some security issue?
Could this be made default, or perhaps exposed to a admin setting?
Additional info: running Bitnami stack on Windows 7.
Actions