Zimbra 10 FOSS Installation Guide

Ask questions about your setup or get help installing ZCS server (ZD section below).
bulletxt
Advanced member
Advanced member
Posts: 74
Joined: Sat Sep 13, 2014 1:08 am

Re: Zimbra 10 FOSS Installation Guide

Post by bulletxt »

when a new patch comes out, what happens? Do you have to build whole zimbra source again ?
innotelinc
Posts: 11
Joined: Tue Sep 05, 2023 3:49 pm
Location: Springfield, MA, USA
ZCS/ZD Version: Release 10.0.5.GA.1000.UBUNTU20.64
Contact:

Re: Zimbra 10 FOSS Installation Guide

Post by innotelinc »

Rusi wrote: Sat Sep 16, 2023 3:20 pm Hi Folks!

I just registered now, to tell you a big THANKS!
Especcially to innotelinc for the great job! :D

On the main page it is writen: 10.0.4_GA_1000.NETWORK
However:
zmcontrol -v
Release 10.0.4.GA.1000.UBUNTU20.64 UBUNTU20_64 FOSS edition.

??
I believe because you may have installed a network component such as onlyoffice. When I built the repo I built it from the original zimbra repo, ie. copied it to my virtual server. Then I build the recent 10.0.4 from that repo and hosted it on my server. So when it says use zimbra repo you can use mine if you want instead but it should all be the same. Just don;t select only office when installing and it shouldnt install network components. I on the otherhand was testing it for another reason, my ISP Xfinity, Comcast, whatever they call themselves now wont allow a mail server to be hosted on a personal internet account. So I'm running zimbra on port 2525 listening for my email relay from another server (oracle linux free vps) that can listen on port 25. So it works perfectly for that reason. Also trying to get zimbra connected to nextcloud and onlyoffice as well. Got the nextcloud and onlyoffice part working now trying to figure out zimbra... Will post my results.
Release 10.0.5.GA.1000.UBUNTU20.64 UBUNTU20_64 FOSS edition.
ask me how @ dhunter@innotel.us
innotelinc
Posts: 11
Joined: Tue Sep 05, 2023 3:49 pm
Location: Springfield, MA, USA
ZCS/ZD Version: Release 10.0.5.GA.1000.UBUNTU20.64
Contact:

Re: Zimbra 10 FOSS Installation Guide

Post by innotelinc »

bulletxt wrote: Fri Sep 22, 2023 5:18 pm when a new patch comes out, what happens? Do you have to build whole zimbra source again ?
I exactly haven't figured out if you can just rerun the installation script and select upgrade because the files on the repo will be updated daily to mirror zimbra's servers or just select the zimbra repo and upgrade.

But in anycase I will rebuild the source again whenever a new version comes out so its no big issue it takes around 20 minutes or so.

The lastest build I have made is located here https://repo.innotel.us/zcs-10.0.4_GA_1 ... 123303.tgz Made on Sep 16
Release 10.0.5.GA.1000.UBUNTU20.64 UBUNTU20_64 FOSS edition.
ask me how @ dhunter@innotel.us
CSylvain
Posts: 13
Joined: Fri Dec 26, 2014 5:11 am

Re: Zimbra 10 FOSS Installation Guide

Post by CSylvain »

For Zimbra and Nextcloud, I worked I don't know how many hours on it and unfortunately had to stop the research for reasons of free time.

Two methods are possible, either an Iframe type integration including an autologin Token, for information, many remove this protection from the Nextcloud Core which I find barbaric, it is entirely possible to do this from a Plugin and NC Hooks, This is what I did with setting up a domain list customization.
But what happens next is a real nightmare, there are lots of JS requests and it makes it difficult to make all of this automatic.

I think that
also did some research but without success, with the same approach as for Rocketchat.

The other method consists of making a kind of Proxy which passes all requests with page controls and therefore autologin, I spent days doing it, and I managed to do an Autologin, but JS causes me too much trouble, so I gave up.

What is missing in Zimbra is the outsourcing of their document holder, it is not possible to store emails plus documents on a server which requires a lot of space, or even an architecture under OpenZFS as it does so well TrueNAS.
All documents are stored in the store folder with emails and its indexing in the index folder, even a solution to share under a CIFS mount in a specific folder is completely impossible. :( :?:
If such a solution is possible tomorrow, it will even be very easy to add an additional advantage, which is to make a synchronization client identical to that of Nextcloud !

If
goes through this, and does not see any brakes on the JS part of Nextcloud in Iframe, I am ready to collaborate on a solution where he can work on the Zimbra part, and me on the Nextcloud part. ;)
User avatar
barrydegraaff
Zimbra Employee
Zimbra Employee
Posts: 242
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Zimbra 10 FOSS Installation Guide

Post by barrydegraaff »

CSylvain wrote: Wed Oct 18, 2023 1:36 am For Zimbra and Nextcloud, I worked I don't know how many hours on it and unfortunately had to stop the research for reasons of free time.
You are a little off-topic, for FOSS integration of Nextcloud, you can use SAML for the login part and then use WebDAV between Zimbra and Nextcloud.

https://gallery.zetalliance.org/extend/ ... gn-on-saml

You can mount Zimbra Briefcase using External Storage in Nextcloud using WebDAV.

You can also still use but deprecated: https://gallery.zetalliance.org/extend/ ... dav-client

For Network Edition, there is https://gallery.zetalliance.org/extend/ ... oud-zimlet and https://gallery.zetalliance.org/extend/ ... et-classic
--
Barry de Graaff
Email: barry.degraaff [at] synacor [dot] com
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/ and the
Zimlet Gallery https://gallery.zetalliance.org/extend/
CSylvain
Posts: 13
Joined: Fri Dec 26, 2014 5:11 am

