postfix: fatal: inet_addr_local[getifaddrs]: getifaddrs: Cannot allocate memory

We have two identical systems, and since last week one of them is totally crap-tastic. Postfix is flakey, and I cannot get it running properly. Here is the problem today:

Error while checking current Postfix configuration. Please manually fix Postfix configuration.

postfix: fatal: inet_addr_local[getifaddrs]: getifaddrs: Cannot allocate memory

Manually edit the Postfix configuration file.

Why is this happening? Is there any possibility to find out how this should be fixed?

The issue here is producing the same error that you described in this other post:

https://www.virtualmin.com/node/20269

You appear to be dealing with a memory issue of some sort. We'll take a look at that in the other thread that you started, and hopefully determine what's going on there!

-Eric