https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38338
--- Comment #95 from David Cook <[email protected]> --- (In reply to David Cook from comment #94) > (In reply to David Cook from comment #93) > > I'm pretty content with the simple-sasl-xoauth2 plugin now, so I've posted > > that on Github and added some extensive documentation on how to test it > > using Net::SMTP (with Dovecot and Keycloak) or Postfix (with Microsoft). > > > > https://github.com/minusdavid/simple-sasl-xoauth2/wiki > > My next hobby project is to create a token service, which I'll present to > Postfix using a Unix socket. Quick proof of concept put together in about 130 lines of Perl using client credentials grant against Keycloak with Postfix relaying via the Dovecot submission service set up to use XOAUTH2. I actually want to write this in Golang and either have it in a "from scratch" Docker container or just as its own static linked binary. Could be interesting to write it in Rust even. There's infinite ways of implementing this part. > As for Koha... probably some night this week I'll have a play with the Perl. > > My plan is to make the lightest change possible which can be easily > backported. Yeah I think the way will be to add something like a "smtp_password_callback" hook and all plugins implementing it can be iterated through until one provides a password. Like with Postfix, there's so many different ways a person could implement this. Some of us are already talking about moving the current smtp_servers username and password, so it's the right time to be looking at the handling of SMTP credentials. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
