Evening all,

Can confirm I now have working email to ticket via Office 365 and OAuth2!

Useful links:

Email OAuth 2.0 Proxy - Transparent OAuth 2.0 for Basic Auth IMAP to Exchange - YouTube

https://github.com/lakelse/videos/tre...

I have found that the scripts that are used here do exist in the form of a docker container (here) but was unsuccessful at getting them to work for whatever reason.

I'll hopefully get this set up in production sometime next week and see how I get on with it 😃

4 days later

Just wondering if anyone has had any luck getting this to work or have step by step work around?

Thanks,

I can try to do a better writeup tomorrow if it is of use? Alternatively I'm happy to hop on a discord call or something and run through how I have got it working 😃

As long as you have a windows machine on your network spare to run the proxy on, the most of the information you need is in the documentations I have specified.

Let me know if there's anything I can do to help!

    @Josh I would appreciate a short write up if you find some spare time, just for future reference for others.

    Obviously the final goal would be full oAuth support but I can't give a definitive timeline when that will happen. It's unlikely to be a priority for Johnny as he's one of the few brave souls left in the world running his own mail servers.

    9 days later
    10 days later

    My current work around for now is I use a generic Gmail account that's setup in IT Flow. It uses app password for authentication. Then I have my company email account forward to the Gmail account works good for now. Don't know how it will fare once we go into live testing, but well see.

      Josh You're using a spare Windows machine? I will have to try that. I've been trying to set it up on Linux not had much success.

      • Josh replied to this.
        6 days later

        brentc I am using a windows PC with docker so had the ability to install it on there. I have had zero luck working headlessly for some reason on both Linux or Windows.

        Apologies for not sorting a writeup on this sooner - i'll try to get around to it this weekend as I have been extremely busy!

          Josh No apologies needed. I know how it is, been covered up myself. Appreciate your response.

          22 days later

          brentc Do you get the correct customer name in the from field?

          Josh Hi Josh, sorry to be that guy, but did you get a chance to do that write up? I’ve been banging my head trying to figure this out lol.

          Anyways appreciate any help in advance :-)

          5 months later
          8 months later

          If I understand correctly, ITFlow uses PHPMailer for email connections, as noted in the documentation here: ITFlow Documentation.

          If that's the case, it seems the PHPMailer project supports modern authentication. You can check this out in the documentation: PHPMailer OAuth Support.

          If setting this up is straightforward, I think you should give it another shot! Implementing it could be a significant help to many people here.

          ♥

            Bigbug

            PHP Mailer is for SMTP, not IMAP. We can do OAuth with SMTP, but it's not required (yet).