{"action":"created","issue":{"url":"https://api.github.com/repos/st3fan/dovecot-xaps-plugin/issues/9","labels_url":"https://api.github.com/repos/st3fan/dovecot-xaps-plugin/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/st3fan/dovecot-xaps-plugin/issues/9/comments","events_url":"https://api.github.com/repos/st3fan/dovecot-xaps-plugin/issues/9/events","html_url":"https://github.com/st3fan/dovecot-xaps-plugin/issues/9","id":97745992,"number":9,"title":"Dovecot not advertising new messages to socket","user":{"login":"georgeboot","id":884482,"avatar_url":"https://avatars.githubusercontent.com/u/884482?v=3","gravatar_id":"","url":"https://api.github.com/users/georgeboot","html_url":"https://github.com/georgeboot","followers_url":"https://api.github.com/users/georgeboot/followers","following_url":"https://api.github.com/users/georgeboot/following{/other_user}","gists_url":"https://api.github.com/users/georgeboot/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeboot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeboot/subscriptions","organizations_url":"https://api.github.com/users/georgeboot/orgs","repos_url":"https://api.github.com/users/georgeboot/repos","events_url":"https://api.github.com/users/georgeboot/events{/privacy}","received_events_url":"https://api.github.com/users/georgeboot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-07-28T16:18:52Z","updated_at":"2015-09-07T16:58:25Z","closed_at":null,"body":"I'm running Dovecot 2.2.18 on Debian 7. I installed both the plugin and the daemon with success.\r\nDovecot is adding the `XAPPLEPUSHSERVICE` capability to IMAP and my iOS device is recognising it. Also does the list in `~/xaps.json` get filled with devicesId's.\r\n\r\nHowever, when a new email gets sent to Dovecot, it does not call the method to actually send a command over the socket. I enabled loggin on my daemon, and it does not receive a single thing.\r\n\r\nMy last logs from the daemon:\r\n```\r\n2015/07/28 18:10:48 [DEBUG] Opening database at /root/xapsd.json\r\n2015/07/28 18:10:48 [DEBUG] Listening on UNIX socket at /var/run/dovecot/xapsd.sock\r\n2015/07/28 18:10:48 [DEBUG] Parsing /root/certificate.pem to obtain APNS Topic\r\n2015/07/28 18:10:48 [DEBUG] Topic is com.apple.mail.XServer.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\r\n2015/07/28 18:10:48 [DEBUG] Creating APNS client to gateway.push.apple.com:2195\r\n2015/07/28 18:10:48 Starting xapsd 1.0b1 on /var/run/dovecot/xapsd.sock\r\n```\r\n\r\nDovecot plugin config:\r\n```\r\nprotocol imap {\r\n  mail_plugins = $mail_plugins imap_xaps\r\n}\r\n\r\nprotocol lda {\r\n  mail_plugins = $mail_plugins xaps\r\n}\r\n\r\nprotocol lmtp {\r\n  mail_plugins = $mail_plugins xaps\r\n}\r\n\r\nplugin {\r\n        # Defaults to /var/run/dovecot/xapsd.sock\r\n  xaps_socket = /var/run/dovecot/xapsd.sock\r\n}\r\n```\r\n\r\nThe command I'm running:\r\n```\r\n/usr/local/dovecot-xaps-daemon/bin/xapsd -key=/root/key.pem -certificate=/root/certificate.pem -database=/root/xapsd.json -socket=/var/run/dovecot/xapsd.sock -debug=true\r\n```\r\n\r\nAny thoughts why this might be causing this?"},"comment":{"url":"https://api.github.com/repos/st3fan/dovecot-xaps-plugin/issues/comments/138340459","html_url":"https://github.com/st3fan/dovecot-xaps-plugin/issues/9#issuecomment-138340459","issue_url":"https://api.github.com/repos/st3fan/dovecot-xaps-plugin/issues/9","id":138340459,"user":{"login":"georgeboot","id":884482,"avatar_url":"https://avatars.githubusercontent.com/u/884482?v=3","gravatar_id":"","url":"https://api.github.com/users/georgeboot","html_url":"https://github.com/georgeboot","followers_url":"https://api.github.com/users/georgeboot/followers","following_url":"https://api.github.com/users/georgeboot/following{/other_user}","gists_url":"https://api.github.com/users/georgeboot/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeboot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeboot/subscriptions","organizations_url":"https://api.github.com/users/georgeboot/orgs","repos_url":"https://api.github.com/users/georgeboot/repos","events_url":"https://api.github.com/users/georgeboot/events{/privacy}","received_events_url":"https://api.github.com/users/georgeboot/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T16:58:25Z","updated_at":"2015-09-07T16:58:25Z","body":"@Y-ME369 No unfortunately not. My setup uses Exim instead of postfix. And to be hones I don't have a clue how Exim works, I got it pre-configured on a DirectAdmin box.\r\n\r\nMaybe you or someone else can help me out?"}}