Installed version 3.2.1 logstash-input-imap on Elastic/logstash 8.11.1 and I get this error:
ERROR][logstash.inputs.imap ][main][b9cf826e6bcb4a03aae915640362d7e31ff45aa3980afc12c3cca2a437c6e280] Encountered error Net::IMAP::Error {:message=>"No server greeting - connection closed", :backtrace=>["/opt/logstash/vendor/bundle/jruby/3.1.0/gems/net-imap-0.4.10/lib/net/imap.rb:2598:in get_server_greeting'", "/opt/logstash/vendor/bundle/jruby/3.1.0/gems/net-imap-0.4.10/lib/net/imap.rb:2588:in
start_imap_connection'", "/opt/logstash/vendor/bundle/jruby/3.1.0/gems/net-imap-0.4.10/lib/net/imap.rb:914:in initialize'", "/opt/logstash/vendor/bundle/jruby/3.1.0/gems/net-imap-0.4.10/lib/net/imap/deprecated_client_options.rb:74:in
initialize'", "org/jruby/RubyClass.java:917:in new'", "/opt/logstash/vendor/bundle/jruby/3.1.0/gems/logstash-input-imap-3.2.1/lib/logstash/inputs/imap.rb:128:in
connect'", "/opt/logstash/vendor/bundle/jruby/3.1.0/gems/logstash-input-imap-3.2.1/lib/logstash/inputs/imap.rb:143:in check_mail'", "/opt/logstash/vendor/bundle/jruby/3.1.0/gems/logstash-input-imap-3.2.1/lib/logstash/inputs/imap.rb:136:in
block in run'", "/opt/logstash/vendor/bundle/jruby/3.1.0/gems/stud-0.0.23/lib/stud/interval.rb:20:in interval'", "/opt/logstash/vendor/bundle/jruby/3.1.0/gems/logstash-input-imap-3.2.1/lib/logstash/inputs/imap.rb:135:in
run'", "/opt/logstash/logstash-core/lib/logstash/java_pipeline.rb:414:in inputworker'", "/opt/logstash/logstash-core/lib/logstash/java_pipeline.rb:405:in
block in start_input'"]}
dovecot IMAP is running without ssl and logstash config has secure and verify ssl to false.
logstash-input-imap 3.0.7 works on elasticsearch 7.x just fine with same dovecat server!
I even created a sever greeting on dovecat. Something is not right with the logstash input imap plugin.