Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » AutoDiscover
  •  
willowsv

Messages: 119
Karma: 0
Send a private message to this user
Is their anyway of getting Exchange Server Autodiscover to work on Kerio.

Our mail server is on a different server to our web server so when it tried querying the server for the mail server settings it fails as it tried to connect to our web server.

Is there a file or redirect I can place on our mail-server that will redirect the traffic or provide the details. I not sure how auto-discover works or what file it looks for.
  •  
marook

Messages: 520

Karma: 2
Send a private message to this user
Hi,

I'm investigating this as well, and have filed a ticket with Kerio.

In the mean time, do you have any AutoDiscover pointers set up (http://technet.microsoft.com/en-us/library/bb332063.aspx) in your DNS?

Like:

autodiscover.domain.tld

or an SRV record for _autodiscover._tcp.domain.tld ?

Anyway, as the webiterface for Kerio is PHP based, it should be possible to 'hack' something togehter that points the client in the right direction..

Regards,

Jakob Peterhänsel
Consultant - Humac A/S

Apple Certified Support Professional (ACSP)
Apple Certified Technical Coordinator (ACTC)
AppleSeed/CQF member since 1998
Kerio Messaging Partner
  •  
anthony.somerset

Messages: 144

Karma: 0
Send a private message to this user
i have setup a SRV record for the domain, and should setup the autodiscover.example.com record as well

have yet to test this, but is there any progress on the autodiscover.xml file... i assume if we could get hold of a standard one, it could be modified to be set to the server settings of your environment and dumped in the kerio webinterface directory?


thanks

Mac Xserve Intel - 2x 2.7GHz Dual Core Xeon
Leopard 10.5.8
4GB Ram
1.25 TB HDD Raid 5
Kerio 6.7.1
~60 Users (varying windows and mac Exchange or IMAP)
18 iPhones
  •  
marook

Messages: 520

Karma: 2
Send a private message to this user
Hi All,

The iPhone looks correctly at the
https://autodiscover.domain.tld/autodiscover/autodiscover.xm l
file, now I just need to get the correct file content.

This does not seem to be enough:
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<Account>
<Protocol>
<Server>mail.domain.tld</Server>
</Protocol>
</Account>
</Response>
</Autodiscover>


Any input is welcome...

Regards,

Jakob Peterhänsel
Consultant - Humac A/S

Apple Certified Support Professional (ACSP)
Apple Certified Technical Coordinator (ACTC)
AppleSeed/CQF member since 1998
Kerio Messaging Partner
  •  
chris.lee

Messages: 9
Karma: 0
Send a private message to this user
I'm interested in getting AutoDiscover to work for iPhones as well... has anyone had any luck yet in getting this to work ?
  •  
elias

Messages: 114
Karma: 0
Send a private message to this user
This is a fairly old topic, but did anyone ever figure out what the required elements are in the autodiscover.xml file?

-Elias
  •  
chris.lee

Messages: 9
Karma: 0
Send a private message to this user
No luck here, I had a quick go with the example above but couldn't get it working either and gave up as I don't really add that many phones onto our Kerio server to make it worth the time and effort as opposed to just typing in the server name manually whenever one needs configuring.
  •  
winkelman

Messages: 2119
Karma: 3
Send a private message to this user
So, couple of months later... time to stir up this topic Smile

I am also looking into making the auto-discovery work for mobile devices (so that a person only has to enter his email address and password and the mobile device itself can figure out the other settings). I'm guessing a DNS SRV record is needed, so clients can query DNS for the domain part of the email address (user<_at_>domain.com) to find out the proper mailserver address (mailserver.domain.com). Secondly, a xml-file of sorts seems to be needed on the mailserver in the location https://mailserver.domain.com/autodiscover/autodiscover.xml

Anyone got anywhere?

Is Kerio working on the XML part of the equation? The DNS part is pretty easy, simply adding a SRV record does the trick...
  •  
jelockwood

Messages: 41
Karma: 1
Send a private message to this user
I have just taken over responsibility for a Kerio Connect system (8.2.2) and I am now also looking in to getting AutoDiscovery working.

I have port 443 open, I have a CNAME for autodiscover.domain.com and I currently have a bad SSL certificate in that autodiscover.domain.com is not included (so I will be fixing that later) and I will also be adding a SRV record.

I have been able to access

https://autodiscover.domain.com/autodiscover/autodiscover.xml

in a web-browser and after logging in I do get mostly what I would expect. However all the entries give a server name of autodiscover.domain.com rather than the expected mail.gherson.com. This is not a disaster since auto discover.domain.com in my case is an alias (CNAME) pointing to mail.gherson.com. However if possible I would prefer it to use mail.gherson.com directly in this xml file.

Any suggestions how to get Kerio to produce an autodiscover.xml that has the right host name?

[Updated on: Tue, 31 December 2013 15:51]

  •  
Pavel Špalek (Kerio)

Messages: 275
Karma: 30
Send a private message to this user
Server name returned in autodiscovery response depends on request (because there can be multiple names assigned to the one host). So if you send request

https://mail.gherson.com/autodiscover/autodiscover.xml


you should receive expected response.

Pavel Špalek
developer - Kerio Connect
  •  
jelockwood

Messages: 41
Karma: 1
Send a private message to this user
I have not setup autodiscover before so I initially had the SRV record pointing to autodiscover.domain.com I changed it to point to mail.domain.com and like you said it now returns in the XML mail.domain.com records.

I just need to sort out a new SSL certificate and I should be finished.

Thanks.
  •  
cmlone

Messages: 4
Karma: 0
Send a private message to this user
Hello,

With the Autodiscovery SRV record in place and testing with MS Exchange Connectivity tester, all steps complete except posting.

Error: - Attempting to send an Autodiscover POST request to potential Autodiscover URLs.
Autodiscover settings weren't obtained when the Autodiscover POST request was sent.


Testing with service - testconnectivity_microsoft_com

Seems to be with an authentication against the service, possibly a permission setting. Would appreciate any insight as to possibly resolving the step.

Thank you,

Chad
  •  
Pavel Dobry (Kerio)

Messages: 5144
Karma: 241
Send a private message to this user
What program you use so it requires POST for auto discovery? MS Exchange Connectivity tester is for Exchange, not for Kerio Connect.

Knowledge Base: http://kb.kerio.com/.
Technical support: http://www.kerio.com/support
------------------
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
  •  
cmlone

Messages: 4
Karma: 0
Send a private message to this user
My apologies, the MS Connectivity service tests the Exchange protocols. Not just Exchange itself, which ActiveSync is an Exchange protocol.

I'm used to testing against ActiveSync, Autodiscover and EWS(Exchange Web Services). However I was presuming Kerio had EWS built-in, if so then this test works, however this is not he case here.

The results that pass indicate this is working as intended for Kerio.

Thank you,

[Updated on: Mon, 23 March 2015 00:09]

Pavel Dobry (Kerio)

Messages: 5144
Karma: 241
Send a private message to this user
Kerio Connect supports both Exchange ActiveSync and EWS as well as auto discovery for these protocols for all supported clients.

Knowledge Base: http://kb.kerio.com/.
Technical support: http://www.kerio.com/support
------------------
Stay Connected Anytime, Anywhere. Discover Kerio Cloud!
Previous Topic: Running in a VM
Next Topic: Downloaded message without date
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Dec 11 14:47:00 CET 2016

Total time taken to generate the page: 0.06156 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.