Re: Zimbra 10 FOSS Installation Guide

Post by CSylvain »

I admit, I did a search on the forum and came across this subject which mentions NC.

My research was done on a licensed version of Zimbra 10, therefore in a modern template, and I came back to your research: https://help.nextcloud.com/t/how-to-log ... auth/72058

Your proposals have already been studied for months, but offer little help because they are intended for attachments, so this pushes all users to go to Nextcloud.
To come back to this idea of a Proxy, it comes down to the same problem, a lot of JS requests which pass directly between the client and the server, the proxy that I set up does not allow everything to be redirected because most of the Links are directly generated in JS, the HTML page contains only a few links, so this complicates things even more, and causes direct links between the client (without identification Cookies) and NC.

Nextcloud is evolving quickly, they are far from arriving at a perfect Hub, but Zimbra developers should really think about outsourcing or at least separating the Mailbox documents.

I remain open to a private exchange !
marco.manenti
Posts: 5
Joined: Tue Dec 09, 2014 5:00 am

Re: Zimbra 10 FOSS Installation Guide

Post by marco.manenti »

Hi

I'm using it, just installed.
I hope somebody will maintains drive plugin (only for NE edition, not the FOSS one) and the chat plugin..
The installation is the same for all flavour of zimbra [1],


[1] for example:
https://inguide.in/install-zimbra-on-ub ... p-by-step/
https://wiki.zimbra.com/wiki/Installing ... ertificate
etc..


asark wrote: Wed Sep 20, 2023 7:23 pm A great guide!

Has anyone used the build from here? https://zintalio.com/
innotelinc
Posts: 11
Joined: Tue Sep 05, 2023 3:49 pm
Location: Springfield, MA, USA
ZCS/ZD Version: Release 10.0.5.GA.1000.UBUNTU20.64
Contact:

Re: Zimbra 10 FOSS Installation Guide

Post by innotelinc »

Guide still works the 10.0.4 version is at https://repo.innotel.us/zcs-10.0.4_GA_1 ... 123303.tgz not the http link sorry forgot the (s) but contribute!
Release 10.0.5.GA.1000.UBUNTU20.64 UBUNTU20_64 FOSS edition.
ask me how @ dhunter@innotel.us
CSylvain
Posts: 13
Joined: Fri Dec 26, 2014 5:11 am

Re: Zimbra 10 FOSS Installation Guide

Post by CSylvain »

As of today, there are two installation repositories:
Those of innotelinc
And this one that I used for my tests: https://techfiles.online/zimbra/

I challenged myself to add support for Zextras Suite, and it's done !
Image

Because having a FOSS version without the possibility of saving is of no use.
This also solves this migration problem for those who are under version 8.8 => 10.0.x !

We are all faced with the choice of either continuing with Zimbra or switching to Carbonio CE.
From my point of view, Zimbra remains the best choice, despite the excellent work that Zextras does on the UI part, but lacks important features.
The full version has dire requirements, like an insane amount of servers, and is still lacking in features.

I really want to go further to make an even more complete version even if it means reverse engineering Zextras Suite, but an important element is missing, which is maintaining the theme, it is not possible to use in 2023 a Classic theme, and that of Zextras has no longer been maintained since 2021 and is not comparable to the modern theme of Zimbra or Carbonio CE.
If there are volunteers talented in UI, we can join forces to create a complete FOSS version, and for my part I could continue the compatibility of Drive with Onlyoffice, plus a synchronization software that many companies use (the same as Nextcloud), to have external Storage, because the Zextras Suite Drive stores the data in a separate folder: /opt/zimbra/store/drive
It can therefore be used on a CIFS or NFS mount !

What do you think ?
User avatar
ianw1974
Outstanding Member
Outstanding Member
Posts: 218
Joined: Sat Sep 13, 2014 12:45 am
Location: UK and Poland
Contact:

Re: Zimbra 10 FOSS Installation Guide

Post by ianw1974 »

Well, techfiles has been around for a year now at least not just as of today, and I previously hosted them on my other domains until I bought that one (2 years in total). And my build scripts have been around since at least October 2020 so a lot of the effort in the initial post in this thread could have been avoided by using that - since the build script builds for Zimbra 9 and Zimbra 10. Possibly even Zimbra 8 but not bothered building personally since it's going EOL anyway.

Code: Select all

./zimbra-build-helper.sh --help

Zimbra Build Helper script!

Valid parameters are as follows:

  --install-deps	 - Installs required dependencies
  --build-zimbra	 - Builds Zimbra
  --cleanup		 - Cleanup previous attempted builds
  --help		 - Shows this help screen

At the beginning of the script these variables can be changed if you want:

MAINDIR=/home/git
PROJECTDIR=zimbra

Build summary step-by-step:

  1. Generate ssh key: ssh-keygen -t rsa -b 4096 -C "your_email@address"
  2. Upload this to your GitHub profile: https://github.com/settings/keys
  3. Only OpenJDK 8 can be installed on the build server, remove other versions
  4. Run:./zimbra-build-helper.sh --install-deps
  5. Copy either config.build.9 or config.build.10 to config.build
  6. Run:./zimbra-build-helper.sh --build-zimbra
  
the above literally shows the 6 steps needed to go through to get a Zimbra 9 or 10 build. For those of course that want to save a lot of time, the hard work has been taken out by using the helper script I've been providing for over 3 years on my GitHub. Or if you wish to save even more time, just download from the techfiles website any one of the builds I offer - Alma, CentOS, Oracle Linux, RHEL, Rocky, Ubuntu.

It's good to see that there are others also providing FOSS builds and no doubt have their own methods for resolving that, so it's all good. It means we all have a choice of which one to use :)
Post Reply