[horde] IMAP - Autodiscovery

Pine A pinemail11 at gmail.com
Fri Sep 6 17:56:18 UTC 2013


On Fri, Sep 6, 2013 at 12:51 AM, Pine A <pinemail11 at gmail.com> wrote:

>
> On Fri, Sep 6, 2013 at 12:35 AM, Pine A <pinemail11 at gmail.com> wrote:
>
>>
>> On Fri, Sep 6, 2013 at 12:33 AM, Michael J Rubinsky <mrubinsk at horde.org>wrote:
>>
>>>
>>> Quoting Pine A <pinemail11 at gmail.com>:
>>>
>>>  On Thu, Sep 5, 2013 at 11:58 PM, Michael J Rubinsky <mrubinsk at horde.org
>>>> >wrote:
>>>>
>>>>> Quoting Pine A <pinemail11 at gmail.com>:
>>>>>
>>>>>  On Thu, Sep 5, 2013 at 10:22 PM, Michael J Rubinsky <
>>>>> mrubinsk at horde.org
>>>>>
>>>>>> >wrote:
>>>>>>
>>>>>>
>>>>>>  Quoting Pine A <pinemail11 at gmail.com>:
>>>>>>>
>>>>>>>  On Thu, Sep 5, 2013 at 8:43 PM, Michael J Rubinsky <
>>>>>>> mrubinsk at horde.org
>>>>>>>
>>>>>>>  >wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>  Quoting Pine A <pinemail11 at gmail.com>:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>  Activesync autodiscovery is working pretty fine on windows
>>>>>>>>> devices.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  I am trying to configure outlook 2013 imap autodisocvery, all is
>>>>>>>>>> going
>>>>>>>>>> well
>>>>>>>>>> except username is not getting passed in full completely ( look
>>>>>>>>>> like
>>>>>>>>>> only
>>>>>>>>>> alias is getting passed without domain name ) to dovecot. is
>>>>>>>>>> there any
>>>>>>>>>> way
>>>>>>>>>> to fix this issue.
>>>>>>>>>>
>>>>>>>>>> What is the value of $GLOBALS['conf']['activesync']******
>>>>>>>>>>
>>>>>>>>>>  **['autodiscovery']?
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> mike
>>>>>>>>>
>>>>>>>>> I couldnt find $GLOBAL*, here is config from /horde/config/conf.php
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  $conf['activesync']['******autodiscovery'] = 'full';
>>>>>>>> $conf['activesync']['******outlookdiscovery'] = true;
>>>>>>>> $conf['activesync']['logging']******['path'] = '/tmp/activesync';
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> If something else need to be checked, please let me know the path.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Pine A
>>>>>>>>
>>>>>>>>
>>>>>>>>  Do you have any authentication/username hooks in use?
>>>>>>>
>>>>>>> --
>>>>>>> mike
>>>>>>>
>>>>>>>
>>>>>>>  There is one following entry in hooks.php at same location
>>>>>>>
>>>>>> ( our user database is in openldap)
>>>>>>
>>>>>>
>>>>>>  if (!function_exists('_prefs_****hook_from_addr')) {
>>>>>>
>>>>>>      function _prefs_hook_from_addr($user = null)
>>>>>>      {
>>>>>>         global $_SERVER;
>>>>>>         $SERVER="localhost";
>>>>>>         $ROOTDN="cn=Manager,dc=xx,dc=****yy,dc=com";
>>>>>>
>>>>>>         $ROOTPW="secert";
>>>>>>         $BASEDN="dc=xx,dc=yy,dc=com";
>>>>>>         $ds = ldap_connect($SERVER);
>>>>>>         ldap_bind($ds,$ROOTDN, $ROOTPW);
>>>>>>          $searchResult = @ldap_search($ds, $BASEDN, 'uid=' . $user);
>>>>>>          $information = @ldap_get_entries($ds, $searchResult);
>>>>>>          $name = $information[0]['****maillocaladdress'][0];
>>>>>>
>>>>>>          ldap_close($ds);
>>>>>>          return (empty($name) ? $user : $name);
>>>>>>      }
>>>>>> }
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> How do you normally log into horde? Full email addresses, or usernames?
>>>>> What is the value of 'hordeauth' in your imp/config/backends[.local].**
>>>>> **php
>>>>>
>>>>> file?   I just ran the MicrosoftConnectivityAnalyzer against my horde
>>>>> install configured for Outlook Autodiscover and it worked as expected.
>>>>> -
>>>>>
>>>>>  mike
>>>>
>>>>>
>>>>> The Horde Project (www.horde.org)
>>>>> mrubinsk at horde.org
>>>>>
>>>>>
>>>>
>>>> I do with full email id, it works well on horde web mail and activesync
>>>> on
>>>> mobile phones
>>>>
>>>> Here is the required information
>>>>
>>>> in conf.php
>>>> $conf['auth']['params']['app'] = 'imp';
>>>>
>>>>
>>>> /imp/config/backends.php
>>>>
>>>> // IMAP server
>>>> $servers['imap'] = array(
>>>>     // ENABLED by default; will connect to IMAP port on local server
>>>>     'disabled' => false,
>>>>     'name' => 'IMAP Server',
>>>>     'hostspec' => 'localhost',
>>>>     'hordeauth' => false,
>>>>     'protocol' => 'imap',
>>>>     'port' => 143,
>>>>
>>>
>>> Do you really have 'hordeauth' false? You don't have any changes in the
>>> backends.local.php file? If so, try chaning that to 'full' instead of false.
>>>
>>> --
>>> mike
>>>
>>> The Horde Project (www.horde.org)
>>> mrubinsk at horde.org
>>>
>>
>> Okay,
>>
>> Let me check and come back..
>>
>> thanks
>>
>> Pine A
>>
>>
> Sep 06 00:42:53 imap-login: Info: Login: user=<test2 at cubecrm.in>,
> method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=11147, TLS
> Sep 06 00:42:54 imap(test2 at xdomain.com): Info: Disconnected: Logged out
> bytes=39/441
>
> Auth fail error is no more but still outlook is asking for username ( it
> is not asking for password, password remains intact in the window
>
>
> Thanks
>
> Pine A
>
> Hi Mike,

Do you see something else I need to fix it,

Thanks

Pin A


More information about the horde mailing list