Logstash imap input plugin. Want to trash mail. Error: undefined local variable or method `id_set'

(Benny Kjellgren) #1


I want the IMAP plugin to delete mail. I found undocumented settings

delete => true
expunge => true

But then I get

Plugin: <LogStash::Inputs::IMAP host=>"xxxxxx", password=>, user=>"xxxxxx", secure=>false, type=>"imap", delete=>true, expunge=>true, id=>"2669af6baf02b6bf8e3f352858bbbaef65814f4c-13", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_832f7c10-a7f9-4d39-98df-53d738776fa4", enable_metric=>true, charset=>"UTF-8">, verify_cert=>true, folder=>"INBOX", fetch_count=>50, lowercase_headers=>true, check_interval=>300, strip_attachments=>false, content_type=>"text/plain">
Error: undefined local variable or method `id_set' for #LogStash::Inputs::IMAP:0x77365167

Anybody that have manage to get the imap plugin to delete mails ?

I am running Logstash 1:5.0.1-1 on Ubuntu


(system) #2

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