mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
573 stars 84 forks source link

read-only CalDav access #146

Open equaeghe opened 3 years ago

equaeghe commented 3 years ago

At work, we use Exchange/Outlook. To get a merged view of my work and home calendars, I want to access my work calendar into my CalDav client (which is on-line). The administrators have not allowed ics export of calendars. So I accessed the calendar using a DavMail instance on a VPS. That worked fine until I started spamming colleagues with empty messages after they changed some meeting. It may be due to DavMail or my CalDav application. I do not know, it is very hard to diagnose, but I do know that DavMail is part of the chain leading up to the sending of the messages.

An easy fix would be to have DavMail access the calendaring information read-only an provide read-only CalDav access. This does not seem possible, currently. Would it be possible to add such a feature?

helmut72 commented 3 years ago

Same behavior for me. Looks like there was something changed on client app or O365 side. I use iOS and macOS default calendar app, including notifications.

I never accept appointments from this apps. I just want to have work and private calendar together. Work calendar can be read-only.

helmut72 commented 3 years ago

I think I have fixed it for me. I've looked into the log files of my reverse proxy and sent folder of my Outlook. There was always the PUT command involved from my CalDAV client. After using this rewrite rule (Apache 2.4):

    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} !^PUT$
    RewriteRule ^/(.*)$ http://ipaddress:port/$1 [P]

... instead of a simple ProxyPass / http://ipaddress:port/, it looks like the behavior is fixed in my short test.

aschaap commented 3 years ago

Related issues: