LoginSignup
4
3

More than 5 years have passed since last update.

CentOSでIPv6を無効にするとPostfixが動作しない

Last updated at Posted at 2017-09-13

概要

CentOS7でIPv6を無効化すると、メール送信がエラーとなる。

send-mail: fatal: parameter inet_interfaces: no local interface found for ::1

対処法

::1はIPv6のlocalhostのため、IPv6絡み。

hostsの該当行をコメントアウトすれば解決する

vi /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

サービス再起動も忘れずに

systemctl restart postfix.service

参考:CentOSでIPv6 を無効にするとメールが送れなくなった - Qiita

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3