Hi,
Running Calendar Server on OS X 10.8.4 and iCal clients on OS X 10.6.8.
I have internal events working. External iMIP events get sent out, and it appears that they're also fetched from the email account - but iCal doesn't update the events. Server's own mail service is off. Our email is hosted by gmail (Google Apps for Business).
Steps to recreate:
- Create event and invite an external invitee (masked as xxxxx@yahoo.com)
- Gmail shows the event was sent out
- Yahoo receives the event, and Yahoo's webmail allows to respond to caldav events.
- Gmail receives the caldav response from yahoo
- The response gets marked as read on its own, indicating that Calendar Server polled the account
- Organizer's iCal doesn't update with the invitee's response. (Just an exclamation mark next to the invitee's email)
I enabled debug logging on the server and client and scoured the logs. I was unable to pinpoint a problem - from my limited understanding, everything appears ok from the server's perspective. On the client's iCal logs I just see that in all the client's DAVGETs, PARTSTAT for the attendee is NEEDS-ACTION instead of ACCEPTED.
I'm testing with Yahoo mail since it supports iMIP, but we see the same behavior from Outlook attendees.
A few excerpts from the server's caldavd logs:
2013-08-08 10:44:05-0700 [-] [mailgateway] 2013-08-08 10:44:05-0700 [POP3DownloadProtocol (TLSMemoryBIOProtocol),client] [twistedcaldav.mail.POP3DownloadProtocol#debug] POP downloaded message 0
2013-08-08 10:44:05-0700 [-] [mailgateway] 2013-08-08 10:44:05-0700 [POP3DownloadProtocol (TLSMemoryBIOProtocol),client] [twistedcaldav.mail.POP3DownloadFactory#debug] POP factory handle message
2013-08-08 10:44:05-0700 [-] [mailgateway] SUMMARY:Accepted: yahoo
2013-08-08 10:44:05-0700 [-] [mailgateway]
ATTENDEE;
CN=xxxxx@yahoo.com;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTS
2013-08-08 10:44:05-0700 [-] [mailgateway]
TAT=ACCEPTED:mailto:xxxxx@
yahoo.com\;X-COMMENT=\;
2013-08-08 10:44:05-0700 [-] [mailgateway] ORGANIZER;CN=Drew Lahat:mailto:calendar+56cec50a-ea27-4bfa-8d57-6b8362631fce
[twistedcaldav.mail#debug] Injecting to
https://localhost:8443/inbox/: {'Originator': '
mailto:xxxxx@yahoo.com', 'Recipient': 'urn:uuid:4D380678-70D3-4C0D-AE54-F107C91B533E', 'Content-Type': 'text/calendar', 'x-calendarserver-internal': 'r8eBoszTjYaQJtGM'} BEGIN:VCALENDAR
013-08-08 10:44:05-0700 [-] [mailgateway] ATTENDEE;SCHEDULE-STATUS="5.1;Service unavailable":mailto:xxxxx@yahoo.
2013-08-08 10:44:05-0700 [-] [mailgateway] com
2013-08-08 10:44:05-0700 [-] [mailgateway] STATUS:CONFIRMED
2013-08-08 10:44:05-0700 [-] [mailgateway] SUMMARY:Accepted: yahoo
2013-08-08 10:44:08-0700 [-] [caldav-2] [-] [twistedcaldav.scheduling.processing#debug] ImplicitProcessing - originator '
mailto:xxxxx@yahoo.com' to recipient 'urn:uuid:4D380678-70D3-4C0D-AE54-F107C91B533E' processing METHOD:REPLY, UID: '7EBA3AB4-A04B-4CF8-84A0-01578C774F60' - updating event
2013-08-08 10:44:08-0700 [-] [caldav-2] [-] [txdav.common.datastore.sql_legacy.MemcachedUIDReserver#debug] Reserving UID '7EBA3AB4-A04B-4CF8-84A0-01578C774F60' @ <Calendar: 8>
2013-08-08 10:44:08-0700 [-] [caldav-2] [PooledMemCacheProtocol,client] [twistedcaldav.notify.Notifier#debug] Notifications are enabled: update default CalDAV|4D380678-70D3-4C0D-AE54-F107C91B533E
2013-08-08 10:44:08-0700 [-] [caldav-2] [PooledMemCacheProtocol,client] [twistedcaldav.notify.NotifierFactory#debug] Sending to notification server: update CalDAV|4D380678-70D3-4C0D-AE54-F107C91B533E
2013-08-08 10:44:08-0700 [-] [caldav-2] [PooledMemCacheProtocol,client] [twistedcaldav.notify.Notifier#debug] Notifications are enabled: update collection CalDAV|4D380678-70D3-4C0D-AE54-F107C91B533E/calendar
2013-08-08 10:44:08-0700 [-] [mailgateway] 2013-08-08 10:44:08-0700 [POP3DownloadProtocol (TLSMemoryBIOProtocol),client] [twistedcaldav.mail.POP3DownloadFactory#debug] POP factory connection lost
2013-08-08 10:44:08-0700 [-] [mailgateway] 2013-08-08 10:44:08-0700 [POP3DownloadProtocol (TLSMemoryBIOProtocol),client] [twistedcaldav.mail.POP3DownloadFactory#debug] Scheduling next POP3 poll
2013-08-08 10:44:08-0700 [-] [notifications] 2013-08-08 10:44:08-0700 [-] [twistedcaldav.notify.Coalescer#debug] Time to send: CalDAV|4D380678-70D3-4C0D-AE54-F107C91B533E
2013-08-08 10:44:08-0700 [-] [notifications] 2013-08-08 10:44:08-0700 [-] [twistedcaldav.notify.Coalescer#debug] Time to send: CalDAV|4D380678-70D3-4C0D-AE54-F107C91B533E/55A6B27E-E6A2-456B-97E5-C547FAC3ACD9
2013-08-08 10:44:08-0700 [-] [notifications] 2013-08-08 10:44:08-0700 [-] [calendarserver.push.applepush.APNProviderProtocol#debug] Sending APNS notification to 2de124a10fb99cc2cdcd3fa53221a316b74fed61b1484b1b419dbc09a6be2839: id=10 payload={"key" : "/CalDAV/
ppserver.ourcompany.com/4D380678-70D3-4C0D-AE54-F107C91B533E/"}
2013-08-08 10:44:12-0700 [-] [caldav-2] [PooledMemCacheProtocol,client] [calendarserver.provision.root#info] Unauthenticated user denied by SACLs
((Is this latest message related at all, or a complete different user? No idea, I'm not seeing any user-identifying information adjacent, only caching messages. Obviously the user has the SACLs given its ongoing interaction with the server.))