Sending Mail fails: WBXML Exception

Trouble installing? Post questions and find answers.

Sending Mail fails: WBXML Exception

Postby view_source » Sat Aug 04, 2012 5:09 pm

Hi everyone.

Just got my first zarafa server up and running (7.0.8 on debian) an installed z-push.
Testing it with an iPad 1 (iOS 5.1) and an iPod Touch (iOS 5.1).
Everything seems to work except sending emails.

in the z-push log these FATAL errors appear:
04/08/2012 17:51:07 [ 1665] [test5@mm] [FATAL] WBXMLException: Internal Server Error - code: 0
04/08/2012 17:51:07 [ 1665] [test5@mm] [FATAL] Request could not be processed correctly due to a WBXMLException. Please report this.

I set loglevel to LOGLEVEL_WBXML which produces more "noise" but shows not more errors.

Find attached the userlog I had created for testuser test5@mm.

This behaviour occurs with both z-push-2.0.1-1375 and z-push-2.0.2RC-1400.

(With z-push-1.5.11.1362 sending mail works. but thats not the version I want :-)

I would be very grateful if someone could help me with this!

Thanks in advance

Thomas
Attachments
userlog_test5mm.txt
(21.19 KiB) Downloaded 10 times
view_source
 
Posts: 3
Joined: Fri Aug 03, 2012 11:22 am

Re: Sending Mail fails: WBXML Exception

Postby mku » Mon Aug 06, 2012 4:20 pm

Hi Thomas,

the log you've posted is not helpful. Please set the level to WBXML, try to send an email and post the log output again.

Are there any errors in apache error log?

Greets, Manfred
Try using forum search as well!
Please do not PN me asking for support. Use the forum instead. Thank you.
mku
Site Admin
 
Posts: 1239
Joined: Thu Sep 20, 2007 4:48 pm
Location: Belo Horizonte / Brazil

Re: Sending Mail fails: WBXML Exception

Postby view_source » Mon Aug 06, 2012 9:22 pm

Hi Manfred,

Thank you for your quick reply.

I thought the logleverl was set to WBXML. In the config.php I've got:
define('LOGLEVEL', LOGLEVEL_WBXML);

The logfile (/var/log/z-push/z-push.log) also contains many lines with "[WBXML]", eg:
[...]
06/08/2012 22:03:49 [ 4501] [user@example.org] [WBXML] I <Synchronize>
06/08/2012 22:03:49 [ 4501] [user@example.org] [WBXML] I <Folders>
06/08/2012 22:03:49 [ 4501] [user@example.org] [WBXML] I <Folder>
06/08/2012 22:03:49 [ 4501] [user@example.org] [WBXML] I <SyncKey>
[...]

Attached you find the part of the logfile that was created while trying to send an email from my iPad. Only what you see in the attached file was logged! Not more! With the setting define('LOGLEVEL', LOGLEVEL_WBXML)...

Is there another log setting I'm missing?

Otherwise it seems that whatever WBXML should be processed doesn't get to be processed and the Fatal Exception is thrown before anything is logged?!

Please help! How can I assist?

Thomas
Attachments
log-sendmail-failed.2012-08-06.txt
(2.8 KiB) Downloaded 6 times
view_source
 
Posts: 3
Joined: Fri Aug 03, 2012 11:22 am

Re: Sending Mail fails: WBXML Exception

Postby mku » Mon Aug 06, 2012 9:39 pm

Hi Thomas,

are there any errors in the apache error log? Could you also post the line from the apache access log for that command?

Greets, Manfred
Try using forum search as well!
Please do not PN me asking for support. Use the forum instead. Thank you.
mku
Site Admin
 
Posts: 1239
Joined: Thu Sep 20, 2007 4:48 pm
Location: Belo Horizonte / Brazil

Re: Sending Mail fails: WBXML Exception

Postby view_source » Tue Aug 07, 2012 7:01 pm

Hi Manfred,

Sorry, forgot to mention in my last post that there was no apache error.

The (anonymised) line in the apache access log that corresponds with the sending attempt is:

zarafaserver.example.org:443 x.x.x.x - user@example.org [07/Aug/2012:19:52:07 +0200] "POST /Microsoft-Server-ActiveSync/?User=user@example.org&DeviceId=DEVICEID&DeviceType=iPad&Cmd=SendMail HTTP/1.1" 500 565 "-" "Apple-iPad1C1/902.206"

Doesnt seem like much help?! Any ideas?

Thanks again!

Thomas
view_source
 
Posts: 3
Joined: Fri Aug 03, 2012 11:22 am

Re: Sending Mail fails: WBXML Exception

Postby mku » Tue Aug 07, 2012 9:06 pm

Hi Thomas,

have you made any changes to config.php? How does the Microsoft-Server-ActiveSync alias look like? Have you tried removing the device with z-push-admin and re-creating the profile on the device?

Greets, Manfred
Try using forum search as well!
Please do not PN me asking for support. Use the forum instead. Thank you.
mku
Site Admin
 
Posts: 1239
Joined: Thu Sep 20, 2007 4:48 pm
Location: Belo Horizonte / Brazil

Re: Sending Mail fails: WBXML Exception

Postby johnroberts » Sun Aug 19, 2012 6:38 pm

Hi All,

I had the same problem, but finally worked out what the problem was:

I created the link in Apache as:

Code: Select all
Alias /Microsoft-Server-ActiveSync /data/www/z-push-2

instead of

Code: Select all
Alias /Microsoft-Server-ActiveSync /data/www/z-push-2/index.php

My stupidity as its clear in the INSTALL file. It fixed the problem and I'm now able to send from iPxxx devices.

I'm not saying that this is your solution, just hope it might help.

Cheers!
johnroberts
 
Posts: 6
Joined: Fri Aug 17, 2012 1:46 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron