Project

General

Profile

Actions

Defect #19960

open

receive_imap rake task does not connect to Office 365

Added by Gustavo Regal over 9 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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

Also available in: Atom PDF