# Logstash Imap for shared mailbox

**URL:** <https://discuss.elastic.co/t/logstash-imap-for-shared-mailbox/51808>\
**Category:** Logstash\
**Created:** [June 3, 2016, 3:39pm UTC](https://discuss.elastic.co/t/logstash-imap-for-shared-mailbox/51808 "2016-06-03T15:39:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Alex.C](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Alex.C](https://discuss.elastic.co/u/Alex.C)\
**Post date:** [July 5, 2016, 3:21pm UTC](https://discuss.elastic.co/t/logstash-imap-for-shared-mailbox/51808/2 "2016-07-05T15:21:31Z")

</div>

Hello,

Actually, I finally found out the issue.  
I was using the full mail address instead of alias of mailbox.  
So the working syntax are :

> input {  
> imap {  
> host =\> "[outlook.office365.com](http://outlook.office365.com)"  
> user =\> "[user@mydomain.com](mailto:user@mydomain.com)\sharedmailboxAlias"  
> password =\> "myUserPassWord"  
> secure =\> true  
> }   
> }

The **sharedmailboxAlias** is not the address mail but the alias of the shared mailbox.

Best regards,  
Alex.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-imap-for-shared-mailbox/51808)._
