Postfix Errors on n...
 
Notifications
Clear all

Postfix Errors on new 26 install

2 Posts
2 Users
0 Reactions
9 Views
(@itsupport)
New Member
Joined: 14 hours ago
Posts: 1
Topic starter  

Has anyone encountered this error showing in the logs a few times every second.

2026-07-23T05:10:50.995126+00:00 mail postfix/postqueue[850008]: fatal: inet_addr_local[getifaddrs]: getifaddrs: Address family not supported by protocol
2026-07-23T05:10:51.003555+00:00 mail postfix/postqueue[850011]: fatal: inet_addr_local[getifaddrs]: getifaddrs: Address family not supported by protocol

This is a brand new install on Ubuntu Server 24. It does not appear to be causing any problems yet, but I would prefer no fatal errors in the logs by default.


   
Quote
(@sharif)
Honorable Member Admin
Joined: 4 years ago
Posts: 966
 

@itsupport

Hi,

I noticed this too. From my initial understanding, these logs come from the stats service (carbonio-stats), not from mail delivery. On 26.6.0, carbonio-stats blocks something postqueue needs to read the network interfaces, so it keeps failing and retrying. 

Could you please try this:

  • Create /etc/systemd/system/carbonio-stats.service.d/10-netlink.conf with:
    [Service]
    RestrictAddressFamilies=
    RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK
    SupplementaryGroups=postdrop
  • systemctl daemon-reload
  • systemctl restart carbonio-stats.service

Meanwhile, I will try to dig deeper and discuss this issue with the devs.

Thanks!


   
ReplyQuote