Logstash IMAP issues

I seem to be unable to get the logstash IMAP plugin working.

I have a logstash 1.4/elasticsearch/kibana setup which is working well. all
pretty standard stuff.

However when i create an input on my logstash host to go off and pull back
mail info using the imap plugin.
I cant seem to get it to work.

Below is my input configuration

input {
imap {
type => "mail"
check_interval => 300
content_type => "text/plain"
delete => "false"
host => ""
port => 993
password => ""
secure => "false"
user => ""

no matter what i do i get the following error.

{:timestamp=>"2014-10-28T12:25:31.802000+0000", :message=>"A plugin had an
unrecoverable error. Will restart this plugin.\n Plugin:
<LogStash::Inputs::IMAP type=>"mail", content_type=>"text/plain",
host=>"", user=>"-logs@mailserver.com">\n Error: Connection
refused - Connection refused", :level=>:error}

ive checked the network and packets are going back and forth fine.

My question is.. do i need to reconfigure this to use a logstash forwarder
config on the mail server itself or am i doing something else really stupid


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c057d779-8042-4557-9d1e-05b9f42616d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1 Like