nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.57k stars 4.08k forks source link

CalDAV: handle email aliases for users #40891

Open miaulalala opened 1 year ago

miaulalala commented 1 year ago

How to use GitHub

Is your feature request related to a problem? Please describe. Currently, email aliases are not considered when processing a scheduling event in CalDAV. A user anna@nextcloud.com might be invited to an event, but the reply could come from anna.larch@nextcloud.com, which is functionally the same email address; nonetheless the user will be considered a party crasher and the original ATTTENDEE will never have its PARTSTAT updated.

This is especially problematic for iMIP messages, as the email addresses are the primary means of identifying the replying user.

Describe the solution you'd like CalDAV should have a way to access email aliases for users. A way to do this could be to create a specific service that accesses and compares email adresses to whatever a VEVENT has stored in the ATTENDEE / ORGANIZER property.

Describe alternatives you've considered

Additional context Follow up to https://github.com/nextcloud/server/pull/40876

tcitworld commented 1 year ago

Is this the same as https://github.com/nextcloud/calendar/issues/4918 ? Might be fixed by https://github.com/nextcloud/server/pull/31029

miaulalala commented 1 year ago

ah nice, didn't see that. I will check if that works. Thanks Thomas!

juliusknorr commented 1 month ago

While I'm not sure if this was scope of the initial issue report, but seems close enough to not open a separate one:

After my name change my primary email to julius.knorr also changed on our instance, still having an alias for my old email address.

fcharlaix-opendsi commented 23 hours ago

We have encountered this problem recently, our internal documentation says to accept with Nextcloud and not the built-in Thunderbird action to avoid conflict with already created event not already synced to Thunderbird.

Since we have a second email domain alias we encounter strange missing events, I got one on my secondary address and done some tests, despite adding addition emails to my Nextcloud profile this sandy don't work.