Zimbra support

Hi.
I have tried and tried to have a working setup against zimbra. however I can only get a simple setup working. Like email, GAL, personal contactlist, and personal calander. with mulitiple accounts to achive the above.

It seems the only way now to have thing working i zimbra is:
 Imap       = email
 Carddav  = galsync globaladresslist + personal contactlist
 Caldal     = your calander or other calenders

I can’t figure out how one should setup calenderappointments to see if another user in zimbra is free or busy(freebusy-system of the mailserver). and not sure how one could map other users shared calender up. it would be awful lot of caldav-accounts if one have to add one and one user calender to the list.

Currently I have tested activesync against zimbra. I get airsync errors. I also read on this forum that activesync does not seem to be suportet in emclient no longer due to a licenseproblem. EWS is supported in zimbra, however that protocol does not work either against zimbra.

It would be great if emclient would support zimbra api accessed by http/https. Currently that means zimbra soap(complete. everything is possible through this api!) or rest api (better supported in the future)
https://wiki.zimbra.com/wiki/SOAP_API_Reference_Material_Beginning_with_ZCS_8
And another thing that would be great if emclient would support zimbra api through http/https, one also could have it work with SSO-authentication.

-Zimbra user and admin-

Tested caldav against zimbra, and it does work, however it looks hacky. it refreshes the view by removing all calender items, and then putting them up again every calender sync executed. 

Testing emclient 7.candidate release. it seems free/busy is working in this version :slight_smile: not sure how it works. In my setup I have Imap, cardav(galsync), caldav(my calendar) and caldav(another users calender). still seems silly to have to add manualy each shared calender as an account. Will test emclient 7 candidate release more to see what’s new against zimbra. still think it would be better if it supported zimbra soap right out of the box…

When a leader is in need of a overview of all the workers in that department how would one setup such a thing in emclient? 

Caldav:
Seems you can add:
http://zimbraserver/dav/
to get every calender mounted in zimbra. however it looks like it tries to sync back to calenders that isn’t mine. and it dosent seem to work very well. get errors. and calendars does not view.

* And seems caldav is pulling info. probably the nature of the protocol, but syncs can be too slow. isn’t there any push on caldal? 

Emclient 7. candidate release. seems to be able to connect to zimra EWS. it syncs some old emails. and then errors

And I get error when trying to read an email.

Sync error:
The type of the object in the store (meetingResponse) does not match that of the local object(message).

11:30:57 account@zimbraserver [Exchange Web Services]  Synchronizing folder ‘account@zimbraserver/Inbox/’

11:31:13   MailClient.Storage.Application.OperationException: Synchronizing folder ‘account@zimbraserver/Inbox/’ failed due to the following error: The type of the object in the store (MeetingResponse) does not match that of the local object (Message). —> Microsoft.Exchange.WebServices.Data.ServiceLocalException: The type of the object in the store (MeetingResponse) does not match that of the local object (Message).

11:31:13    ved Microsoft.Exchange.WebServices.Data.EwsServiceXmlReader.ReadServiceObjectsCollectionFromXml[TServiceObject](XmlNamespace collectionXmlNamespace, String collectionXmlElementName, GetObjectInstanceDelegate`1 getObjectInstanceDelegate, Boolean clearPropertyBag, PropertySet requestedPropertySet, Boolean summaryPropertiesOnly)

11:31:13    ved Microsoft.Exchange.WebServices.Data.GetItemResponse.ReadElementsFromXml(EwsServiceXmlReader reader)

11:31:13    ved Microsoft.Exchange.WebServices.Data.ServiceResponse.LoadFromXml(EwsServiceXmlReader reader, String xmlElementName)

11:31:13    ved Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.ParseResponse(EwsServiceXmlReader reader)

11:31:13    ved Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ReadResponse(EwsServiceXmlReader ewsXmlReader)

11:31:13    ved Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponseXml(Stream responseStream)

11:31:13    ved Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponse(IEwsHttpWebResponse response)

11:31:13    ved Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()

11:31:13    ved Microsoft.Exchange.WebServices.Data.ExchangeService.InternalLoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet, ServiceErrorHandling errorHandling)

11:31:13    ved Microsoft.Exchange.WebServices.Data.ExchangeService.LoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet)

11:31:13    ved MailClient.Protocols.Exchange.ExchangeItemSynchronizer`2.d__18.MoveNext()

11:31:13    ved System.Linq.Enumerable.d__31`3.MoveNext()

11:31:13    ved System.Linq.Enumerable.d__23`2.MoveNext()

11:31:13    ved MailClient.Protocols.Common.ItemSynchronizeContext2.StoreItems(SynchronizationType synchronizationType, IEnumerable1 newItems)

11:31:13    ved MailClient.Protocols.Common.MailItemSynchronizeContext.StoreItems(SynchronizationType synchronizationType, IEnumerable`1 newItems)

11:31:13    ved MailClient.Protocols.Common.ItemSynchronizeContext2.Synchronize[T](SynchronizationType synchronizationType, IEnumerable1 items, Func2 getUniqueId, Func3 hasChanged, Func2 isDeleted, Func2 convertItems, Action`2 updateItem)

11:31:13    ved MailClient.Protocols.Exchange.ExchangeItemSynchronizer2.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken)

