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

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


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

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


    • 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 =, is your local IP address
    • :wq! Save and exit
  • restart postfix.
    service postfix restart
  • Updates:
      • If you dont want to use IPv6 on the server, you can simply comment the below line from /etc/hosts

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

13 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
      farhan on July 30, 2019 Reply

      Thanks Working

  • 4
    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.

    • 5
      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.

  • 6
    Bruno Tartaro on May 19, 2019 Reply

    Solved that issue on sendmail simply removing ::1 from /etc/hosts (recommended only when you don’t use IPv6)

  • 7
    stephan frank on July 2, 2019 Reply

    Hallo Jobin,
    i’ve done what Bruno said. Removing the ::1 from /etc/hosts and postfix is working fine. With the command systemctl status postfix you’ll see, that postfix don’t want this entry in /etc/hosts if you aren’t using IPv6.

    Greetings from Germany

  • 8
    breddy on October 17, 2019 Reply

    Thanks. It helped.

  • 9
    sravan on October 18, 2019 Reply

    Its worked by removing ::1 in /etc/hosts entry
    Thanks a ton

  • 10
    Simon Brown on November 8, 2019 Reply

    Worked perfectly Thank you

  • 11
    David V on July 13, 2020 Reply

    This solved my issue, thank you. Should be higher on google searches 🙂

  • 12
    Kaio Gomesq on February 25, 2021 Reply

    Show! Obrigado man!!!

  • 13
    Django Developer on April 5, 2021 Reply

    Thanks, it worked

Leave a Reply

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