Hello Wilfred,
On Wednesday April 08 2026 13:15, you wrote to me:
MvdV>> I tried changing the short computer name into fido.vlist.eu.
MvdV>> Not accepted. Then I left the short computer name as "Fido" and
MvdV>> entered "vlist.eu" as the DNS extension. That was accepted and
MvdV>> the full computer name is now "Fido.vlist.eu". *1)
MvdV>> I tried sending the test message again to Tommi's SMTP server
MvdV>> but got the same error. So apparently the short name is still
MvdV>> used is the HELO.
What does the hostname command show in this situation?
=== quote ===
D:\fido\FMAIL>hostname
Fido
D:\fido\FMAIL>
=== end quote ===
MvdV>> Two suggestions:
MvdV>> 1) Find a "full name" equivalent for gethostname().
MvdV>> getfullhost?
gethostname() is indeed probably not the best way to get a fqdn. But
I'll have to investigate if there is a better function to get this
from the OS.
In Linux getfullname() seems to do the trick according to AI. Bit it gave no definite solution for Windows,
MvdV>> 2) Take the part after the '@' from the e-mail adres configured
MvdV>> in Fmail and append that to the name recovered by gethostname()
MvdV>> for use in the HELO.
Also not perfect, because the sender email address, doesn't
necessarily contain the hostname of the sending machine.
Indeed. It will work in my case, but for others it may not. If I understand correctly the given FQDN should return an IP address of the sender. I suppose it is still better than than "fidonet.org" which will resolve for no one. So..
The only propper sollution is to make this a configuration item...
No argument there...
MvdV>> *1) I already found some undesirable side effects of this
MvdV>> change, but that's another story.
...
For one, fido.vlist.eu now returns the the IPv6 link local address instead of the globally routable address. So unless I configure my binkd to also listen on link local addresses, I can not connect 280/5555 from my testnode 280/5556 that runs on the same machine.
Cheers, Michiel
--- GoldED+/W32-MSVC 1.1.5-b20170303
* Origin:
http://www.vlist.eu (2:280/5555)