i installed all and deamon seems to working fine, but in maillog i get these messages:
imap([email protected]): Error: write(/tmp/xapsd.sock) failed: Broken pipe
dovecot: lda([email protected]): Debug: xaps_plugin_init
dovecot: lda([email protected]): Debug: xaps_transaction_begin
dovecot: lda([email protected]): Debug: xaps_transaction_begin
dovecot: lda([email protected]): Debug: xaps_save_finish
dovecot: lda([email protected]): Debug: xaps_transaction_commit
dovecot: lda([email protected]): Error: write(/tmp/xapsd.sock) failed: Broken pipe
dovecot: lda([email protected]): Error: cannot notify
dovecot: lda([email protected]): sieve: msgid=<[email protected]>: stored mail into mailbox 'INBOX'
dovecot: lda([email protected]): Debug: xaps_plugin_deinit
i run the deamon in an python virtualenv because i need older version of modules for an old apple calendarserver installation.
2014-10-22 16:05:29+0200 [-] Log opened.
2014-10-22 16:05:29+0200 [-] twistd 14.0.0 (/usr/local/src/dovecot-xaps-daemon-master/foo/bin/python 2.6.8) starting up.
2014-10-22 16:05:29+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2014-10-22 16:05:29+0200 [-] XAPSFactory starting on '/tmp/xapsd.sock'
2014-10-22 16:05:29+0200 [-] Starting factory <xaps.XAPSFactory instance at 0xa58ae2c>
2014-10-22 16:05:29+0200 [-] Starting factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:05:29+0200 [-] APNSClientFactory.startedConnecting
2014-10-22 16:05:59+0200 [-] APNSClientFactory.clientConnectionFailed
2014-10-22 16:05:59+0200 [-] <twisted.internet.tcp.Connector instance at 0x9a1f0ac> will retry in 3 seconds
2014-10-22 16:05:59+0200 [-] Stopping factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:06:03+0200 [-] Starting factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:06:03+0200 [-] APNSClientFactory.startedConnecting
2014-10-22 16:06:33+0200 [-] APNSClientFactory.clientConnectionFailed
2014-10-22 16:06:33+0200 [-] <twisted.internet.tcp.Connector instance at 0x9a1f0ac> will retry in 8 seconds
2014-10-22 16:06:33+0200 [-] Stopping factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:06:42+0200 [-] Starting factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:06:42+0200 [-] APNSClientFactory.startedConnecting
2014-10-22 16:07:12+0200 [-] APNSClientFactory.clientConnectionFailed
2014-10-22 16:07:12+0200 [-] <twisted.internet.tcp.Connector instance at 0x9a1f0ac> will retry in 19 seconds
2014-10-22 16:07:12+0200 [-] Stopping factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:07:31+0200 [-] Starting factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:07:31+0200 [-] APNSClientFactory.startedConnecting
2014-10-22 16:07:57+0200 [XAPSProtocol,0,] lineReceived: REGISTER aps-account-id="AE60FB89-31F6-4A90-9A3E-66B0802E6797" aps-device-token="6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A" aps-subtopic="com.apple.mobilemail" dovecot-username="[email protected]" dovecot-mailboxes=("INBOX","INBOX.Sent")
2014-10-22 16:07:57+0200 [XAPSProtocol,0,] Command(name='REGISTER', args={'aps-account-id': 'AE60FB89-31F6-4A90-9A3E-66B0802E6797', 'aps-device-token': '6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A', 'dovecot-mailboxes': ['INBOX', 'INBOX.Sent'], 'dovecot-username': '[email protected]', 'aps-subtopic': 'com.apple.mobilemail'})
2014-10-22 16:07:57+0200 [XAPSProtocol,0,] handleRegister: Command(name='REGISTER', args={'aps-account-id': 'AE60FB89-31F6-4A90-9A3E-66B0802E6797', 'aps-device-token': '6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A', 'dovecot-mailboxes': ['INBOX', 'INBOX.Sent'], 'dovecot-username': '[email protected]', 'aps-subtopic': 'com.apple.mobilemail'})
2014-10-22 16:07:57+0200 [XAPSProtocol,1,] lineReceived: REGISTER aps-account-id="F1AA61EF-FC51-4231-8AA3-408CA3286200" aps-device-token="6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A" aps-subtopic="com.apple.mobilemail" dovecot-username="[email protected]" dovecot-mailboxes=("INBOX","INBOX.Sent")
2014-10-22 16:07:57+0200 [XAPSProtocol,1,] Command(name='REGISTER', args={'aps-account-id': 'F1AA61EF-FC51-4231-8AA3-408CA3286200', 'aps-device-token': '6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A', 'dovecot-mailboxes': ['INBOX', 'INBOX.Sent'], 'dovecot-username': '[email protected]', 'aps-subtopic': 'com.apple.mobilemail'})
2014-10-22 16:07:57+0200 [XAPSProtocol,1,] handleRegister: Command(name='REGISTER', args={'aps-account-id': 'F1AA61EF-FC51-4231-8AA3-408CA3286200', 'aps-device-token': '6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A', 'dovecot-mailboxes': ['INBOX', 'INBOX.Sent'], 'dovecot-username': '[email protected]', 'aps-subtopic': 'com.apple.mobilemail'})
2014-10-22 16:08:01+0200 [-] APNSClientFactory.clientConnectionFailed
2014-10-22 16:08:01+0200 [-] <twisted.internet.tcp.Connector instance at 0x9a1f0ac> will retry in 62 seconds
2014-10-22 16:08:01+0200 [-] Stopping factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:08:02+0200 [XAPSProtocol,2,] lineReceived: REGISTER aps-account-id="F1AA61EF-FC51-4231-8AA3-408CA3286200" aps-device-token="6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A" aps-subtopic="com.apple.mobilemail" dovecot-username="[email protected]" dovecot-mailboxes=("INBOX","INBOX.Sent")
2014-10-22 16:08:02+0200 [XAPSProtocol,2,] Command(name='REGISTER', args={'aps-account-id': 'F1AA61EF-FC51-4231-8AA3-408CA3286200', 'aps-device-token': '6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A', 'dovecot-mailboxes': ['INBOX', 'INBOX.Sent'], 'dovecot-username': '[email protected]', 'aps-subtopic': 'com.apple.mobilemail'})
2014-10-22 16:08:02+0200 [XAPSProtocol,2,] handleRegister: Command(name='REGISTER', args={'aps-account-id': 'F1AA61EF-FC51-4231-8AA3-408CA3286200', 'aps-device-token': '6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A', 'dovecot-mailboxes': ['INBOX', 'INBOX.Sent'], 'dovecot-username': '[email protected]', 'aps-subtopic': 'com.apple.mobilemail'})
2014-10-22 16:08:03+0200 [XAPSProtocol,3,] lineReceived: REGISTER aps-account-id="AE60FB89-31F6-4A90-9A3E-66B0802E6797" aps-device-token="6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A" aps-subtopic="com.apple.mobilemail" dovecot-username="[email protected]" dovecot-mailboxes=("INBOX","INBOX.Sent")
2014-10-22 16:08:03+0200 [XAPSProtocol,3,] Command(name='REGISTER', args={'aps-account-id': 'AE60FB89-31F6-4A90-9A3E-66B0802E6797', 'aps-device-token': '6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A', 'dovecot-mailboxes': ['INBOX', 'INBOX.Sent'], 'dovecot-username': '[email protected]', 'aps-subtopic': 'com.apple.mobilemail'})
2014-10-22 16:08:03+0200 [XAPSProtocol,3,] handleRegister: Command(name='REGISTER', args={'aps-account-id': 'AE60FB89-31F6-4A90-9A3E-66B0802E6797', 'aps-device-token': '6164381EB6E9A4CC36308A23A05A35C29C5363648452B6ACD79B3FDB3741D19A', 'dovecot-mailboxes': ['INBOX', 'INBOX.Sent'], 'dovecot-username': '[email protected]', 'aps-subtopic': 'com.apple.mobilemail'})
2014-10-22 16:09:04+0200 [-] Starting factory <apns.APNSClientFactory instance at 0x96a7aec>
2014-10-22 16:09:04+0200 [-] APNSClientFactory.startedConnecting
2014-10-22 16:09:34+0200 [-] APNSClientFactory.clientConnectionFailed
2014-10-22 16:09:34+0200 [-] <twisted.internet.tcp.Connector instance at 0x9a1f0ac> will retry in 154 seconds
2014-10-22 16:09:34+0200 [-] Stopping factory <apns.APNSClientFactory instance at 0x96a7aec>