Author Topic: Failure with office365 shared inbox  (Read 4152 times)

Offline Teemu Keinonen

  • Newbie
  • *
  • Posts: 3
Failure with office365 shared inbox
« on: August 30, 2015, 08:16:33 AM »
Hi, I'm trying to access shared inbox in Office365, unsuccessfully. Authentication is OK but mail is not shown. Below is IMAP log. Is this a known issue and is there a way around this?

[30-Aug-2015 14:24:34 +0300]: <cvnbf2jq> [FCE0] S: * OK The Microsoft Exchange IMAP4 service is ready. [VgBJADEAUABSADAANQBDAEEAMAAwADEANgAuAGUAdQByAHAAcgBkADAANQAuAHAAcgBvAGQALgBvAHUAdABsAG8AbwBrAC4AYwBvAG0A]
[30-Aug-2015 14:24:34 +0300]: <cvnbf2jq> [FCE0] C: A0001 CAPABILITY
[30-Aug-2015 14:24:34 +0300]: <cvnbf2jq> [FCE0] S: * CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS MOVE ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
[30-Aug-2015 14:24:34 +0300]: <cvnbf2jq> [FCE0] S: A0001 OK CAPABILITY completed.
[30-Aug-2015 14:24:34 +0300]: <cvnbf2jq> [FCE0] C: A0002 ID ("name" "Roundcube" "version" "1.1.2" "php" "5.5.27" "os" "Darwin" "command" "/rcm/?_task=login")
[30-Aug-2015 14:24:34 +0300]: <cvnbf2jq> [FCE0] S: * ID ("name" "Microsoft.Exchange.Imap4.Imap4Server" "version" "15.1")
[30-Aug-2015 14:24:34 +0300]: <cvnbf2jq> [FCE0] S: A0002 OK ID completed
[30-Aug-2015 14:24:34 +0300]: <cvnbf2jq> [FCE0] C: A0003 AUTHENTICATE PLAIN ****** [69]
[30-Aug-2015 14:24:35 +0300]: <cvnbf2jq> [FCE0] S: A0003 OK AUTHENTICATE completed.
[30-Aug-2015 14:24:35 +0300]: <cvnbf2jq> [FCE0] C: A0004 NAMESPACE
[30-Aug-2015 14:24:36 +0300]: <cvnbf2jq> [FCE0] S: A0004 BAD User is authenticated but not connected.
[30-Aug-2015 14:24:36 +0300]: <cvnbf2jq> [FCE0] C: A0005 LIST "" ""
[30-Aug-2015 14:24:36 +0300]: <cvnbf2jq> [FCE0] S: A0005 BAD User is authenticated but not connected.
[30-Aug-2015 14:24:36 +0300]: <cvnbf2jq> [FCE0] C: A0006 CAPABILITY
[30-Aug-2015 14:24:36 +0300]: <cvnbf2jq> [FCE0] S: * BYE Connection closed. 14

Offline Teemu Keinonen

  • Newbie
  • *
  • Posts: 3
Re: Failure with office365 shared inbox
« Reply #1 on: August 31, 2015, 12:30:46 AM »
Forgot to mention that shared inboxes are accessed with credentials like this:

sharedinbox@company.com/inbox.user@company.com

Any leads on this?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: Failure with office365 shared inbox
« Reply #2 on: August 31, 2015, 03:20:21 AM »
A quick search suggests that you've got the password wrong and the error from Exchange IMAP is misleading http://unix.stackexchange.com/questions/164823/user-is-authenticated-but-not-connected-after-changing-my-exchange-password
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline Teemu Keinonen

  • Newbie
  • *
  • Posts: 3
Re: Failure with office365 shared inbox
« Reply #3 on: August 31, 2015, 07:54:10 AM »
Hi,

That can't be the case, I can log in fine to my own account with the password. How do I specify to roundcube that I want to log in to the shared mail account that my main mail account has credentials to?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: Failure with office365 shared inbox
« Reply #4 on: August 31, 2015, 11:07:38 AM »
Well ok. Like I said it was only a quick search. I have never tried to access Exchange mailboxes via IMAP. Are you sure what you are trying to do is supported by MS? I have see a few old posts in the MS community that say support for it was removed in Exchange 2013. I found another post that using a special username might do the trick.

Roundcube does not support using different usernames for different folders. I guess it might be possible to do using a plugin because plugins can manipulate the username but I'm not sure about just for specific folders.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…