On Thu, Jun 06, 2024 at 10:40:20PM -0400, Wietse Venema via Postfix-users wrote:
> > It might be reasonable to infer "mydomain = $myhostname" when the latter > > has two or fewer labels. > > There are top-level domains with more than 2 components. Yes, but we could handle at least the obvious case. > Doing this "correctly" (there can be TLDs with more than 2 components) > would require a domain suffix list (with the registrar portions of > domain names). Sadly, there is no such list. The PSL is for cookie provenance, and is neither complete, nor always well suited to determining administrative boundaries for email. So I don't think it would be reasonable to do PSL integration here. Really all users *should* set mydomain explicitly, but for those who don't, the we can either always drop a label, or do it provided the hostname has at least 3 labels. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org