Public bug reported: The postfix package distributes a main.cf configuration file that refers to localhost in at least one of the parameter settings. Instead, it should use localhost's IP address (127.0.0.1), because postfix might not be able to resolve "localhost" even though it is defined in /etc/hosts. I had this problem on my server, I gave up figuring out how to solve the problem, and finally edited the config file and the problem went away. I suppose it has something to do with nsswitch.conf, and whether localhost is resolved by the nameserver, etc. etc. But I could not figure out what the problem was.
Nevertheless, it is a bug, since postfix' configuration ought to be independent of the particular setup of a server. Using 127.0.0.1 is bulletproof. For example: content_filter = smtp-amavis:[localhost]:10024 should be: content_filter = smtp-amavis:[127.0.0.1]:10024 ** Affects: postfix (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/948320 Title: main.cf should not refer to localhost To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/948320/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs