dupondje / PHP-Push-2

Z-Push Fork With CalDAV/LDAP Support
GNU Affero General Public License v3.0
67 stars 24 forks source link

Send emails w/ iOS 6.1.3 broken - WBXMLException: Internal Server Error - code: 0 #74

Open jbfriedrich opened 11 years ago

jbfriedrich commented 11 years ago

It seems that iOS 6.1.3 cannot send emails anymore with Z-Push 2.0.7 or the current PHP-Push2 version. I get the following error message in the log:

23/04/2013 22:56:56 [ 3127] [ INFO] [me@mydomain.com] [Appl8xxxxxx] Version='2.0.7-1690' method='POST' from='178.xx.xx.xx' cmd='SendMail' getUser='me@mydomain.com' devId='Appl8xxxxxx' devType='iPhone' 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] Used timezone 'Europe/Berlin' 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] Including backend file: '/var/www/mydomain/zpush/backend/imap.php' 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] Request::ProcessHeaders() ASVersion: 14.0 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] ZPush::CommandNeedsProvisioning(1): true 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] FileStateMachine->GetState() on file: '/var/www/mydomain/zpush/state/s/4/Appl8xxxxxx-devicedata' 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] ASDevice data loaded for user: 'me@mydomain.com' 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] TopCollector(): Initialized mutexid Resource id #109 and memid Resource id #110. 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] LoopDetection(): Initialized mutexid Resource id #112 and memid Resource id #113. 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] ZPush::HierarchyCommand(1): false 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] DeviceManager->ProvisioningRequired('206995987') saved device key '206995987': false 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] ZPush::CommandNeedsAuthentication(1): true 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] BackendIMAP->Logon(): Excluding Folders () 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] BackendIMAP->Logon(): User 'me@mydomain.com' is authenticated on IMAP 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] ZPush::CommandNeedsPlainInput(1): false 23/04/2013 22:56:56 [ 3127] [FATAL] [me@mydomain.com] [Appl8xxxxxx] WBXMLException: Internal Server Error - code: 0 23/04/2013 22:56:56 [ 3127] [ INFO] [me@mydomain.com] [Appl8xxxxxx] User-agent: 'Apple-iPhone3C1/1002.329' 23/04/2013 22:56:56 [ 3127] [FATAL] [me@mydomain.com] [Appl8xxxxxx] Request could not be processed correctly due to a WBXMLException. Please report this. 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] LoopDetection->ProcessLoopDetectionTerminate() 23/04/2013 22:56:56 [ 3127] [DEBUG] [me@mydomain.com] [Appl8xxxxxx] -------- End

I think it is exactly or at least related to bug ZP-344. There is also a thread in the Zarafa forums about it. It seems that iOS 6.1.3 is sending plaintext body instead of mime embedded in WBXML. I have no idea how to fix it. Suggestions?

pedrovanzella commented 11 years ago

Any eta on this?