README.md in gitlab-mail_room-0.0.9 vs README.md in gitlab-mail_room-0.0.10
- old
+ new
@@ -54,12 +54,12 @@
## Configuration ##
```yaml
---
:health_check:
- - :address: "127.0.0.1"
- :port: 8080
+ :address: "127.0.0.1"
+ :port: 8080
:mailboxes:
-
:email: "user1@gmail.com"
:password: "password"
:name: "inbox"
@@ -276,10 +276,10 @@
it's probably because the content-type is set to Faraday's default, which is `HEADERS['content-type'] = 'application/x-www-form-urlencoded'`. It can cause `Rack` to crash due to `InvalidParameterError` exception. When you send a post with `application/x-www-form-urlencoded`, `Rack` will attempt to parse the input and can end up raising an exception, for example if the email that you are forwarding contain `%%` in its content or headers it will cause Rack to crash with the message above.
## idle_timeout ##
By default, the IDLE command will wait for 29 minutes (in order to keep the server connection happy).
-If you'd prefer not to wait that long, you can pass `imap_timeout` in seconds for your mailbox configuration.
+If you'd prefer not to wait that long, you can pass `idle_timeout` in seconds for your mailbox configuration.
## Search Command ##
This setting allows configuration of the IMAP search command sent to the server. This still defaults 'UNSEEN'. You may find that 'NEW' works better for you.