6.0.0-beta1
7/6/25

[#12426] Creating Accounts with IMAP fail
Summary Creating Accounts with IMAP fail
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester lst_hoe02 (at) kwsoft (dot) de
Created 07/03/2013 (4386 days ago)
Due
Updated 07/16/2013 (4373 days ago)
Assigned 07/03/2013 (4386 days ago)
Resolved 07/16/2013 (4373 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/16/2013 10:37:41 PM Michael Slusarz Comment #7
State ⇒ Resolved
Reply to this comment
Horde_Auth 2.0.6.
07/16/2013 10:37:32 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit b9bfeff44023065c13caf06e4bcc277fec354edd
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Jul 16 16:25:51 2013 -0600

     [mms] Fix adding/deleting users via IMAP administration (Bug #12426).

  framework/Auth/lib/Horde/Auth/Imap.php |   16 ++++++++++++----
  framework/Auth/package.xml             |    4 ++--
  2 files changed, 14 insertions(+), 6 deletions(-)

http://git.horde.org/horde-git/-/commit/b9bfeff44023065c13caf06e4bcc277fec354edd
07/16/2013 08:24:25 PM lst_hoe02 (at) kwsoft (dot) de Comment #5 Reply to this comment
*What* are you doing to reproduce (i.e. steps in the UI).

I can create a mailbox in my personal namespace, which is all I have 
tried since there is no further details here.
We have a horde "admin" user which should be able to create accounts 
by IMAP with this in backends.local.php:

       'admin' => array(
           'user' => 'cyrus',
           'password' => 'some-password',
           'userhierarchy' => 'user.'

As logged-in admin go to administration->users type in account-name 
and password and press add-user.
Horde is configured to let IMP handle authentication.

This worked fine in older releases but stoppen working around Horde 
5.x (now Horde 5.1.1).
07/16/2013 05:51:30 PM Michael Slusarz Comment #4 Reply to this comment
*What* are you doing to reproduce (i.e. steps in the UI).

I can create a mailbox in my personal namespace, which is all I have 
tried since there is no further details here.
07/16/2013 10:36:16 AM lst_hoe02 (at) kwsoft (dot) de Comment #3 Reply to this comment
A tcpdump shows that Horde send a

"CREATE user."

which obviously result in

"NO Invalid mailbox name"

So the question is why Horde ignores the choosen mailbox name. It 
would be interesting to see the config for thoose installations where 
it actually works to create a mailbox.

07/15/2013 07:23:39 PM Michael Slusarz Comment #2 Reply to this comment
Can't reproduce.
07/03/2013 03:29:01 PM Jan Schneider State ⇒ Assigned
Assigned to Michael Slusarz
 
07/03/2013 03:10:58 PM lst_hoe02 (at) kwsoft (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Creating Accounts with IMAP fail
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
With the latest Horde/IMP Version the creation of mailboxes fail if 
IMP as authentication is used. This worked as expected in older 
versions.

Setup is Cyrus 2.4.17 wit latest Horde/IMP and the following 
backends.local.php:
$servers['advanced'] = array(
     'disabled' => false,
     'name' => 'MAILER',
     'hostspec' => 'mailer.kwsoft.de',
     'port' => 143,
     'secure' => 'tls',
     'protocol' => 'imap',
     'maildomain' => '',
     'smtp' => array(
     //    'auth' => true,
     //    'localhost' => 'localhost',
     //    'host' => 'smtp.example.com',
     //    'password' => null,
     //    'port' => 25,
     //    'username' => null
     ),
      'admin' => array(
          'user' => 'cyrus',
          'password' => 'some-password',
          'userhierarchy' => 'user.'
      ),
     'quota' => array(
         'driver' => 'imap',
         'params' => array(
             'hide_when_unlimited' => true,
             'unit' => 'MB'
         )
     ),
     'acl' => true,
     'cache' => true,
     'debug' => '/tmp/imap.log',
     'debug_raw' => true,
);

The debug log does not include anything about this request.


Saved Queries