DavMail 7.0.0: Microsoft Graph Integration & Enhanced Features
Explore the key updates and features in DavMail 7.0.0, focusing on Microsoft Graph integration and protocol improvements.
DavMail 7.0.0 Overview
DavMail 7.0.0 focuses primarily on Microsoft Graph integration as its core functionality. For users seeking to transition away from Outlook while maintaining access to Exchange mailboxes, DavMail serves as a Java-based gateway that translates standard protocols like IMAP, SMTP, CalDAV, CardDAV, and LDAP into formats compatible with Exchange and Office 365.
Key Features and Improvements
Microsoft Graph Integration
The project’s documentation highlights that this version eliminates the davmail.caldavImpersonate configuration option, enables a new synchronization method by default, requires additional Microsoft permissions, and mandates a fresh authentication process when switching from Exchange Web Services (EWS) to Graph. EWS, Microsoft’s legacy mailbox interface, is being phased out in favor of the newer Graph API.
Folder Delta Synchronization
The primary enhancement in this release involves folder delta synchronization. Instead of repeatedly retrieving entire folder contents during client checks, DavMail now requests only the changes since the last interaction while maintaining a local cache of folder data. This feature, previously available as an opt-in setting under davmail.graph.deltaSync, is now enabled by default.
Rate-Limiting and Header Handling
The update also introduces rate-limiting mechanisms to handle Microsoft’s throttling policies and improved handling of malformed Retry-After headers, which dictate client wait times after server requests.
Technical Enhancements
Message Attribute Preservation
Technical improvements include preserving original message attributes such as dates, headers, threading, and read status when messages are appended via IMAP.
Calendar and Contact Improvements
Meeting responses now support targeting specific instances of recurring events, and distribution lists are reintroduced as contact groups for clients. However, Thunderbird users will notice that distribution lists are disabled, as the project explicitly states this client does not yet support the feature.
New Configuration Options
A new davmail.caldavReadonly=true mode allows calendar reading without write access, and the software now terminates meeting responses if validation checks fail. Users upgrading to this version should note that the davmail.caldavImpersonate setting has been removed. DavMail now autonomously impersonates shared mailboxes when sending meeting responses from shared calendars.
Permissions and Compatibility
Microsoft Permissions
Graph users must ensure the Calendars.ReadWrite.Shared scope is granted, as missing Mail.ReadWrite permissions will trigger immediate token validation failures. Administrators managing tenant-level app permission restrictions should verify approval for the updated scope.
Additional Updates
Additional updates include enhanced handling of malformed server responses, improved compatibility with IMAP clients, and refined synchronization logic for calendar and contact data.
Conclusion
The release underscores the project’s shift toward modern Microsoft APIs while maintaining backward compatibility with legacy systems. The update addresses specific technical challenges such as throttling management, header parsing, and protocol translation, ensuring smoother operation for enterprise environments. Users are advised to review configuration changes and permissions requirements before deployment.
