Hi,
I have a fedora38 server with postfix-3.7.9 (although this problem has existed for a long time) that fails to start because I believe the server has multiple interfaces.
ifconfig shows just the primary ethernet interface, but "ip addr" shows the rest. There are five total interfaces in this multi-instance postfix config.
Here are the related boot messages from journalctl -xb0:
postfix[1360]: egrep: warning: egrep is obsolescent; using grep -E
postfix[1371]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.197
postfix[1374]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.198
postfix[1375]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.199
postfix[1376]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.200
postfix[1379]: fatal: parameter inet_interfaces: no local interface found for 130.250.NNN.201
Each of the IPs correspond to a different postfix instance.
After the system boots, I can start postfix successfully with just "service postfix start".
Is it perhaps trying to start before networking is available? This would be odd because the problem has persisted for quite a while, and I would have thought something like that would have been fixed long ago.
Perhaps related to the difference between ifconfig and ip? Where is the egrep coming from? I don't see it in the systemd file:
# ls -l /etc/systemd/system/multi-user.target.wants/postfix.service
lrwxrwxrwx 1 root root 39 Jan 24 2023 /etc/systemd/system/multi-user.target.wants/postfix.service -> /usr/lib/systemd/system/postfix.service
lrwxrwxrwx 1 root root 39 Jan 24 2023 /etc/systemd/system/multi-user.target.wants/postfix.service -> /usr/lib/systemd/system/postfix.service
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue