Menu

#712 No way to configure on MacOS Mojave

v5.1.0
closed-fixed
nobody
None
5
2019-08-12
2019-06-26
No

Porting this from Github https://github.com/mguessan/davmail/issues/44

Steps

  1. Downloaded DavMail-MacOSX-5.2.0-2961.app.zip (also tried with DavMail-MacOSX-5.2.0-trunk.app.zip).
  2. Unzip, click on DavMail.ap, configure 'Security & Privacy' to launch from unknown developer.
  3. DavMail launches and appears in menu bar, but there's no configuration window. I've looked for the configuration file, to edit it manually, but I'm not sure where that is located.

╰─➤ 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)

Discussion

  • Mickael Guessant

    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

     
  • Joseph Reagle

    Joseph Reagle - 2019-06-28

    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.dmg and 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.

     
  • Joseph Reagle

    Joseph Reagle - 2019-06-28

    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!

     
  • Joseph Reagle

    Joseph Reagle - 2019-07-01

    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.

     
  • Mickael Guessant

    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.

     
  • Joseph Reagle

    Joseph Reagle - 2019-07-04

    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?

     
  • Mickael Guessant

    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.

     
    • Marco Brandizi

      Marco Brandizi - 2019-07-11

      @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.

       
    • Joseph Reagle

      Joseph Reagle - 2019-07-12

      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
  • Joseph Reagle

    Joseph Reagle - 2019-07-29

    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
  • Joseph Reagle

    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.

     
  • Mickael Guessant

    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

     
  • Joseph Reagle

    Joseph Reagle - 2019-08-05

    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.

     
  • Mickael Guessant

    • status: open --> closed-fixed
     
  • Mickael Guessant

    Will close this one, please check
    https://sourceforge.net/p/davmail/bugs/715/
    for updates

     

Log in to post a comment.

MongoDB Logo MongoDB