LogStash Exception: Net::IMAP::ResponseParseError


(mettukudisai) #1

C:\Logstash\logstash-6.1.2\logstash-6.1.2\bin>logstash -f emaillog.conf

after execute the conf file:

Following Config file using to get the email data:

input {
imap {
type => mail
host => "webmail.mydomain.com"
user => "XXXX"
password => "XXXX"
port => 995
}
}
filter {
if [type] == "mail" {
mutate {
remove_field => [ "received" ]
}
}
}
output {
elasticsearch {
index => "emails"
hosts => "localhost:9200"
}
}

error:
Error: unexpected token ATOM (expected SPACE)
Exception: Net::IMAP::ResponseParseError
Stack: C:/ProjectKibana/Logstash/logstash-6.1.2/logstash-6.1.2/vendor/jruby/li
/ruby/stdlib/net/imap.rb:3419:in `parse_error'


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.