fmbiete / Z-Push-contrib

Z-Push fork with changes that I will try to contrib
GNU Affero General Public License v3.0
134 stars 62 forks source link

BackendIMAP implement ResolveRecipients (for S/MIME) #251

Open basbebe opened 8 years ago

basbebe commented 8 years ago

Whenever I compose a message on my iOS device, I get some errors in my log. I expect this has to do with the S/MIME check that the iPhone does on the server (?).

[…]
08/01/2016 11:06:43 [  429] [INFO] [mail@xxx.yy] Version='SVN-trunk-r1981' method='POST' from='2003454150090402856179' cmd='ResolveRecipients' getUser='mail@xxx.yy' devId='vra7la9o317nf6lq0hsookk77k' devType='iPhone'
08/01/2016 11:06:43 [  429] [WARN] [mail@xxx.yy] /usr/local/www/push/lib/request/resolverecipients.php:72 Trying to get property of non-object (8)
08/01/2016 11:06:43 [  429] [WARN] [mail@xxx.yy] /usr/local/www/push/lib/request/resolverecipients.php:76 Trying to get property of non-object (8)
08/01/2016 11:06:43 [  429] [WARN] [mail@xxx.yy] /usr/local/www/push/lib/request/resolverecipients.php:76 Invalid argument supplied for foreach() (2)
08/01/2016 11:06:43 [  429] [INFO] [mail@xxx.yy] Version='SVN-trunk-r1981' method='POST' from='2003454150090402856179' cmd='ResolveRecipients' getUser='mail@xxx.yy' devId='vra7la9o317nf6lq0hsookk77k' devType='iPhone'
[…]
``
fmbiete commented 8 years ago

This is because BackendIMAP doesn't support yet ResolveRecipients and returns a "false", and of course that is not an object.

basbebe commented 8 years ago

Thanks for the info!