we’re facing issues on sending emails to recipient domains that contains valid chars (none ascii). Kumomta reports STARTTLS: xxx is not a valid DNS name
examples:
/opt/kumomta/sbin/tls-probe probe mail.hausmeister-dülmen.de:25
Error: failed to connect to mail.hausmeister-dülmen.de:25
Caused by:
failed to lookup address information: Name or service not known
dig +short mail.hausmeister-dülmen.de
178.254.4.101
dig +short mail.stüßer.de
80.237.138.5
/opt/kumomta/sbin/tls-probe probe mail.stüßer.de:25
Error: failed to connect to mail.stüßer.de:25
Caused by:
failed to lookup address information: Name or service not known
I’m running kumomta 2024.12.13-1037b1a1
resolv.conf is pointing to a local installed dns server, which is used by dig.
kumomta is using the default dns settings.
It is not valid for an SMTP client to use UTF-8 without properly implementing this RFC and explicitly indicating that they have UTF-8 content.
This particular RFC is especially burdensome because it requires that 8BITMIME also be implemented. That’s a PITA because that RFC requires that the message be re-written (invalidating DKIM and other signatures) if the downstream system does not also implement both SMTPUTF8 and 8BITMIME.
There’s a decent amount of work involved in supporting this sort of just-in-time message re-writing, and that’s ignoring how it would invalidate signatures, which is highly undesirable.
It is not impossible, but it is difficult, rare, and none of our supported customers have asked for it. KumoMTA has delivered over 100Billion messages without needing it yet.
I can write up a feature request under “Needs Funding” and see if we can work up an estimated development cost.
I suspect that you won’t be happy to see the cost to fund a complete implementation of 8BITMIME and SMTPUTF8 because the surface area of the two features combined is fairly large… and I suspect that your specific use case may not need its full extent.
It would be helpful if you could expand on what your scenario and use case actually are, because the original report doesn’t cover many details about the actual message flow and addressing.
you’ll have a partial SMTPUTF8 implementation that won’t try to downconvert either the envelope or the data during send, but that will try to use those extensions if it realizes that you have 8bit data.