How to use my calendar from davmail in Emacs - emacs

In my company, we use exchange server, so I setup a davmail server to act as a proxy. Now I can use mu4e in emacs to get/write emails through smtp and imap protocol.
But I want to see the calendar in emacs. davmail supports Caldav, but I am new to both emacs calendar and caldav.
Any idea?

There is org-caldav but I haven't used it personally.
I typically keep around Thunderbird instead of other solutions to ensure that all the calendar updates are synced properly.
I've tried looking up old versions of the standalone calendar application Sunbird, but I run into library issues that I didn't have time to solve under Linux.
I also don't know how convenient/performant caldav would be if you've got a huge number of meetings.
At this time my recommendation would be to rely on an external application.

Related

Thunderbird tasks api

Is there a way to hook into the tasks in Thunderbird as you can do with other parts of the application by addon/webextension?
As far, as I understand it, tasks are part of the calender, which, in return, belongs to the lightning addon - is that, why tasks are not covered by the Thunderbird developer documentation?
If this approach is not possible, here is, what I'm trying to achieve: I want to sync my todoist tasks with my Thunderbird tasks. Todoist only natively offers to sync those with due date but these are imported as calendar events which is not useful for me since many tasks don't have a due date.
The only extension capable of syncing is the one for Google tasks, yet, I wasn't able to get my hands on its source code to maybe get an idea on how they've done it.

Moving from Thunderbird to emacs mu4e

I've used mu4e previously and really liked it, have had a new laptop for about a year during which I started with the default thunderbird application, and never got around to setting up mail in emacs. I'd like to rectify that.
Using Thunderbird, I have several (around 20) accounts (google, and non-), calendar (lightning), lots of attachments, and chat logs.
My question is:
What are all the things I should back up, migrate, and consider in moving from Thunderbird to mu4e with offlineimap so as not to drop anything thunderbird has done for me? Especially:
Are there ways to safely reduce duplication, such as a way to point my emacs email setup at the mailbox directory thunderbird uses?
I have some email accounts that I no longer have live access to, but have as backups. How can I transfer these?
(I'm running on ubuntu, if that helps.)
Thunderbird uses a modified mbox format to store its mails. Using the same mail in mu4e that was downloaded by thunderbird, will be difficult as it will require on-going conversion between modified mbox of Thunderbird and maildir of mu4e. I haven't come across any good tool for converting maildir to modified mbox of Thunderbird, last I checked 2 years ago.
Separately downloading mail for mu4e (offlineimap might work for this, but I like mbsync better) is safer IMHO, though it does cause duplicates like you say.
The backup mail you have is the easiest to deal with. One time conversion from Thunderbird's mbox to maildir works pretty well with https://www.gerg.ca/hacks/mb2md/.

How does an IMAP client choose names to create/use for special folders, because I have 3 "Sent" folders in Outlook

Outlook, IOS and Android clients, as well as the built-in Web-Interface client of this Installation all seem to use different IMAP folder naming schemes.
The current bulk of users on that system use Outlook 2010. As well as the above, I also need to support WP, Thunderbird(Cross-Platform).
Some clients have easy ways to change the folder assignment for (sometimes only some of) the special folders, some I haven't found easy ways yet, and for some I'm unsure of even the possibility.
Outlook here is a special case, as it creates localized folder names (.&AMk-l&AOk-ments envoy&AOk-s means .Éléments envoyés) server-side.
IOS (i think) also does this, but has options to change the foldernames used)
This leads to folder mess in Outlook, if the users have used several mailbox access clients.
Is there some kind of Server-Protocol, or Option I could enable on the client or server (dovecot here) to force usage of "International, short names" server-side (Sent, Trash, Drafts, Junk, Inbox, Infected), and let the client bother with translation to the users regional settings? (Like the "C:\Users\ folder in windows already does it).
Or any other way to force Outlook to not create/use non-english folders?
EDIT: Outlook<2013 has options to move some of the imap folders. Later version support some subset of RFC6154 (XLIST).
But I still have not found, how to change the outlook defaults (policy, reg-key, whatever) for Outlook<2013 and Servers without XLIST.
There is no way in Outlook 2013+ to change the IMAP folders except using RFC 6154 on the server. On Servers without XLIST Outlook 2013 seems to do some "guessing" which often fails. The documentation on how to do this in dovecot is here: http://wiki.dovecot.org/MailboxSettings
This will not help you with existing clients though, since outlook checks this only on the initial connection. You might try outlook.exe /resetfoldernames, but probably removing and re-adding the account is necessary for this to take effect.

Is it possible to get a users timezone for an application hosted by Citrix XenApp?

I have a VB6 application hosted to users around the world through Citrix XenApp. I'm using the windows GetTimeZoneInformation call to find the time zone of the user in order to adjust some dates shown in the app (the dates come to the app in GMT). Unfortunately it looks like GetTimeZoneInformation gets the timezone of the Citrix server rather than the user running the application. Is there a Citrix based solution for this or am I going to need to change my implementation? This seems like a pretty big hole for Citrix hosted apps as I imagine you'd have the same problem with other localization settings.
What you ask should happen automatically: that applications do not get the server's but the client's time zone when asking Windows for the time zone. Here is a good description of how this works (PortICA, by the way, was a kind of early code name for XenDesktop).
If it does not work: client time zone support can be disabled, or any number of other things may have gone wrong. Check Citrix KB article CTX303498 for possible solutions.

Apple iCal's "Delegation" tab -- disabled checkboxes?

I am trying to access a CalDAV account in iCal and everything works fine except for the Delegation tab. I can see the account(s) I have access to (including the correct read/write properties), but the checkboxes are disabled and the calendars cannot be selected. Has anyone seen this before & know what the cause is?
This is a custom CalDAV implementation, so it is likely due to a disconnect between what iCal expects and what our server is sending -- but there are no error/warning messages in the console to indicate what the problem might be.
Any advice would be appreciated.
iCal queries the permissions and methods available on the server. To query the permissions on a collection resource you will need to have the DAV::read-current-user-privilege-set permission. Assuming iCal can read the permissions it will be looking for the DAV::read permission for reading and the DAV::bind, DAV::unbind and DAV::write permissions to indicate the ability to write.
The best way to debug this is probably to read RFC3744 about half a dozen times, interspersed with using iCal against a working server and sniffing the TCP communication as it does it. A good way is to use some kind of man-in-the-middle proxy so you can sniff the communication with (e.g.) Mobile Me or iCloud.
In my limited experience, this happens when the account used for sharing is functional (not personal) in Microsoft Exchange Server 2010. An example, where two of three are functional:
I do use various CalDAV implementations but have never encountered the same limitation, so this may be not a good answer. Also Exchange Web Services (EWS) for calendaring and delegation are probably not comparable to CalDAV. Still, it's food for thought.
The Debug menu of iCal 5.x offers CalDAV logging options.
To enable that menu, you could use the Secrets preference pane.