Defect #24503

IMAP fetch ignores ssl switch

Added by Ragnar Nevries about 6 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Email receiving
Target version:-
Resolution: Affected version:3.3.1


In lib/redmine/imap.rb the line

ssl = !imap_options[:ssl].nil?

sets ssl to true whenever imap_options[:ssl] has any value.

So, if we call rake task redmine:email:receive_imap with argument "ssl=false" oder "ssl=0" or whatever, SSL is used anyway. The only way to disable SSL is to omit the "ssl=" argument, which is not very convenient if the command line for the task is generated by a script.

Also available in: Atom PDF