On Mon, Feb 24, 2025 at 09:53:24AM -0500, Wietse Venema via Postfix-users wrote:
> > I need some help in interpreting the following postfix log message, > > please (this is showing up all over the log): > > > > `Feb 24 17:46:55 mail postfix/smtpd[77980]: fatal: > > smtpd_peer_hostaddr_to_sockaddr: cannot convert client address/port to > > string: Servname not supported for ai_socktype` > > The getaddrinfo(3) system library function cannot convert a (presumably > numerical IP address and numerical port) for the socket type > SOCK_STREAM into the internal form "struct addrinfo", and returns > the EAI_SERVICE error code. Given the address is from haproxy, perhaps haproxy is returning a host address from a protocol famility (IPv4 or IPv6) that is not enabled in Postfix. We'd then call getaddrinfo() with an address that is not compatible with the protocol family in `hints`, perhaps eliciting a less than clear error. To that end, the OP should post the setting of inet_protocols in main.cf and any overrides in master.cf, as well as some indication of the address family of the problem incoming connections. -- Viktor. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org