11:31:13    ved MailClient.Protocols.Common.ItemSynchronizer`2.<>c__DisplayClass28_0.b__1(WorkerStatus status, CancellationToken cancellationToken)

11:31:13    ved MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)

11:31:13    — Slutten på sporingen av intern unntaksstakk —

11:31:13    ved MailClient.Protocols.Exchange.ExchangeGenericCommand.Execute(WorkerStatus status)

11:31:13    ved MailClient.Commands.Command.Process(WorkerStatus status)

Does not really seems like EMClient 7 support Zimbra? - I can’t get it to work if I set it up like exchange server.
E-mail work fine as IMAP, but contacts and Calendar is missing

Hello Thor,
the official supported setup for Zimbra is currently the IMAP/SMTP, CalDAV and CardDAV combination.
When we were setting Zimbra’s EWS we encountered few things we couldn’t adapt to at the time, but hopefully in the future we can support it as well when zimbra also improves its EWS setting.
Thank you for your understanding.

Regards,
Olivia

OK thanks
It seems to be working with ActiveSync on my phone as well, so that could also be an option?
Any idea about when you would expect Zimbra support as that is what we use in our organization

Would be much better if emclient supportet zimbra soap (that’s what the webclient uses). EWS implemtation is flaky. And I think emclient support will never happen if they go ews route.

@Mikkel. i found imap+caldav not an optimal setup with zimbra as you see from my older posts above.

Activesync + zimbra: they have changed something here: http://www.emclient.com/blog/what-to-expect-in-em-client-7–imap-support-for-outlook.com-accounts-13…
it says airsync on the tab (instead of activesync). I tried this, but I get errors on airsync when it tries to sync the calenders. not sure if this setup works okey either. from what I read “AirSync is only supported for Outlook.com/Hotmail accounts”

Other options you have: outlook 2013 or newer supports activesync. or you could use outlook connector if you got network editon of zimbra(i got some issues on 32bits version, but 64bits version seem ok)
Here is my review of that setup: https://forums.zimbra.org/viewtopic.php?f=20&t=60386

Thank for the input Thor
A bit sad it is soo difficult :-/

no problem. yeah I have tried to find a thick client that work good enough to push out to users. and it seems like ms outlook is the best bet for now. And that’s a little sad, when we now that zimbra supports open protocols, and soap api over http/https. Soap api is pretty good too.

You might also check out rambox to view zimbra web client in a own program. I have reviewed it for a short while. one problem I found was that right click didn’t work. but it’s interesting :slight_smile:
http://rambox.pro/

Thanks Thor
Really helpful
I assume you are aware of the Zimbra Desktop client? (unfortunately its support for Gmail is terrible, so I am stuck with two clients which does only support one type of account in a good way).

Insane we are writing end 2016 and there is actually no good email client out there supporting these things out of the box…if i didn’t know I would have said that there would be a least 10

tried it a while back. but it didn’t fit what I where looking for. I see they mention efforts getting it up to date with node.js as it’s foundation. so it may be getting better.

Havent tried it yet but the zimbra-webclient supports loading external imap accounts (settings->accounts->add external account).so you can have gmail inside that client. I guess we will have to just wait and see if something better gets made :) 

https://forum.emclient.com/emclient/topics/sent-emails-not-stored-in-sent-folder
"I have 2 accounts that are hosted by a very large Canadian ISP provider Shaw using Zimbra as an email server. The accounts are set up with IMAP, SMTP and Airsync. These accounts were working perfectly for a couple of months and then the email stop being copied into the sent folder. "

Seems somebody manage to get airsync/activesync working with zimbra before. 

Hello Thor,
the AirSync was NOT supposed to be used instead of ActiveSync (and I believe this setup is part of the reason on why Randy has an issue with those accounts).
This possibly could have happened if someone tried to manually setup a Zimbra account as Microsoft account.
This ishould no longer be possible.

Regards,
Olivia

Thor,

See this document: https://community.shaw.ca/docs/DOC-1064#methods

Shaw uses Zimbra. The auto set up feature did not work when I set my accounts up on eM Client. I had to manually set then. Funny thing though when I set up my wife Android phone and my Blackberry, they were both able to auto set up the account and work perfectly.

I’ll have to double check this when I get home but in manual mode I don’t think eM Client allows you to just set up AirSync (now called ActiveSync).  So you have to add add your IMAP and SMTP server information plus the AirSync server information.

Here are my instructions for how to set it up. See the post on July 28, 2016
https://community.shaw.ca/message/135680?commentID=135680#comment-135680

When I initially set this up everything worked perfectly. However, some months later the copy to sent folder stopped working. If you use my set up plus the copy to sent folder work around you should have a 100% working system.

It seems to me that there is a bug with email eM Client because both Android and Blackerry 10OS and Outlook (2003) have no problem whatsoever in communicating with Shaw’s Zimbra email server. My devices have worked for years on Shaw/Zimbra. Only eM Client doesn’t work 100% (which odd because it did work and then suddenly stopped without me changing a thing).

Good luck. Let me know if this works for you.

Hello Randy,
as I mentioned above, the official supported setup for Zimbra in eM Client is currently the IMAP/SMTP, CalDAV and CardDAV combination.

Regards,
Olivia

What is CalDav and CardDav? Is that something that is configured in eM Client?

I accept that his may be the “official” set up but my question is why?  Since other email clients can communicate easily and with 100% of the features available, why can’t eM Client?

Like I said, I had no problem setting up other email clients with Zimbra and I definitely didn’t need to so something around CalDav and CardDav (don’t even know what these are). So if they can do it, why not eM CLient?

I think if you could get your developers to look into my set up you might find that eM Client actually does work with Zimbra/AirSync.

What started all of this for me is that the “copy to sent” folder suddenly stopped working after months of working 100% just like all of my other email clients on all of my other devices.

Caldav/cardav calender&contact sync does work. but I feel it’s wonky setup. 
Especially if you share calenders with alot of users, need galsync etc. 

Look at my 4months back post:

  • " In my setup I have Imap, cardav(galsync), caldav(my calendar) and caldav(another users calender). still seems silly to have to add manualy each shared calender as an account."

  • "Seems you can add:
    _http://zimbraserver/dav/ _to get every calender mounted in zimbra. however it looks like it tries to sync back to calenders that isn’t mine. and it dosent seem to work very well. get errors. and calendars does not view.

* And seems caldav is pulling info. probably the nature of the protocol, but syncs can be too slow. isn’t there any push on caldal? "

Activesync support would work in a simple setup. your own calender, your contactlist and your email. but it would be great to have even better support.
I still vote for full support through zimbra soap… add galsync, better mounting of other users calenders, add contactsync, add mailbox reading and mounting other users mailboxes. even sso suport through http/https is possible(spnego).  as much push communication as possible would be great. And better calenderteam features in emclient (a view that have an overview of your team).

So activesyncsupport as minimum and zimbra soap as a mega bonus :slight_smile:

How much would it take to have zimbra soap support? mabe a crowd founder?

I totally agree with this. Please add the functionality Thor described

It’s a shame this is still an issue in emClient. “Clunky” doesn’t begin to describe the current set-up requirements with emClient and Zimbra.