Am 13.11.2011 23:28, schrieb Georg Bretschneider: > Hi, > > I can't create a CardDAV account on my iPhone (iOS 5). > Error message: Couldn't verify account informations. > > I read the following for help: > http://www.mail-archive.com/[email protected]/msg06051.html > http://wiki.sogo.nu/iOS (plus attachements) > > Apache is listening on port 8443 and I can establish a secure connection > in my webbrowser. When I connect to https://<server>:8843 I will be > asked for my credentials and then a blank page is shown. > > I setup my config mails as suggested in the above links. CalDAV syncing > works without a problem. I also specified the exact port during my > CardDAV account creation on my iPhone. > > The error logs aren't filled with any errors. > > Does anybody has a suggestion for me? > > btw: I setup SOGo for a multi domain environment, so far everything > works like a charm. And the SOGo TB Connector isn't compatible with TB > 8.0. Will the addon be updated anytime soon? > > Bye > Georg
Okay, I recognized a possible mistake in http://wiki.sogo.nu/iOS?action=AttachFile&do=get&target=calendarSSL. At first, only the config for CardDAV used virtual host declaration. At that time both http://wiki.sogo.nu/iOS?action=AttachFile&do=get&target=SOGo.conf and http://wiki.sogo.nu/iOS?action=AttachFile&do=get&target=calendarSSL were one file. Now, I changed this so CalDAV got its own virtual host definition. After reloading apache, web access and access to my calenders with Thunderbird etc. wasn't possible anymore. I had to add the following line to my calendarssl.conf ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate Otherwise SOGo wasn't accessible through https://<servername>/SOGo Maybe you could update http://wiki.sogo.nu/iOS ? I still can't create a CardDAV account. But I noticed something while setting up SOGo that might be the problem. I'm running a multi domain setup, postfix, openldap and dovecot are my backend. Users authorize at postifx and dovecot with their email address. In LDAP users look like cn=name,dc=host,dc=tld. Thus a users email address is <[email protected]>. I added the following to my SOGo config: <key>SOGoForceIMAPLoginWithEmail</key> <string>YES</string> <key>SOGoEnableDomainBasedUID</key> <string>YES</string> <key>domains</key> <dict> <key>host.tld</key> <dict> ... </dict> <key>host2.tld2</key <dict> ... </dict> </dict> Unfortunatly I couldn't login to SOGo web with <[email protected]>. I had to add <key>SOGoLoginDomains</key> <array> <string>host.tld</string> <string>host2.tld2</string> </array> to my config. Now I just type <name> into the username field, choose the correct domain and can log in. This means, the only way to setup calendar access in my iPhone (e.g) is to type https://host.tld/SOGo/dav/<[email protected]> as the server address and <name> as the username. This works and the iPhone creates the following address, which you can see if you look into the advanced settings: https://<name>@<host>.<tld>/SOGo/dav/<[email protected]> Is all of this exactly what is supposed to happen? Do I have to define SOGoLoginDomains? What is the syntax for CardDAV urls? I am still trying to figure out why I can't access my address book. When I surf to https://<host.tld>:8843 I get a blank page. Browsing to https://<host.tld>:8843/SOGo/dav/<emailaddress> I get An error occurred during object publishing no WebDAV GET support?! I understand that firefox has no WebDAV support. But I even tried to use this url as the server address for my CardDAV account and it does not work. Actually, I just can access the web page, there is no authorization needed. Bye Georg -- [email protected] https://inverse.ca/sogo/lists
