ユーザ用ツール

サイト用ツール


centos:mail_command

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
centos:mail_command [2014/07/10 02:31] clownclowncentos:mail_command [2025/02/16 13:53] (現在) – 外部編集 127.0.0.1
行 153: 行 153:
 </code> </code>
  
 +===== メール送信時にIPv6の警告がでる =====
 +
 +mailコマンドで送信時に次のような警告が出る。
 +<code>
 +send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
 +send-mail: warning: inet_protocols: configuring for IPv4 support only
 +postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
 +postdrop: warning: inet_protocols: configuring for IPv4 support only
 +</code>
 +プロトコルはIPv4とIPv6が両方とも対応になっているようなので、設定ファイル(/etc/postfix/main.cf)を開き、ipv4 だけにする。
 +<code>
 +# vi /etc/postfix/main.cf
 +</code>
 +<code>
 +#inet_protocols = all
 +inet_protocols = ipv4
 +</code>
 +デーモン再起動。
 +<code>
 +# /etc/init.d/postfix restart
 +</code>
centos/mail_command.1404959464.txt.gz · 最終更新: 2025/02/16 13:50 (外部編集)