Evolution and Exchange server

I'm still pretty new to Linux having started over the last couple of months and am generally happy.
I'm enrolled at RMIT University and doing an elective subject at the University of Melbourne so need email accounts with both. They both use Microsoft Exchange and I was finding RMIT web email would occasionally load my UniMelb account and I think possibly the other way as well. Third party apps seemed to be a sensible idea! With a few hassles I eventually managed to get Thunderbird to load, send and receiving email with both accounts but it has recently decided that I need to start paying for a separate OWL app.

I figured that there should be other solutions. I successfully installed, and am using Teams for Linux, and an Outlook app seems to be running OK for RMIT (did I stumble on this in my initial search or is it part of Zorin Pro?). But it seems to only support one account and I need email for UniMelb as well.

A bit more searching led me to Evolution. It didn't immediately recognise Exchange but following instruction from https://douglasrumbaugh.com/post/microsoft-email-on-linux/ and installing EWS I was more optimistic. Evolution then recognised Exchange as an option but it still didn't connect, when using either dothe default or the suggested alternative Host URL .asmx file. It doesn't accept seem to my password and ultimately reports "Error creating /home/kenna/.var/app/gnome.org.Evolution/config: No such file or directory" but the directory is definitely there with five sub-folders.

Can anyone help me to work with the 2 Exchange accounts? Thanks!

Did you install evolution as flatpak ?

Yes, via the Zorin Software app.

I think it will work better if it's not flatpak. so remove the flatpak install and try this

  1. Kill all Evolution processes first
pkill -9 evolution
  1. Clear the problematic config directories and restart fresh:
rm -rf ~/.var/app/org.gnome.Evolution/config
rm -rf ~/.var/app/org.gnome.Evolution/cache
  1. Reinstall Evolution from native packages
sudo apt remove evolution evolution-ews
sudo apt install evolution evolution-ews
1 Like

Try using the Firefox multi-account containers extension. You can also create separate Chrome profiles. This helps to keep the RMIT and UniMelb login cookies separate.

Check if you are on the latest Thunderbird version. From v115 onwards, Thunderbird natively supports Exchange. Keep in mind that you need to opt for the OAuth2 configuration during the setup. The paid Owl extension is no longer required.

I can see that (.var/app/) shows the Flatpak version because it is sandboxed, it cannot access the EWS plugin. Start by uninstalling Flatpack. Then, open your terminal and use

run sudo apt install evolution evolution-ews.

Here, too, you need to choose OAuth2 for Authentication.

One extra point I would like you to look over is using a utility like SysTools Office 365 Backup to pull your academic emails down into a local, universal format like MBOX that any Linux client can read offline.

1 Like

Hello and welcome,
It seem it's what I said him to do... and when a IA give you an answer and you copy it, be sure and understand what you are talking about because there are mistakes...

Just to add if Outlook365 is used then there should be no issue in setting it up in Evolution. I was able to do this in lockdown working from home until I retired. The only mailbox I could not include was a shared mailbox for jobs that needed completing.

Additionally, if you are requiring access to a server for file access and storage via a secure website login I recommend Remmina Remote which is part of Zorin. I had a VM of Windows 8.1 Pro inside of Devuan and had to use Edge browser to access secure webpage. In doing so a small cpub.exe file would get downloaded for this to work. I saved this file to a redirected USB in virt-manager, then on disconnection of the VM the USB would be automatically present in Devuan. I copied the cpub.exe file to my Devuan HDD and pointed Remmina to it. This meant I then only required to use my login credentials once instead of the three times required by Edge! I could also access my z:\ drive (works desktop).

There is an error in the removal command of evolution. It is installed as flatpak not apt. I'm not sure if it is

flatpak uninstall org.gnome.Evolution
1 Like

no it's to be sure there is no conflict, read, I said to remove the flatpak version...

1 Like

Oh, that's what you meant. I'm sorry.

1 Like