DavMail will let you get rid of Outlook! It's a POP/IMAP/SMTP/Caldav/Carddav/LDAP exchange gateway allowing users to use any mail/calendar client (e.g., Thunderbird with Lightning or Apple iCal) with an Exchange server, even from the Internet or behind a firewall through Outlook Web Access. DavMail now includes an LDAP gateway to Exchange global address book and user personal contacts to allow recipient address completion in a mail-compose window and full calendar support with attendees' free/busy display. DavMail also supports the CardDav protocol to sync address books. This new feature is sponsored by French Defense / DGA through project Trustedbird. The main goal of DavMail is to provide standards-compliant protocols in front of proprietary Exchange. This means LDAP for global address book, SMTP to send messages, IMAP to browse messages on the server in any folder, POP to retrieve inbox messages only, Caldav for calendar support and CardDav for personal contacts sync. Thus any standards-compliant client can be used with Microsoft Exchange.
What’s new in version 5.5.0
Version 5.5.0:
This release contains a lot of bugfixes, enhancements and some user contributions from Github Most activity is related to HttpClient 4 refactoring, this will probably be the latest version based in HttpClient 3 Minimum Java version is now 8, also dropped Growl support on MacOS Notable changes for end users are Oauth token persistence to avoid frequent O365 authentications and OIDC support for Personal outlook accounts Known issues: some users reported regressions with form authentication, please report such regressions with log files
IMAP:
Catch non IOException errors in FolderLoadThread
Fix https://github.com/mguessan/davmail/pull/91 Allow user name to be specified as user@domain.com in addition to domainuser to access shared mailbox
Unquote CHARSET in IMAP search
Cleanup test cases
Documentation:
Describe new Office 365 authentication modes
Remove deprecated enableEWS reference
Document new connection modes in template davmail.properties
Add all time downloads badge
Push sonarcloud badges
Enhancements:
Apply xml transformer settings recommended by Sonar
Dos2unix template davmail.properties file
Prepare migration to https://davmail.sourceforge.io
Cleanup from audit
Latest edge user agent does not work, use Outlook 2013 instead
Convert HTTP code to Java 8
Cleanup from audit
Fix sonar detected vulnerability
Update to Java 8 and code cleanup
Comment HttpURLConnectionWrapper
Fix regression in AbstractServer
Remove unused label
Cleanup from audit at Java 8 language level
Security:
Enable TLSv1.1 and TLSv1.2
HttpClient 4:
HttpClient is not shared between clients, do not track connection state to enable NTLM connection pooling
Set default connection per route to 5
Refactor Exchange 2007 test cases
Prepare switch, create a temporary HC4WebDav mode
ExchangeSession cleanup
Unit test cleanup
Make ExchangeSession independent of HttpClient implementation
Remove reference to old HttpStatus in HttpClientAdapter
More HC4ExchangeFormAuthenticator refactoring and fixes
Test form authentication failure
More DavExchangeSession refactoring
More form authenticator fixes
Create ResponseWrapper interface for PostRequest and GetRequest
New executeFollowRedirect implementation and get user agent from settings
Cleanup from audit and fix regression, need to follow redirect after OWA authentication
More authentication test case
Implement single thread connection evictor
Improve PostRequest and RestRequest
Implement executePostRequest with test case
New GetRequest implementation with test case
More request refactoring
Refactor RestRequest to use ResponseHandler mode only
Refactor TestHttpClientAdapter
Improve RestRequest
Remove old HttpException and move to HttpResponseException
Switch to HttpGet
Add buildHttpException to HttpClientAdapter
Cleanup from audit
Keep statusLine in request
Cleanup to finalize migration
Convert encodeAndFixUrl
Remove old HttpStatus dependency
Remove HttpException dependency
Convert Head and Post methods
Convert GetMethod to HttpGet
Convert remaining http client 3 methods
Implement create/delete folder
Implement Exchange WebDav search request
Fix initial uri in HttpClientAdapter
Convert internalGetFolder
Refactor TestCaldavHttpClient4
More test cases on session creation
Convert getWellKnownFolders, first working version of session creation
Convert checkPublicFolder
Get httpClientAdapter from HC4ExchangeFormAuthenticator
Main test case for HC4DavExchangeSession
Convert getEmailAndAliasFromOptions
Convert getMailpathFromWelcomePage
Baseline DavExchangeSession for HttpClient 4 migration
Improve HttpClientAdapter, enable kerberos support according to setting
Create a new davmail.enableOidc setting tp switch to new v2.0 OIDC compliant endpoint https://docs.microsoft.com/en-us/azure/active-directory/develop/azure-ad-endpoint-comparison
Prepare OIDC support, add v2.0 url in interactive authenticator
Prepare OIDC support, decode id_token
Enable davmail.oauth.persistToken by default
DAV:
MOVE returns SC_CONFLICT on missing target folder
Update to Java 8
SMTP:
Improve error message handling
Fix smtp test cases
LDAP:
Clean test case
Fix dn authentication
Ber code cleanup from audit
Update LdapConnection to Java 8
Make parseIntWithTag protected to call it from LdapConnection
Use imported Ber implementation instead of com.sun.jndi.ldap
Import Ber implementation from OpenJDK to avoid compilation warnings