logstash/logstash — pull request #542 by luxflux (2013-07-08 07:25:10+00:00)
Title: Imap input mark read

This "fixes" https://twitter.com/rafschmid/status/353144884225523712 .

I had to add ```require "stud/interval"``` otherwhise it could not start:

```
bin/logstash agent -e 'input { imap { type => mail host => "mail.example.org" user => "raftest@example.org" password => pass123 } }'

Using milestone 1 input plugin 'imap'. This plugin should work, but would benefit from use by folks like you. Please let us know if you find bugs or have suggestions on how to improve this plugin. For more information on plugin milestones, see http://logstash.net/docs/1.2.0.dev/plugin-milestones {:level=>:warn}
A plugin had an unrecoverable error. Will restart this plugin.
Plugin: "mail", host=>"mail.nine.ch", user=>"raftest@nine.ch", charset=>"UTF-8">
Error: undefined method `interval' for Stud:Module {:level=>:error}
A plugin had an unrecoverable error. Will restart this plugin.
Plugin: "mail", host=>"mail.nine.ch", user=>"raftest@nine.ch", charset=>"UTF-8">
Error: undefined method `interval' for Stud:Module {:level=>:error}
```