No way to configure on MacOS Mojave
Brought to you by:
mguessan
Porting this from Github https://github.com/mguessan/davmail/issues/44
Steps
╰─➤ brew cask info java 1 ↵
java: 12.0.1,69cfe15208a647278a19ef0990eea691
https://www.oracle.com/technetwork/java/javase/
/usr/local/Caskroom/java/12.0.1,69cfe15208a647278a19ef0990eea691 (64B)
From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/java.rb
==> Name
OpenJDK Java Development Kit
==> Artifacts
jdk-12.0.1.jdk -> /Library/Java/JavaVirtualMachines/openjdk-12.0.1.jdk (Generic Artifact)
The root cause is that Oracle dropped OSX specific classes, see:
http://openjdk.java.net/jeps/272
The quickest workaround is to switch to Java 8. Need to understand how to implement the new Java 9 API
I'm not familiar with Java (only use it for Freeplane) and mostly use homebrew. I'm confused by the versions and types (JRE/JDK,SDK).
I removed the brew for java, installed
jre-8u211-macosx-x64.dmgand freeplane (Java version: 1.8.0_121) and the system prefs (build 1.8.0_211-b12) report 1.8 is being used.However, when I click on DavMail app, its preferences still don't appear.
Oh, I never saw the settings screen popup, but I just saw I have an icon in the menubar, and can access the settings screen there! So far so good!
It looks like Java is working, but I can't successfully authenticate. My organization says Evolution can work with Exchange, and provides this information, but I'm not sure how to translate that into DavMail. I suspect this has to do with 2FA or OAth.
Looks like you have Office365 with external MFA
=> please try O365Interactive mode
=> you may also have to set client id (application id) in DavMail settings and tenant id. You are lucky: your administrators provide both.
In which DAVMail tab do I set O365Interactive mode? I don't see it. (I did check the FAQ.) and if NEU:ApplicationID corresponds to DAVMail:ClientID, what does NEU:TenantID correspond to? Finally, is there a RedirectUri?
If you don't see O365Interactive this means there is an issue with OpenJFX support.
You can test the new O365Manual with latest trunk build on Github, it does not require OpenJFX support.
ApplicationID is indeed clientId
With 5.2.0 tenantid was always "common", with latest trunk you can now set tenantId in DavMail settings.
@mguessan, It seems O365Interactive isn't available neither with JDK8, nor with Open JDK 12. I left a comment about this a few days ago.
I think I installed 5.2.0 trunk, the about says Current version: 5.2.0-2961 . Do I need something more recent?
Last edit: Joseph Reagle 2019-07-12
Latest trunk is 3051, available at:
https://github.com/mguessan/davmail#trunk-builds
I don't see any 3051.
Okay, apparently the URL for 5.2.0 change to track the latest revisions, so I have a version that supports O365Interactive.
Last edit: Joseph Reagle 2019-07-29
I'm not clear if we have to use unencrypted connection to localhost, or if that is just an option. I'd rather have it secured than not.
Encryption for local DavMail deployments is not really mandatory as connections are local.
Anyway, instructions for SSL configuration are available at:
http://davmail.sourceforge.net/sslsetup.html
Within DavMail I saw it said there was a newer version, which I installed, and then the JavaFX problems recur. I find the versioning very confusing, as does the app itself. I'm going to try to download the latest trunk version again.
Sorry for this, Java versioning is a bit of a nightmare since Oracle decided to change release cycle and dropped free support.
Anyway the OSX issue with Java >= 9 is still not fixed even in trunk:
https://sourceforge.net/p/jedit/bugs/4068/
I will probably try ZuluFX to get proper OpenJFX support:
https://www.azul.com/downloads/zulu-community/?&version=java-11-lts&os=macos&architecture=x86-64-bit&package=jre-fx
Will close this one, please check
https://sourceforge.net/p/davmail/bugs/715/
for updates