I figured that much now and dropped the rule from my postfix config. Still, more joy if delta.chat would come forward more proactively. If I was not in the mood today, I’d stop there, which would be a pitty because now I find the app really well thought out and the design would suit even to fancy ladies…
localhost is sent for privacy reasons. Some servers expose hostname in Recevied header (unless configured to remove it) to all recipients of the outgoing mail, so sending real hostname there is not acceptable. And even then, it is usually not an FQDN.
Sending some FQDN, e.g. delta.chat., could help, but even that exposes unnecessary info about mail client. What do other clients send there?
Yet another idea: Try to find out whether the hostname is an FQDN (like, if it contains dots, try to resolve it as a domain). If it is, send it (or maybe only try it during configure).
Problem: This is quite some work, not sure if it’s worth it.
As mentioned already, I’d rather keep the privacy profile low. Local IPs/host names reveal too much information. Not for the regular home user behind a NAT, but in campuses, corporate networks, aye. With a slight assistance from network admins, you could literally walk to the person who just sent the message and find them still sitting there. Not fun. I’ve seen the change has already been made for [127.0.0.1]. Thank you.