SMTP EHLO hostname

Gergely Barta5 years ago

Hi,

I'm running Traccar 4.11 in docker. I set up the email parameters in traccar.xml, and tried to send a test email from my user profile.
I got the following error in the Traccar WebGUI:

504 5.5.2 <a2416e2148ce>: Helo command rejected: need fully-qualified hostname - SMTPAddressFailedException (... < MailManager:143 < *:92 < NotificatorMail:34 < NotificationResource:63 < ...)

I captured the communication between the Traccar server and the mail server and figured out that traccar sends the following EHLO:
EHLO ede78f5fab54
This is the ID of my Traccar docker container. Unfortunatelly my mail provider accepts only FQDNs as EHLO strings.

Is there any parameter / config file line where I can change the hostname of the running Traccar container? Or is there any config line where I can set the EHLO string for the outgoing mailsender function?

Thanks in advance!