SSL verification error in Mailroom incoming mail

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Using Debian 7.9 with Omnibus 8.1.2

2015-10-28_16:20:07.93997 Runit: starting mail_room
2015-10-28_16:20:14.63216 /opt/gitlab/embedded/lib/ruby/2.1.0/openssl/buffering.rb:61:in `sysread': SSL_read: bad message type (OpenSSL::SSL::SSLError)
2015-10-28_16:20:14.63217 	from /opt/gitlab/embedded/lib/ruby/2.1.0/openssl/buffering.rb:61:in `fill_rbuff'
2015-10-28_16:20:14.63218 	from /opt/gitlab/embedded/lib/ruby/2.1.0/openssl/buffering.rb:208:in `gets'
2015-10-28_16:20:14.63218 	from /opt/gitlab/embedded/lib/ruby/2.1.0/net/imap.rb:1167:in `get_response'
2015-10-28_16:20:14.63218 	from /opt/gitlab/embedded/lib/ruby/2.1.0/net/imap.rb:1089:in `receive_responses'
2015-10-28_16:20:14.63218 	from /opt/gitlab/embedded/lib/ruby/2.1.0/net/imap.rb:1075:in `block in initialize'
2015-10-28_16:20:14.71800 Runit: starting mail_room

Obviously it's because of a self-signed certificate, but this only started happening with Gitlab 8.1.2 and I'm not seeing any option to change IMAP SSL verification options.

Also Gitlab isn't even set to use SSL, nor has it ever been.

gitlab_rails['incoming_email_port'] = 143 # IMAP server port
gitlab_rails['incoming_email_ssl'] = false # Whether the IMAP server uses SSL
Edited Dec 04, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading