You can get a Log4j-patched version of the server here. This README is incredibly useful, however it's missing a couple points I found out.
At least for me, they don't get saved. You can instead create the config files visible in the WebUI in the root directory of the server (where you start the java process).
So, create a server.properties
, mail.properties
, etc file for each page and configure them there. Just like hosting a Minecraft server, really ;)\
In fact, today you need an app password for GMail, and it might not work properly even then.
There are more settings you can use in mail.properties
than it's default content. You can see the full list of supported settings here.
In mail.properties
add an extra ssl.enable line, and specify the port (for example, 465) like so:
mail.smtp.auth=true
mail.smtp.ssl.enable=true
This is my specific usecase, so I will share an example that worked for me:
mail.smtp.username[email protected]
mail.smtp.port=465
mail.smtp.password=YOUR_PASSWORD
mail.smtp.auth=true
mail.smtp.ssl.enable=true
mail.smtp.timeout=6000
mail.smtp.host=smtp.hostinger.com
mail.smtp.connectiontimeout=3000