X-mailer header removed after use EWS Oauth2 on Evolution

Evolution version: 3.28.5-0 ubuntu 0.18.04.2
My company’s user mailboxes are all on Exchange Online.
After we change from IMAP to EWS Oauth due to basic auth deprecation last Oct.
Some of our users’ “x-mailer header: Evolution…” header disappears after mail submitted to Exchange Online.

We have submit MSFT support case, the answer is these header type are different.
PS_INTERNET_HEADERS: this will keep
PS_TRANSPORT_MESSAGE_HEADERS: this will be removed

but we use same configuration in Evolution and Exchange Online mailboxes.

Does anyone has the same issue?

Evolution version: 3.28.5-0 ubuntu 0.18.04.2

Hi,

I guess you expect it, thus I’ll do it: your version is ancient, the
Ubuntu 18.04 means 2018, aka more than 5 years ago…

Some of our users’ “x-mailer header: Evolution…” header disappears
after mail submitted to Exchange Online.

When you say “some of the users”, do you mean that for some users the
received message does contain the X-Mailer header and for some other
users it does not?

By the way, more recent version of Evolution uses User-Agent header,
not X-Mailer.

We have submit MSFT support case, the answer is these header type are
different.
PS_INTERNET_HEADERS: this will keep
PS_TRANSPORT_MESSAGE_HEADERS: this will be removed
but we use same configuration in Evolution and Exchange Online
mailboxes.

The evolution-ews does not use these properties on send, it passes the
message as a MimeContent and it’s up to the server what it’ll do with
it. You can see what it passes to the server when you run Evolution
from a terminal with:

EWS_DEBUG=2 evolution

Please note that reporting any bug against your ancient version is a
waste of your time. You can report a bug if it’s reproducible with the
current stable series, which is currently 3.48.x. Nonetheless, in this
particular case, the message is passed to the server the same way in
your version as it is done in the current stable series, as far as I
can tell.

Bye,
Milan

This is very old. The current Evolution is 3.46.x, so your version is
around 8 or 9 years out of date. AFAIK interactions with Exchange have
changed over the years (I don’t use Exchange so I’m guessing), so
updating would be the first thing to try, which almost certainly means
updating your version of Ubuntu (which I also don’t use, so that’s
another guess).

poc

There may be reasons why the OP is on Ubuntu 18.04.
One possible solution, I think, might be running the latest Evolution Mail as a snap maybe?
Unless snap needs some dependencies that are not available on 18.04.

The usual recommendation here is to use a Flatpak version, which is at
least available from a standard repository (Flathub). I’m not sure of
the status of snap versions.

poc

1 Like

Ah, yes. I might’ve been a bit too fast with suggesting Evolution Mail as a snap package.
I assumed there was one, as well as thinking Ubuntu and snaps now were a thing.
My quick google search however shows there aren’t any , only a request from 2021 for a Evolution snap package.

A flatpak is a better suggestion. Thanks @poc .

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.