Authentication with Keycloak for ZoneMTA. Install this to performs SMTP authentication with Keycloak token
Add this as a dependency for your ZoneMTA app
npm install @mindbaz/zonemta-auth-keycloak-token --save
Add a configuration entry in the "plugins" section of your ZoneMTA app
Example here.
First enable plugin :
# auth-keycloak-token.toml
["modules/@mindbaz/zonemta-auth-keycloak-token"]
enabled="receiver"
interfaces=["feeder"]
Then set keycloak configuration for this plugin :
keycloak_url="http://example.org:8080"
The GNU General Public License 3 (details)