# Problem with Imap input plugin and Office 365 Public Folders

**URL:** <https://discuss.elastic.co/t/problem-with-imap-input-plugin-and-office-365-public-folders/194182>\
**Category:** Logstash\
**Created:** [August 7, 2019, 8:46am UTC](https://discuss.elastic.co/t/problem-with-imap-input-plugin-and-office-365-public-folders/194182 "2019-08-07T08:46:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaschaR](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SaschaR](https://discuss.elastic.co/u/SaschaR)\
**Post date:** [August 7, 2019, 8:46am UTC](https://discuss.elastic.co/t/problem-with-imap-input-plugin-and-office-365-public-folders/194182/1 "2019-08-07T08:46:54Z")

</div>

Hey there,

We have migrated from Kerio Mailserver to Office 365. On both Servers we have used Public Folders to get Mails with the imap input Plugin into Kibana.

Since this Migration, i'am not able to get Mails with the Imap Plugin.

Log:  
Error: "\IT\ServerNotify\5 - SES" doesn't exist.", :level=\>:error}

Previous Config Kerio: folder =\> "#public/ServerNotify/5 - SES"  
Current Config Outlook 365: folder =\> "\IT\ServerNotify\5 - SES"

PS C:\Windows\system32\> Get-PublicFolder -Recurse | where {($\_.MailEnabled -eq $True)}

Name Parent Path

* * *

5 - SES \IT\ServerNotify

Path: \IT\ServerNotify\5 - SES

Does anyone have Tipps to fix this?

regards

Sascha

---

<div class="post-metadata">

**Author:** ![SaschaR](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SaschaR](https://discuss.elastic.co/u/SaschaR)\
**Post date:** [August 7, 2019, 9:08am UTC](https://discuss.elastic.co/t/problem-with-imap-input-plugin-and-office-365-public-folders/194182/2 "2019-08-07T09:08:43Z")

</div>

regarding to this topic [Logstash Imap for shared mailbox](https://discuss.elastic.co/t/logstash-imap-for-shared-mailbox/51808/2) , i've removed the "Folder" and added user =\> "user@domain\5-SES", now iam getting the following Error: User is authenticated but not connected.", :level=\>:error}

regards

Sascha

---

<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:** [September 4, 2019, 9:08am UTC](https://discuss.elastic.co/t/problem-with-imap-input-plugin-and-office-365-public-folders/194182/3 "2019-09-04T09:08:44Z")

</div>

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