[Tickets #11635] Re: ActiveSync AutoProvision - User name / email address option for AutoDiscovery not honoured

bugs at horde.org bugs at horde.org
Mon Nov 5 14:52:59 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11635
------------------------------------------------------------------------------
  Ticket             | 11635
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | ActiveSync AutoProvision - User name / email address
                     | option for AutoDiscovery not honoured
  Queue              | Synchronization
  Version            | Git master
  Type               | Bug
-State              | Assigned
+State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2012-11-05 14:52) wrote:

> I have set the option to strip the email address of everything from  
> @ onwards;
> $conf['activesync']['autodiscovery'] = 'user';
>
> When using AutoDiscovery from an iOS6 device I get these login  
> entries from Dovecot indicating this option isn't honoured;
>
> Nov  3 10:00:03 skadi dovecot: imap-login: Disconnected (auth  
> failed, 2 attempts in 13 secs): user=<horde at agotnes.com>
>
> I had a quick look around the sourcecode for where the stripping  
> code is but couldn't find it :)

I can't reproduce this. Translating an email address to user works  
fine for me.  You will have to track this down yourself.

The code that is responsible for returning the username given an email  
address is in Horde_Core_ActiveSync_Driver::getUsernameFromEmail().  
You can clearly see the code that returns only the mailbox portion of  
the email address.  It is called from  
Horde_ActiveSync_Request_Autodiscover::handle().






More information about the bugs mailing list