geopython / GeoHealthCheck

Service Status and QoS Checker for OGC Web Services
https://geohealthcheck.org
MIT License
84 stars 71 forks source link

test mailserver configuration #445

Open pvgenuchten opened 1 year ago

pvgenuchten commented 1 year ago

What is the best way to test if the mailserver configuration is correct? A suggestion could be to add a button to the web ui to send a test mail?

For the docker configuration, i notice there is no email configuration field for defaultFromEmail, which would typically be set as noreply@domain.org (our relay server is setup that it only allows to send with that from-email).

justb4 commented 1 year ago

Hmm, yes, a button is a bit overkill IMO, and only meant for the admin user. Ok, maybe only show in that case. For now, a bit unusual: go to login screen and try 'reset password'. If all is well, you should receive an email with the tokenized reset link (that you don't need to execute).

defaultFromEmail: indeed, think we take the SMTP username, which is usually an email address. Can you open an issue?

pvgenuchten commented 1 year ago

Thanx just! That it useful (add to docs?)