[horde] PHP IMAP Library - Accessing shared mailbox

Grouchy Sysadmin sysadmin at grouchysysadmin.com
Tue Dec 18 15:05:26 UTC 2018

On 12/18/18 6:24 AM, Dax wrote:
> Dear Horde people,
> Recently, I have found it useful to use shared mailboxes.
> The standard way of accessing shared mailboxes is not working with the
> Horde IMAP PHP library. The method is as follows;
> username = user at domain.com\sharedmailboxalias
> password = userpassword
> This method works with Thunderbird and Python's IMAPClient library, but not
> with Horde IMAP PHP library. I looked through the source code and tried
> many things, such as changing the encoding of the username and escaping the
>   backslash character, nothing worked.
> The error is: exception 'Horde_Imap_Client_Exception' with message 'Mail
> server denied authentication.'
> Have any of you gotten this to work?
> Is there something I'm doing wrong or missing? If not, when will this
> feature be available in the Horde IMAP library?
> Thank you for your time & kind regards,
> Dax

I'm a bit confused as to what you're trying to accomplish? For IMP, just 
set 'acl' => 'true', in the /imp/config/backends.local.php file. 
Assuming a properly working IMAP server, that's all you need.

Are you trying to do something different?

More information about the horde mailing list