Multiple identities (aliases) for subscribed folders with EWS plugin

I was reading this topic, but suddently got automagically closed.

The goal is to be able sending email by using “shared email addresses” (like groups), using EWS plugin and Office365.

I managed to enable my primary account (personal one), then I added an alias in the syntax of "My Group" <MyGroup@example.com>.

Now I’m able to send mails as “My Group” From recipient. The only problem is: sent mail are stored in my personal account’s Outbox, instead of group’s Outbox.

Do I need to subscribe “MyGroup” Outbox folder, then put an Evolution internal rule to move messages having <mygroup@example.com> as From recipient value? Will it work? Is there any other proper way to do this?

I tried to subscribe Outbox folder (in uscita) but doesn’t exists in the list.

Istantanea_2024-09-18_12-29-24

Thanks for caring.

The goal is to be able sending email by using “shared email
addresses” (like groups), using EWS plugin and Office365.
I managed to enable my primary account (personal one), then I added
an alias in the syntax of “My Group” MyGroup@example.com.
Now I’m able to send mails as “My Group” From recipient.

Hi,

aliases with EWS and Office365 are tricky. The server sets the From
address as it likes to. If the sent email contains the correct From
address on the recipient’s side, then you are safe.

The only problem is: sent mail are stored in my personal account’s
Outbox, instead of group’s Outbox.

Do you mean Sent Items, maybe? Evolution, if set to, always prepares
messages to be sent into the On This Computer/Outbox and once it sends
the message it saves it to the configured Sent folder. It can be On
This Computer/Sent, which is also used as a fallback, or a server-side
folder, depending what the account is set to (mail account
Properties->Defaults tab) or where the Edit->Filters->Outgoing pass the
sent message to.

Bye,
Milan

Hello Milan, thanks for replying.
My personal account is set to store items on server, into MyAccount/Sent folder. I don’t want to use local “This computer” area at all.

Maybe I need an outgoing rule for exiting mail having “MyGroup@example” From recipient? The rule should move only those items to MyGroup/Sent folder.

Another problem is Evolution can’t subscribe to MyGroup/Sent folder, as seen in the previous screenshot.

  • Incoming
  • Contacts
  • Calendar
  • Calendar free/busy
  • Memo
  • Activities

I’ve expected also In uscita (outgoing) folder were available for subscription.

Correct, you should create such rule (once you see the Sent Items of the other account).

There is only a preset of mostly used folders, something Outlook offers. The evolution-ews can do much more, but you need to know the folder ID to subscribe to and to be allowed to subscribe to it by the group account owner. You can try to subscribe the Inbox and check to include also subfolders, which should be below the folder name. I do not see what version of Evolution you use, thus if you do not have it there, you can update. The current stable version is 3.54.0, released only few day ago, but I think it’s available in 3.46.x or maybe a bit older versions too.

These “subscriptions” are only one way how to get to the other user folder. Depending on the way the group account is setup on the server, you can try to impersonate the group user, by creating a new EWS account and on the Receiving Email tab you check Open Mailbox of other user. If allowed by the server settings, you’ll get a complete separate account in the folder tree and the things will work without any outgoing mail filters.

Hello, sorry for being late replying on this.

I put my local “filter” (rule), binded to my personal account, as outgoing rule. Mails having From: mygroup@example.com are moved in “MyGroup » Oubox” folder. Folder ID can be obtained by visiting office365 webmail url: https://outlook.office365.com/mail/mygroup@example.com/sentitems. Simply browse your destination folder, and you’ll get the real ID in the URL.

To do this, I had to update Evolution to 3.54 as you said. Newer version lets you write ID in a text field, more than simply selecting an item from the list.

To obtain 3.54 I had to dist-upgrade the whole Debian to testing, that’s because I wasn’t unable to Apt Pin only evolution mail (there was dependencies with libreoffice). So, if anyone is able to Pin only evolution* packages to testing distribution, there’s no need to dist-upgrade the whole OS.

Thanks for helping solving! Maybe this comment can be set as solution, but in real the solution is the whole thread.

That’s odd, it was able to write there anything since the beginning. I
do not recall any change in that place in the 3.54.x series.

Anyway, good you made it working.

The previous screenshot is the modal window at time of 3.46.x version. (Debian bookworm). There’s no UI/UX evidence it can be freely typed in.

By the way, thanks again for helping!

It might be some glitch with an older version of the gtk3. I do not know, just guessing. Good you made it working. Newer version is better, brings more fixes.

1 Like