Ajcody-Apple-Mac-Issues
- This article is NOT official Zimbra documentation. It is a user contribution and may include unsupported customizations, references, suggestions, or information. |
Apple/Mac Issues
Actual Apple/Mac Issues Homepage
Please see Ajcody-Apple-Mac-Issues
App To Help Enable Debugging Options
You might want to check out this app:
Contact Related Items
AddressBook
Logging-Debug for Addressbook
First shutdown Addressbook app.
Launch terminal app.
defaults write com.apple.addressbook ABShowDebugMenu -bool YES
Turn it off by just reversing it:
defaults write com.apple.addressbook ABShowDebugMenu -bool NO
CardDAV
10.6 - Snow Leopard Notes
Basic Setup Notes
Some notes I have against testing CardDAV I shared on a case. The following was done with CardDAV [OSX 10.6.4] & Addressbook [Version 5.0.2 (870)] .
Primary references I found related to :
- CardDAV fails in 6.0.8 for Evolution and Mac Address Book
- CardDAV do not work on the non-default domains in Zimbra
- WebDAV: Add support for CardDav
To setup, launch Addressbook.
- Addressbook > Preferences
- Accounts > click on + sign to add new account
- Account type = CardDav
- User Name = user
- bug/rfe's mentions the use of user@domain vs. just user will most likely cause Addressbook to attempt a DNS SRV record lookup.
- Password = accounts password
- Server Address = http://servername:80 or https://servername:443
- might need to adjust that for proxy setup or if you have load balancers/F5's/etc..
- Accounts > click on + sign to add new account
Additional Details And Troubleshooting Steps - Proxy Issues Most Likely
I was able to get my carddav account to work using my virtual hostname that points to my two servers that run ldap/proxy/mta . I have them setup in DNS as well.
$ host rr608.zimbra.DOMAIN.com rr608.zimbra.DOMAIN.com has address 192.168.0.42 rr608.zimbra.DOMAIN.com has address 192.168.0.41 rr608.zimbra.DOMAIN.com mail is handled by 10 rr608.zimbra.DOMAIN.com.
One thing I did hit though, was the way OSX handles it's odd resolution stuff. For example, initially it failed when I had just modified the /etc/resolv.conf to use my internal DNS. Doing :
host rr608.zimbra.DOMAIN.com
resolved properly but doing:
ping rr608.zimbra.DOMAIN.com
was resolved to the external ip and was being hampered by my firewall. Once host and ping were resolving correctly, the carddav account work.
The whole reason I mention this is that I think we should walk our way back from the mailstore hostname in the configuration.
First, setup a carddav account using the mailstore name and confirm it works and then close/exit the Address Book. Then do the following. In a terminal, be in the users home directory and cd to this subdirectory - for example:
$ pwd /Users/[username]/Library/Application Support/AddressBook/Sources/
Do a ls there and find the most recent directory that was made and cd into it, for example:
$ ls -latr total 0 drwx------ 7 ajcody staff 238 Nov 17 06:50 000C3E7F-3DE5-40C8-8820-AF96214D6AF0 drwx------ 4 ajcody staff 136 Nov 17 06:58 . drwx------ 6 ajcody staff 204 Nov 17 07:07 56892F5B-9F55-437E-9890-A8489A63EDAA drwx------@ 8 ajcody staff 272 Nov 17 07:07 .. Adams-MacBook-Pro:Sources username$ cd 56892F5B-9F55-437E-9890-A8489A63EDAA/ Adams-MacBook-Pro:56892F5B-9F55-437E-9890-A8489A63EDAA username$ ls AddressBook-v22.abcddb Configuration.plist Metadata SyncLockFile
We can now manually edit the Configuration.plist file with various test hostnames/ip addresses.
The two keys we're interested in will be like this:
<key>name</key> <string>ajcody@rr608.zimbra.DOMAIN.com</string> <key>servername</key> <string>http://rr608.zimbra.DOMAIN.com:80/principals/users/ajcody@rr608.zimbra.DOMAIN.com</string>
What I'd like you to attempt is adjusting the line for the servername using a hostname/ip address that will bypass the F5 if possible. You'll modify the file and save it. Launch Address Book and confirm/deny if the new hostname/ip address works.
- Use a static ip address of one of the zcs proxy servers. Please confirm it is pingable from the machine first.
- Use the hostname of the actual host of the same proxy server.
I'm assuming you can't use [your mailstore hostname] without going first to the F5, if the test above work you might want to setup a test BIND server you could use with the mac machine to resolve the [your mailstore hostname] using the various hostnames/ip's of the zcs proxy servers.
Entourage And Calendars
Can't Sync Calendars Between Entourage and Zimbra
Bug/RFE filed to correct current public documents on issue:
- "Clean up references to having general support for Entourage and Calendars"
Bug/RFE filed to include comment in Release Notes:
- "Document 10.5 cannot sync entourage to zcs"
Summary of the situation:
Update [05/2010] : Many of the bugs/rfe's filed against iSync will now reference this:
- We are EOL'ing support for iSync in ZCS 7.0. See bug 42448 for more details,
- but support of CalDav and CardDav with MacOSX 1.6+ for ZSC 6.0.x+ will be the
- solution going forward.
- MacOS 10.4
- MacOS 10.4 still has the iSync/Entourage integration. Entourage integration worked via iSync rather than CalDAV (10.4 can't use CalDAV, only iSync). It would create a local calendar called Entourage within iCal and then the iSync service (via Zimbra Connector) would post updates to the users Zimbra calendar called Calendar (the default). I believe it would also check the box in Entourage under Preferences > Sync Services > Synchronize events and tasks with iCal and .Mac
- MacOS 10.5
- Apple's SyncServices issues make iSync unreliable and buggy so we (developers) now favor CalDAV.
- See bug 27380 "Leopard - CalDav only"
- Pre-5.0.6 Zimbra Connector
- The connectors before 5.0.6 release allowed you to select iSync rather than CalDav on MacOS 10.5.
- For the brave, you could always use connectors before the 5.0.6 release (on MacOS 10.5) . Since this would end in an unsupported situation [support staff and developers would tell a customer in a "support case" to upgrade to a new release] it would be best to encourage your users to keep a very clean and simple calendar as to avoid needed support. This might buy some time until the bugs mentioned are resolved.
- The connectors before 5.0.6 release allowed you to select iSync rather than CalDav on MacOS 10.5.
- 5.0.6+ Zimbra Connectors
- 5.0.6+ Zimbra connectors on MacOS 10.5 will only be able to use CalDAV and iCal for calendaring features. You will not have the option to use iSync for calendars and therefor the Entourage integration is lost. You can't even drag/drop items to/from Entourage and iCal.
- Entourage doesn't support CalDAV, only WebDAV.
- See RFE bug 24502 "Support for Entourage WebDav"
- Enable snow leopard messaging features, Outlook for Mac 2010
- http://bugzilla.zimbra.com/show_bug.cgi?id=38631
- This was marked as a dup of the above:
- Support for Outlook for Mac 2010
- http://bugzilla.zimbra.com/show_bug.cgi?id=41106
- 5.0.6+ Zimbra connectors on MacOS 10.5 will only be able to use CalDAV and iCal for calendaring features. You will not have the option to use iSync for calendars and therefor the Entourage integration is lost. You can't even drag/drop items to/from Entourage and iCal.
- Apple's SyncServices issues make iSync unreliable and buggy so we (developers) now favor CalDAV.
- Forum thread
For The Stubborn - Getting Old Z-iSync Connector
Please don't kill the messenger, I'm putting this up here for those that are desperate and would rather deal with the iSync bugs on their own versus moving to the iCal + CalDAV supported option. Don't expect support for this configuration. There's an internal discussion about making the latest connector available directly - I'll update this page depending on the outcome. Until that discussion is resolved, I don't feel comfortable posting the individual connector by itself.
Grab the 5.0.5 tar ball from here:
http://www.zimbra.com/products/downloads_previous.html
The connectors are in the zimbra-store*.rpm , you'll find it in the packages directory once you untar the zimbra tarball.
Copy this over to temp. Find the path of the file. Extract it.
mkdir /tmp/isync cp packages/zimbra-store*.rpm /tmp/isync/ cd /tmp/isync rpm2cpio zimbra-store*.rpm | cpio -iv --make-directories `rpm2cpio zimbra-store*.rpm | cpio -t | grep -i zimbra-isync`
You'll see the new directories and within them you'll see the dmg file for the connector.
iCal General Issues
Clearing iCal cache
Make and run script:
#!/bin/sh rm -rf ~/Library/Application\ Support/SyncServices/Local/clientdata/com.apple.iCal rm -rf ~/Library/Calendars rm -rf ~/Library/Preferences/com.apple.iCal.plist rm -rf ~/Library/Preferences/IcalExternalSync.plist rm -rf ~/Library/Preferences/ByHost/com.apple.iCal.helper.* rm -rf ~/Library/Caches/com.apple.iCal rm -rf ~/Library/Caches/Metadata/iCal
Clearing ALL of iCal
Careful, This Will Remove All Calendar Data. Have all iSync related programs shutdown [addressbook, ical, iMail]
You will also need to redo your CalDAV account setup for the Zimbra iSync Connector. It might also be necessary to uninstall and reinstall the Zimbra Connector. Make and run script:
#!/bin/sh rm -rf ~/Library/Application\ Support/SyncServices/Local rm -rf ~/Library/Application\ Support/SyncLocalCopy rm -rf ~/Library/Application\ Support/iSync/SyncLocalCopy rm -rf ~/Library/Application\ Support/iCal rm -rf ~/Library/Calendars rm -rf ~/Library/Preferences/com.apple.iCal.* rm -rf ~/Library/Preferences/IcalExternalSync.plist rm -rf ~/Library/Preferences/ByHost/com.apple.iCal.helper.* rm -rf ~/Library/Caches/com.apple.iCal rm -rf ~/Library/Caches/Metadata/iCal
You might be seeing this:
http://bugzilla.zimbra.com/show_bug.cgi?id=23671
Comment #30 give some instructions on a case they can reproduce.
zmprov gd <your domain name> zimbraPublicServiceHostname zmprov gs <your server name> zimbraServiceHostname
If zimbraPublicServiceHostname is not set, or set to a different name (such as an alias of the machine or a load balancer), you are hitting this issue.
Calendar events are displaying the wrong time
Apple expects the year of 1971 for the DTSTART variable within an ICS file. There is no standard that dictates this.
Zimbra (prior to version 5.0.5) was using 1601, this is in /opt/zimbra/conf/timezones.ics .
Please see bug for more details (resolved 5.0.5):
http://bugzilla.zimbra.com/show_bug.cgi?id=22808
Alarm & Calendar Notification Issues with iCal
These issues are getting worked out for the 5.0.7 release.
Please review:
http://bugzilla.zimbra.com/show_bug.cgi?id=28057
Some more details:
http://bugzilla.zimbra.com/show_bug.cgi?id=28883
http://bugzilla.mozilla.org/show_bug.cgi?id=432540
iCal calendar color changing modifies calendar name and/or doesn't retain color
Fixed in 5.0.5 . See bugs for details:
http://bugzilla.zimbra.com/show_bug.cgi?id=26627
http://bugzilla.zimbra.com/show_bug.cgi?id=26625
Colors for Calendar & Appointments (Non-client specific)
Here's some RFE's/Bugs you might be interested in:
- "Need more colors on calendars"
- "Making visual difference between meeting status is not easy."
- "Shared calendar should auto-select an unused color"
- "Support tagging of appointments in calendar"
- http://bugzilla.zimbra.com/show_bug.cgi?id=2769
- "Tags not synced for appointments and tasks"
- "Color-coding of appointments"
- http://bugzilla.zimbra.com/show_bug.cgi?id=2769
Calendar Ordering Issues
Please see RFE I made.
- "Allow the reordering of Calendars on webclient to match the order on iCal"
- http://bugzilla.zimbra.com/show_bug.cgi?id=32197
- Depends On:
- "allow changing the order/position of calendars in schedule view"
Directory Access configuration on Macs
File that configures [system wide] for Address Book resolution
/Library/Preferences/DirectoryService/DSLDAPv3PlugInConfig.plist
Calendar Invites can't be imported into iCal
If you look at the ics file, you might see an extra return character at the end.
You'll see this if an Outlook client send an invite to a user using a Mac with a thick client [Mail.app/Entourage].
This was resolved in the 5.0.5 release. Please see bug for more details:
http://bugzilla.zimbra.com/show_bug.cgi?id=26487
Mac clients cause spamming of invitation events when they adjust calendar events
This, at it's root, is caused by other bugs listed here. Usually this will get resolved with the proper upgrades that the bugs require (ZCS 5.0.5+)
There is a RFE/Bug though that will also resolve this, by allowing the "action" of an appointment to be set.
Please see bug for details [scheduled for 5.0.7]:
http://bugzilla.zimbra.com/show_bug.cgi?id=10536
iCal 10.5 - CalDAV Issues
Logging-Debug for CalDAV+iCAL
If you are using CalDAV account with ZCS, please help us investigating this problem. On your Mac please do the following and gather some data.
First shutdown iCal app.
Launch terminal app.
You can turn on the debug options in iCal by:
defaults write com.apple.iCal IncludeDebugMenu 1
Turn them off by just reversing it:
defaults write com.apple.iCal IncludeDebugMenu 0
Furthermore, you can log all of the HTTP transaction to the console via:
defaults write com.apple.iCal LogHTTPActivity yes
Turn them off by just reversing it:
defaults write com.apple.iCal LogHTTPActivity no
Logging will show up in /var/log/system.log
Launch iCal app.
Select the shared folder, right click, refresh.
Only Seeing 1 Month Back and 1 Year Ahead In CalDAV
Please see this bug: http://bugzilla.zimbra.com/show_bug.cgi?id=28713
Set to be resolved in 5.0.9
Not seeing Calendar's In iCAL/CALDAV
Space In Calendar Name's And Other "Special Characters"
For space's in Calendar names, this is resolved for the 5.0.7 release. (Need bug # for this)
There have also been reports in the forums that "special characters" can cause an issue where Calendars aren't displayed - even those without the special character name. Note, in one case, the "special character" where Norwegian character.
Server's With Multiple Domains - Effect Users Are In Default Domain
Bug filed:
http://bugzilla.zimbra.com/show_bug.cgi?id=30263
- Conditions:
- On ZCS 5.0.7
- Mac Clients using Zimbra Connector (provided from ZCS 5.0.7) and setting up iCal/CalDAV via the Connector.
- ZCS has multiple domains
- Error:
- Default domain accounts can't see calendars
- Reproduce:
- Clear iCal with no Accounts configured (CALDAV)
- Setup Accounts via Zimbra Connector
- User username@defaultdomain.com as format for the User Name Field
- Work Around:
- Clear iCal with no Accounts configured (CALDAV)
- Setup Accounts via Zimbra Connector
- User username as format for the User Name field
- Non-Default Domains - Works As:
- Clear iCal with no Accounts configured (CALDAV)
- Setup Accounts via Zimbra Connector
- User username@domain.com as format for the User Name Field
- Note, these accounts need @domain, will not work with just username.
iCal And Entourage Use for Calendars - Leopard/10.5 users
Update The 5.0.6+ Connectors will no longer work with Entourage. Your only option for Calendars will be using CalDAV with iCal.App. You still will see an option about Entourage in the Connector but it will be grayed out.
Because of some core issues with Apples SyncServices, we recommend that Entourage and iCal users use iCALv3 (Mac 10.5) configured for CALDAV. Please use the Zimbra Connector instructions to setup iCal for CALDAV.
For Entourage, this recommendation stems from the fact that Microsoft decided to use WebDAV rather than CALDAV. If MS decides later to include CALDAV support for Entourage, we'll have another option.
Please see bug for details:
- RFE: "Leopard - CalDav only" [FIXED]:
- RFE: "Support for Entourage WebDav" [WONTFIX]:
Snow Leopard , Outlook/Entourage , Exchange Web Services
There is no target milestone for it as of today [2010/02/23]. This topic applies to the following references or terms: Exchange auto discovery feature, Exchange Autodiscover service or anything else that relies on Exchange Web Services [ EWS ] on the Mac. Another Apple reference on the topic [pdf warning] : Mac OS X Snow Leopard: Integrating the Mac into an Exchange 2007 Environment .
Please see the following in regards to Zimbra's work and stance on the issue:
- Zimbra has open RFE's for the 'newer' Outlook for Mac versions that use Exchange Web Services [EWS] and will be bypassing the older Entourage versions that use WebDAV.
- "Support for Entourage WebDav" - marked as WONTFIX
- http://bugzilla.zimbra.com/show_bug.cgi?id=24502
- "entourage 2008 integration" - marked as a duplicate of bug 24502 above.
- "Support for Entourage WebDav" - marked as WONTFIX
- RFE: "Enable snow leopard messaging features, Outlook for Mac 2010"
- Assigned but no committed target release, you'll want to include your votes/comments to increase priority.
- http://bugzilla.zimbra.com/show_bug.cgi?id=38631
- Duplicate of bug 38631 above - RFE: "Support for Outlook for Mac 2010"
- http://bugzilla.zimbra.com/show_bug.cgi?id=41106
- In the meantime, Snow Leopard has 3 applications that will work like the following:
- Mail > IMAP [working]
- iCal > CalDAV [working]
- Address Book > CardDav
- We are waiting for Apple to have general support for CardDav and to allow 3rd party servers
- See the following dev comments in bug 22008 - "WebDAV: Add support for CardDav":
- We are waiting for Apple to have general support for CardDav and to allow 3rd party servers
Can't see Calendars after configuring Z-iSync for CALDAV - 10.5 users
You didn't follow the directions most likely. Goto iCal Preferences Accounts.
There should be NO configured accounts prior to configuring Z-iSync for CALDAV.
Remove the current Account listed in iCal and redo configuration for CALDAV with Z-iSync.
Trick to work around address lookup for the Attendee field in iCal Events
Configure the Addressbook using one of the other recommendations on this page.
You can now drag entries from your Addressbook into the Attendee field of iCal.
Attendee Lookups for iCALv3/MacOS10.5
iCal3 [webdav] needs to use the Apple Directory Access utility for attendees (It's on 10.5). It will only work against Apple OD/CAL servers.
RFE filed to include necessary LDAP attributes to provide ical oattendee lookups
See bug [scheduled for 5.0.7]:
http://bugzilla.zimbra.com/show_bug.cgi?id=26619
Free/Busy Lookup not working as expected
The Free/Busy lookup requires auto-attendee lookup to be working.
This requires bug 26619 [ http://bugzilla.zimbra.com/show_bug.cgi?id=26619 ] to be resolved for iCalv3/Mac 10.5.
iCal-CalDAV - server doesn't retain color information from iCal
Summary of issue: Zimbra only supports the preset colors on iCal, which are blue, green, red, orange, pink, and purple.
Please see the following:
- "CalDAV: server does not retain color information from iCal"
- http://bugzilla.zimbra.com/show_bug.cgi?id=26627
- I've added a private comment to this to see if another RFE is needed to expand this and if there's any show stopper reasoning with why it can't be done. I'll update this here when I hear back on it.
I created a bug for this issue, please see:
- "iCal - CalDAV used to create new calendars sets up share permissions on server"
Can't Select Which Calendars To Sync - I Could With 10.4 Though
This is because of the change from iSync to CalDAV. iCal always syncs all the calendars in a given CalDAV account together. The CalDAV spec allows syncing each Calendar, but iCal chooses to sync them all.
There is no known work around at this time. Nor is there an RFE made because the dev's have stated it's an iCal issue. If this changes, I'll update this entry.
iTunes & iPhone configuration for CALDAV
Please see main wiki page on iPhone http://wiki.zimbra.com/index.php?title=IPhone
If you follow the instructions about configuring the Zimbra iSync Connector for CALDAV use, there should be no issues about sync'ing with your iPhone.
At this time, new events created on a iPhone/CALDAV setup will write the event to a local calendar in iCal.app . There's no way around this yet. It's a limitation at this time with Apple's software. You can change the events calendar assignment though later via iCal.app.
Please see Screenshot of iTunes & iPhone
iPhone 3.0 will use port 8443 as default when setting up Caldav, you most likely need to change this to 443.
iCal 10.4 - iSync Issues
Attendee Lookup for iCal/Mac 10.4
iCal.app on Mac 10.4 only uses local entries in Apples Addressbook for address/username lookup for new appointments.
Addressbook+LDAP configuration requires a copy of an "all/*" search in ldap into the local addressbook. Sync doesn't seem to work.
Please see this bug comment and the 10.4 section for more details:
http://bugzilla.zimbra.com/show_bug.cgi?id=26619#c3
New Calendars don't sync unless you select "all". Mac 10.4/Z-isync
Please see bug for details:
http://bugzilla.zimbra.com/show_bug.cgi?id=26653
Sync To Do/Tasks Items in Leopard
RFE filed, please see http://bugzilla.zimbra.com/show_bug.cgi?id=12917
No target date, please vote for this RFE.