kopano-gateway version 8.5.4: Error in generating message

When I select the folder in thunderbird, the following errors appear reproducibly in the kopano-gateway.log.

Sat Mar  3 07:57:54 2018: [kopano-gateway|T4347] [=======] Starting kopano-gateway version 8.5.4 (pid 4347)
Sat Mar  3 07:58:04 2018: [ZGateway IMAPs|T4413] [warning] Error in generating message 172 for user klaus in folder INBOX/xxx/xxx/xxx
Sat Mar  3 07:58:04 2018: [ZGateway IMAPs|T4413] [warning] {?} Error fetching mail
Sat Mar  3 07:58:04 2018: [ZGateway IMAPs|T4413] [warning] Error in generating message 195 for user klaus in folder INBOX/xxx/xxx/xxx
Sat Mar  3 07:58:04 2018: [ZGateway IMAPs|T4413] [warning] {?} Error fetching mail
Sat Mar  3 07:58:04 2018: [ZGateway IMAPs|T4413] [warning] Error in generating message 263 for user klaus in folder INBOX/xxx/xxx/xxx
Sat Mar  3 07:58:04 2018: [ZGateway IMAPs|T4413] [warning] {?} Error fetching mail
Sat Mar  3 07:58:04 2018: [ZGateway IMAPs|T4413] [warning] Error in generating message 393 for user klaus in folder INBOX/xxx/xxx/xxx
Sat Mar  3 07:58:04 2018: [ZGateway IMAPs|T4413] [warning] {?} Error fetching mail

@klausf Thanks for the report.

One of our developers has picked up the issue and created a PR to " improve error reporting around IMToINet"
https://stash.kopano.io/projects/kc/repos/kopanocore/pull-requests/1736/overview

This PR will probably be released with 8.5.5

- Joost