[Tickets #11638] Re: ActiveSync :: The Autodiscover URL must be configurable, not extracted from the email address performing the query.

bugs at horde.org bugs at horde.org
Mon Nov 5 21:01:07 UTC 2012


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

Ticket URL: http://bugs.horde.org/ticket/11638
------------------------------------------------------------------------------
  Ticket             | 11638
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | ActiveSync :: The Autodiscover URL must be
                     | configurable, not extracted from the email address
                     | performing the query.
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Enhancement
-State              | Feedback
+State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


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

> Hi,
> I have no vhost configs, I have a single horde installation for  
> multiple domains..
>
> Of course the client uses the email address to determine the url to  
> query for autodetection, but each of my virtual domains has a DNS  
> redirect entry and horde is only availableto redirect autodiscover  
> queries to www.my-host.tld - and it works with outlook. So according  
> to the specs, each client device should restart the autodiscover at  
> www.my-host.tld.
>
> I have verified the problem:
> My horde is located at 'www.my-host.tld' while to have only a single  
> SSL certificate to buy.
> emailadresses with user at virtual-domain.tld get a ActiveSync URL  
> 'https://virtual-domain.tld/Microsoft-Server-ActiveSync' but not  
> 'https://www.my-host.tld/Microsoft-Server-ActiveSync'
> Even when I use an email-address user at my-host.tld it uses  
> 'https://my-host.tld/Microsoft-Server-ActiveSync' and not  
> 'https://www.my-host.tld/Microsoft-Server-ActiveSync'
> -- is that the correct behaviour?

Yes. Probably because Apache is returning my-host.tld as  
$_SERVER['SERVER_NAME'] because that is what it is answering the  
request as (since this is what the client is requesting based on the  
email address).  This is what the $conf['server']['name']  
configuration is designed to override.

For more detailed information on the AUTOCONFIGURE process you can  
read  
http://blogs.msdn.com/b/exchangedev/archive/2011/07/08/autodiscover-for-exchange-activesync-developers.aspx

> By the way: the interesting question is why my webserver delivers  
> horde querys vor http://virtual.tld but the apaceh vhost is  
> configured only for https://www.my-host.tld .... THAT seems to  be a  
> true bug ;)

Maybe because your my-host.tld server is the default virtual domain?






More information about the bugs mailing list