fatal: parameter inet_interfaces: no local interface found for ::1

11. June 2016 RHEL 4
fatal: parameter inet_interfaces: no local interface found for ::1

Issue

  • You are note able to restart / start postfix and getting the below error.

fatal: parameter inet_interfaces: no local interface found for ::1

Solution

    • Edit the file /etc/postfix/main.cf
      vim /etc/postfix/main.cf
    • search for the line inet_interfaces = all
    • And change it to:
      inet_interfaces = 127.0.0.1, 10.10.11.12 10.10.11.12 is your local IP address
    • :wq! Save and exit
  • restart postfix.
    service postfix restart

Please Comment and share if this post was able to fix your issue 🙂


4 thoughts on “fatal: parameter inet_interfaces: no local interface found for ::1”

  • 1
    Igor Belyaev on September 20, 2018 Reply

    Thank you very mach! It’s help me to quickly resolve this problem.
    But I made next changes:
    ….
    inet_interfaces = localhost
    inet_protocols = ipv4

    • 2
      Jobin Joseph on September 21, 2018 Reply

      It looks like you just want to use postfix from localhost only. Thanks a lot Igor for sharing your workaround as comment.

  • 3
    Mike on March 22, 2019 Reply

    all weel said, but email is looking for local host, it could be that localhost is not defined in the local host then it goes to dns looking for the local host , and if localhost is defined to IP then you will get this error.

    • 4
      Jobin Joseph on April 29, 2019 Reply

      well… that also could be a reason in some scenarios.
      But if you are getting the error as in the title, ie ::1 means loopback IP in IPv6, and this could be the resolution for most of the users.

Leave a Reply

Your email address will not be published. Required fields are marked *