SOGo - BTS - SOGo
View Issue Details
0002248SOGoApple Calendar (Mac OS X)public2013-02-19 08:502013-09-12 10:20
Ludovic Hutin 
jraby 
normalblockalways
resolvedfixed 
2.0.4b 
2.1.02.1.0 
0002248: Impossible to autoconfigure ICAL via profilmanager
Hello,

    When we try to add an ICAL profil to Mac OS 10.8, we got nothing. It's work perfect with 10.7
    We got this strange line in the log
         2013-02-18 11:55:03.689 sogod[1662] -[WEClientCapabilities initWithRequest:]: Unknown WebClient: user-agent='Mac OS X/10.8.2 (12C60) mdmclient/520'

    If we had manualy the caldav server, it's work's. It's very strange.

Best regards,
Ludovic.
No tags attached.
Issue History
2013-02-19 08:50Ludovic HutinNew Issue
2013-02-25 14:55johan_smitsNote Added: 0005394
2013-02-26 04:50chrroessnerNote Added: 0005395
2013-02-26 08:09Ludovic HutinNote Added: 0005396
2013-06-25 11:38ludovicNote Added: 0005705
2013-06-25 13:00chrroessnerNote Added: 0005709
2013-06-25 13:01ludovicNote Added: 0005710
2013-06-26 10:49Ludovic HutinNote Added: 0005720
2013-08-09 16:42ludovicStatusnew => assigned
2013-08-09 16:42ludovicAssigned To => jraby
2013-08-09 16:42ludovicTarget Version => 2.1.0
2013-09-12 10:19jrabyNote Added: 0005979
2013-09-12 10:19jrabyStatusassigned => resolved
2013-09-12 10:19jrabyResolutionopen => fixed
2013-09-12 10:20francisFixed in Version => 2.1.0
2014-09-26 14:08ludovicCategoryApple iCal.app => Apple Calendar (Mac OS X)

Notes
(0005394)
johan_smits   
2013-02-25 14:55   
In my setup it works ok, did you add the DNS enties:
_caldav._tcp 0 0 8443 domain.eu.
_caldavs._tcp 0 0 8443 domain.eu.
_carddav._tcp 0 0 8443 domain.eu.
enties on the email domain you want to add?
(0005395)
chrroessner   
2013-02-26 04:50   
I have added the following to Nginx:

rewrite ^/.well-known/caldav$ /SOGo/dav/ permanent;

That makes Auto-Config work here.
(0005396)
Ludovic Hutin   
2013-02-26 08:09   
I will try this rewrite rules.
Thanks
(0005705)
ludovic   
2013-06-25 11:38   
Any updates on this?

If it works, we will adjust our SOGo Apache configuration.
(0005709)
chrroessner   
2013-06-25 13:00   
Well, I just removed my calendar and readded it. From my logs:

193.239.106.201 - - [25/Jun/2013:18:56:12 +0200] "PROPFIND /.well-known/caldav HTTP/1.1" 301 185 "-" "Mac OS X/10.8.5 (12F9) Calendar/1648"

it seems that the rewrite-rule is used.
(0005710)
ludovic   
2013-06-25 13:01   
My question was more for Ludovic :-)
(0005720)
Ludovic Hutin   
2013-06-26 10:49   
Yep, i forget to say that the rewrite rules work perfect, thanks :-)
(0005979)
jraby   
2013-09-12 10:19   
The default apache configuration file has been updated to include the rewrite rule: https://github.com/inverse-inc/sogo/commit/7241e3e30e8ffdc9a03c6709783d0f800a754a75 [^]

As stated in the commit message, keep in mind that rewrite rules are no inherited by virtualhosts when they are declared in conf.d/*. You'll have to Include SOGo.conf from 000-default on debian/ubuntu for it to work correctly.