Open 0FiRE0 opened 1 year ago
Hi @0FiRE0
Thanks for the report. The library we are using (PHPMailer) actually allows to set/overwrite the hostname used for such requests.
Nevertheless the default should be the current hostname. localhost.localdomain
should only be used if PHP fails to detect a valid host name.
Software Info: Matomo v4.14.2 and also v4.13.x Platform: Docker
I have Matomo being deployed in a docker container, and I have another container for the email server. There is an issue after configuring the email settings in Matomo which is preventing it from sending any emails.
The issue is in the "EHLO" command to the email server, where it specifies a value of
<localhost.localdomain>
in the domain rather than the actual domain name (E.g.<mail.domain.com>
). Noting that when inquiring about the email server usingnslookup
command it works fine and resolves the public IP Address of it.I couldn't find a way to see and configure this value to fix it.
Below is a screenshot from the logs: