I'm setting up SMTP email using the web interface (System > General settings > Email server settings) and it provides the option to set an SMTP From Address.
This means that my SMTP server rejects any password recovery emails, since Matomo tries to send it using the default password recovery email address, which the SMTP user isn't authorised to send as.
Perhaps a fix for this would be to change the SMTP From address option in the web interface to update both emails in the config? Or perhaps to add another form field in the web interface to set the two addresses separately?
@mattab why do we have a
login_password_recovery_email_address? I suppose both users would need to have the same password for this to work.
The current Matomo settings interface has fields for SMTP Username (global.ini.php#L985), SMTP password (global.ini.php#L986), and SMTP From address (
noreply_email_address). This setup means one SMTP username and password needs to be able to send as
fyi was made configurable in https://github.com/matomo-org/matomo/issues/527 in 2009.
I suppose there is no particular reason for this and we could simply remove it and use the regular from.
Sounds good to use the regular from :+1: