# Logstash imap input plugin

**URL:** <https://discuss.elastic.co/t/logstash-imap-input-plugin/39336>\
**Category:** Logstash\
**Created:** [January 15, 2016, 2:57pm UTC](https://discuss.elastic.co/t/logstash-imap-input-plugin/39336 "2016-01-15T14:57:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkoleff](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@nkoleff](https://discuss.elastic.co/u/nkoleff)\
**Post date:** [January 15, 2016, 2:57pm UTC](https://discuss.elastic.co/t/logstash-imap-input-plugin/39336/1 "2016-01-15T14:57:42Z")

</div>

Hello,

For some time now my imap input is failing with End of file reached and I'm wondering what could be the problem with it. It's working for like 10 to 15 minutes and then suddenly stops with that message:

> {:timestamp=\>"2016-01-15T16:10:28.107000+0200", :message=\>"A plugin had an unrecoverable error. Will restart this plugin.\n Plugin: \<LogStash::Inputs::IMAP port=\>993, host=\>"outlook.office365.com", user=\>"some-email@here.com", password=\>, check\_interval=\>65, fetch\_count=\>200, type=\>"mails", secure=\>true, verify\_cert=\>false, folder=\>"INBOX", codec=\>\<LogStash::Codecs::Plain charset=\>"UTF-8"\>, lowercase\_headers=\>true, delete=\>false, content\_type=\>"text/plain"\>\n **Error: end of file reached**", :level=\>:error}

---

<div class="post-metadata">

**Author:** ![nkoleff](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@nkoleff](https://discuss.elastic.co/u/nkoleff)\
**Post date:** [January 18, 2016, 8:26am UTC](https://discuss.elastic.co/t/logstash-imap-input-plugin/39336/2 "2016-01-18T08:26:11Z")

</div>

Anyone?

---

<div class="post-metadata">

**Author:** ![nkoleff](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@nkoleff](https://discuss.elastic.co/u/nkoleff)\
**Post date:** [February 3, 2016, 7:41am UTC](https://discuss.elastic.co/t/logstash-imap-input-plugin/39336/3 "2016-02-03T07:41:21Z")

</div>

This still continues and I'm wondering if someone could help with it?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 5:13am UTC](https://discuss.elastic.co/t/logstash-imap-input-plugin/39336/4 "2017-07-06T05:13:17Z")

</div>


