Hi,
I'm running the FreeScout pod and outgoing mail fails with certain SMTP relays. The pod appears to announce itself with a literal underscore in the SMTP handshake, which some servers reject as an invalid hostname.
Log from FreeScout's Send Test Email:
++ Starting Swift_SmtpTransport
<< 220 smtp1.lhr.stackcp.net ESMTP Wed, 05 Aug 2026 20:27:59 +0100
>> EHLO _
<< 501 Syntactically invalid EHLO argument(s)
>> HELO _
<< 501 Syntactically invalid HELO argument(s)
It retries with HELO and fails identically, so no mail is sent through that relay. Authentication is never attempted.
Why I think this is environment-specific
I deployed FreeScout version via Zenith Hosting, with identical SMTP settings and the same relay, and test emails send successfully. On that deployment the container announces a valid hostname rather than an underscore.
What I'd like to know
- Can the web server's
server_name be set to a real hostname for my pod, rather than the nginx catch-all _?
- Is there an environment variable I can set myself to control this?
- If not, would you consider changing it in the FreeScout image, since it affects any user whose mail provider validates EHLO?
I have no shell access, so I can't change this myself, and the nginx config isn't on the persistent volume.
Happy to provide further logs or test against other relays if that helps.
Thanks
Hi,
I'm running the FreeScout pod and outgoing mail fails with certain SMTP relays. The pod appears to announce itself with a literal underscore in the SMTP handshake, which some servers reject as an invalid hostname.
Log from FreeScout's Send Test Email:
It retries with HELO and fails identically, so no mail is sent through that relay. Authentication is never attempted.
Why I think this is environment-specific
I deployed FreeScout version via Zenith Hosting, with identical SMTP settings and the same relay, and test emails send successfully. On that deployment the container announces a valid hostname rather than an underscore.
What I'd like to know
server_namebe set to a real hostname for my pod, rather than the nginx catch-all_?I have no shell access, so I can't change this myself, and the nginx config isn't on the persistent volume.
Happy to provide further logs or test against other relays if that helps.
Thanks